-
Notifications
You must be signed in to change notification settings - Fork 16
chore: update Nx to v21 #1082
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+16,778
−13,831
Merged
chore: update Nx to v21 #1082
Changes from 15 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
54457ad
test: update nx-verdaccio
BioPhoton 006d9f8
test: nx migrate latest, run migrations, npm i -f
BioPhoton 6b2bd70
test: fix target defaults
BioPhoton 36f81ff
test: fix test test-nx-utils helper
BioPhoton f76d528
chore: fix npm i
BioPhoton 70f0c91
refactor: fix test-nx-utils unit tests
BioPhoton 71a88ee
refactor: fix lint
BioPhoton 44e18dc
refactor: fix plugin-lighthouse unit tests
BioPhoton 7bee58c
refactor: update plugin-typescript in tests and snapshots
BioPhoton 06ef57c
refactor: fix plugin-eslint int tests
BioPhoton 3d83489
refactor: fix plugin-typescript e2e tests with snapshot update
BioPhoton 9f3cefb
feat(nx-plugin): implement plugin v2 support
BioPhoton 1e72b0e
refactor: fix lint
BioPhoton 3d9a6cd
refactor: fix vitest path
BioPhoton 2b71609
Merge branch 'main' into test/cleanup-e2e-test
BioPhoton 229203d
Merge branch 'main' into test/cleanup-e2e-test
BioPhoton 7f1fb4e
refactor: remove migrations
BioPhoton 596a54b
Update packages/plugin-eslint/mocks/fixtures/nx-monorepo/packages/nx-…
BioPhoton 745dd75
Update packages/plugin-eslint/mocks/fixtures/nx-monorepo/packages/cor…
BioPhoton 644e16f
Update packages/plugin-eslint/mocks/fixtures/nx-monorepo/packages/cli…
BioPhoton d262a25
refactor: adjust pkg deps
BioPhoton 473129c
refactor: update nx package in mocks
BioPhoton 7d435f4
Merge branch 'main' into test/cleanup-e2e-test
BioPhoton 17cadd0
chore: fix deps 2
BioPhoton 3ed3903
Merge remote-tracking branch 'origin/main' into test/cleanup-e2e-test
BioPhoton File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
{ | ||
"migrations": [ | ||
{ | ||
"version": "20.0.0-beta.7", | ||
"description": "Migration for v20.0.0-beta.7", | ||
"implementation": "./src/migrations/update-20-0-0/move-use-daemon-process", | ||
"package": "nx", | ||
"name": "move-use-daemon-process" | ||
}, | ||
{ | ||
"version": "20.0.1", | ||
"description": "Set `useLegacyCache` to true for migrating workspaces", | ||
"implementation": "./src/migrations/update-20-0-1/use-legacy-cache", | ||
"x-repair-skip": true, | ||
"package": "nx", | ||
"name": "use-legacy-cache" | ||
}, | ||
{ | ||
"version": "21.0.0-beta.8", | ||
"description": "Removes the legacy cache configuration from nx.json", | ||
"implementation": "./src/migrations/update-21-0-0/remove-legacy-cache", | ||
"package": "nx", | ||
"name": "remove-legacy-cache" | ||
}, | ||
{ | ||
"version": "21.0.0-beta.8", | ||
"description": "Removes the legacy cache configuration from nx.json", | ||
"implementation": "./src/migrations/update-21-0-0/remove-custom-tasks-runner", | ||
"package": "nx", | ||
"name": "remove-custom-tasks-runner" | ||
}, | ||
{ | ||
"version": "21.0.0-beta.11", | ||
"description": "Updates release version config based on the breaking changes in Nx v21", | ||
"implementation": "./src/migrations/update-21-0-0/release-version-config-changes", | ||
"package": "nx", | ||
"name": "release-version-config-changes" | ||
}, | ||
{ | ||
"version": "21.0.0-beta.11", | ||
"description": "Updates release changelog config based on the breaking changes in Nx v21", | ||
"implementation": "./src/migrations/update-21-0-0/release-changelog-config-changes", | ||
"package": "nx", | ||
"name": "release-changelog-config-changes" | ||
}, | ||
{ | ||
"version": "21.1.0-beta.2", | ||
"description": "Adds **/nx-rules.mdc and **/nx.instructions.md to .gitignore if not present", | ||
"implementation": "./src/migrations/update-21-1-0/add-gitignore-entry", | ||
"package": "nx", | ||
"name": "21-1-0-add-ignore-entries-for-nx-rule-files" | ||
}, | ||
{ | ||
"version": "20.0.4-beta.0", | ||
"description": "Add gitignore entry for temporary vite config files.", | ||
"implementation": "./src/migrations/update-20-0-4/add-vite-temp-files-to-git-ignore", | ||
"package": "@nx/vite", | ||
"name": "update-20-0-4" | ||
}, | ||
{ | ||
"version": "20.0.6-beta.0", | ||
"description": "Add gitignore entry for temporary vite config files and remove previous incorrect glob.", | ||
"implementation": "./src/migrations/update-20-0-4/add-vite-temp-files-to-git-ignore", | ||
"package": "@nx/vite", | ||
"name": "update-20-0-6" | ||
}, | ||
{ | ||
"version": "20.3.0-beta.2", | ||
"description": "Add gitignore entry for temporary vitest config files.", | ||
"implementation": "./src/migrations/update-20-3-0/add-vitest-temp-files-to-git-ignore", | ||
"package": "@nx/vite", | ||
"name": "update-20-3-0" | ||
}, | ||
{ | ||
"version": "20.5.0-beta.2", | ||
"description": "Install jiti as a devDependency to allow vite to parse TS postcss files.", | ||
"implementation": "./src/migrations/update-20-5-0/install-jiti", | ||
"package": "@nx/vite", | ||
"name": "update-20-5-0-install-jiti" | ||
}, | ||
{ | ||
"version": "20.5.0-beta.3", | ||
"description": "Update resolve.conditions to include defaults that are no longer provided by Vite.", | ||
"implementation": "./src/migrations/update-20-5-0/update-resolve-conditions", | ||
"package": "@nx/vite", | ||
"name": "update-20-5-0-update-resolve-conditions" | ||
}, | ||
{ | ||
"version": "20.5.0-beta.3", | ||
"description": "Add vite config temporary files to the ESLint configuration ignore patterns if ESLint is used.", | ||
"implementation": "./src/migrations/update-20-5-0/eslint-ignore-vite-temp-files", | ||
"package": "@nx/vite", | ||
"name": "eslint-ignore-vite-temp-files" | ||
}, | ||
{ | ||
"cli": "nx", | ||
"version": "20.2.0-beta.2", | ||
"description": "Update the ModuleFederationConfig import use @nx/module-federation.", | ||
"factory": "./src/migrations/update-20-2-0/migrate-mf-imports-to-new-package", | ||
"package": "@nx/react", | ||
"name": "update-20-2-0-update-module-federation-config-import" | ||
}, | ||
{ | ||
"cli": "nx", | ||
"version": "20.2.0-beta.2", | ||
"description": "Update the withModuleFederation import use @nx/module-federation/webpack.", | ||
"factory": "./src/migrations/update-20-2-0/migrate-with-mf-import-to-new-package", | ||
"package": "@nx/react", | ||
"name": "update-20-2-0-update-with-module-federation-import" | ||
}, | ||
{ | ||
"cli": "nx", | ||
"version": "20.3.0-beta.2", | ||
"description": "If workspace includes Module Federation projects, ensure the new @nx/module-federation package is installed.", | ||
"factory": "./src/migrations/update-20-3-0/ensure-nx-module-federation-package", | ||
"package": "@nx/react", | ||
"name": "ensure-nx-module-federation-package" | ||
}, | ||
{ | ||
"cli": "nx", | ||
"version": "20.4.0-beta.0", | ||
"description": "Add NX_MF_DEV_REMOTES to inputs for task hashing when '@nx/webpack:webpack' or '@nx/rspack:rspack' is used for Module Federation.", | ||
"factory": "./src/migrations/update-18-0-0/add-mf-env-var-to-target-defaults", | ||
"package": "@nx/react", | ||
"name": "add-mf-env-var-to-target-defaults" | ||
}, | ||
{ | ||
"cli": "nx", | ||
"version": "21.0.0-beta.11", | ||
"description": "Replaces `classProperties.loose` option with `loose`.", | ||
"factory": "./src/migrations/update-21-0-0/update-babel-loose", | ||
"package": "@nx/react", | ||
"name": "update-21-0-0-update-babel-loose" | ||
} | ||
] | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.