Skip to content

fix(js): ensure js library creation respects skipFormat#28831

Merged
jaysoo merged 1 commit intonrwl:masterfrom
ashley-hunter:js-format-fix
Jan 28, 2025
Merged

fix(js): ensure js library creation respects skipFormat#28831
jaysoo merged 1 commit intonrwl:masterfrom
ashley-hunter:js-format-fix

Conversation

@ashley-hunter
Copy link
Copy Markdown
Contributor

Current Behavior

If I set skipFormat to true when creating a JS library with the rollup bundler, formatting is still run during the rollup configuration creation step.

Expected Behavior

skipFormat flag should be respected.

Related Issue(s)

Fixes #

@ashley-hunter ashley-hunter requested a review from a team as a code owner November 7, 2024 11:20
@ashley-hunter ashley-hunter requested a review from Coly010 November 7, 2024 11:20
@vercel
Copy link
Copy Markdown

vercel Bot commented Nov 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Jan 28, 2025 4:08pm

@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud Bot commented Nov 7, 2024

View your CI Pipeline Execution ↗ for commit b0e900c.

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 42m 16s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 1m 4s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 1s View ↗
nx-cloud record -- nx format:check --base=cbbe1... ✅ Succeeded 31s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 30s View ↗
nx documentation --no-dte ✅ Succeeded 45s View ↗

☁️ Nx Cloud last updated this comment at 2025-01-28 16:57:19 UTC

@jaysoo jaysoo enabled auto-merge (squash) January 28, 2025 16:06
@jaysoo jaysoo merged commit 567a3f7 into nrwl:master Jan 28, 2025
FrozenPandaz pushed a commit that referenced this pull request Jan 28, 2025
<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
<!-- This is the behavior we have today -->
If I set `skipFormat` to `true` when creating a JS library with the
rollup bundler, formatting is still run during the rollup configuration
creation step.

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->
`skipFormat` flag should be respected.

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #

(cherry picked from commit 567a3f7)
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 3, 2025

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Feb 3, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants