-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: migrate to nx 16.1.4 (#28583)
* chore: nx 16.0 migration * chore: exec migrations from @nrwl to @nx packages * chore: exec migration which converts tools/ to tools/workspace-plugin nx plugin * generate change file * chore: nx 16.1 migration * chore: bump swc/core to 1.3.45 which resolves issues with swc-node/register to make nx no-build DX work, without need to bump swc helpers to 0.5.x which increases v9 bundle size * chore: dedup deps * test(workspace-plugin): nx 16 changed transpilation which broke some of our generator test * fix: rollback to swc/core 1.3.44 which is the latest version to support swc/[email protected] and remove swc-node in order to use ts-node within nx(nx uses swc/helpers 0.5 if swc-node is used/installed)
- Loading branch information
Showing
211 changed files
with
1,204 additions
and
1,409 deletions.
There are no files selected for viewing
This file contains 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 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 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 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
7 changes: 7 additions & 0 deletions
7
change/@fluentui-eslint-plugin-09407c84-dd7b-4550-b467-fef7d9945fda.json
This file contains 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,7 @@ | ||
{ | ||
"type": "none", | ||
"comment": "chore: exec migrations from @nrwl to @nx packages", | ||
"packageName": "@fluentui/eslint-plugin", | ||
"email": "[email protected]", | ||
"dependentChangeType": "none" | ||
} |
This file contains 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 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 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 |
---|---|---|
@@ -1,52 +1,92 @@ | ||
{ | ||
"migrations": [ | ||
{ | ||
"version": "15.7.0-beta.0", | ||
"description": "Split global configuration files into individual project.json files. This migration has been added automatically to the beginning of your migration set to retroactively make them work with the new version of Nx.", | ||
"cli": "nx", | ||
"implementation": "./src/migrations/update-15-7-0/split-configuration-into-project-json-files", | ||
"package": "@nrwl/workspace", | ||
"name": "15-7-0-split-configuration-into-project-json-files" | ||
"version": "16.0.0-beta.0", | ||
"description": "Remove @nrwl/cli.", | ||
"implementation": "./src/migrations/update-16-0-0/remove-nrwl-cli", | ||
"package": "nx", | ||
"name": "16.0.0-remove-nrwl-cli" | ||
}, | ||
{ | ||
"cli": "nx", | ||
"version": "16.0.0-beta.9", | ||
"description": "Replace `dependsOn.projects` and `inputs` definitions with new configuration format.", | ||
"implementation": "./src/migrations/update-16-0-0/update-depends-on-to-tokens", | ||
"package": "nx", | ||
"name": "16.0.0-tokens-for-depends-on" | ||
}, | ||
{ | ||
"cli": "nx", | ||
"version": "15.8.2-beta.0", | ||
"description": "Updates the nx wrapper.", | ||
"implementation": "./src/migrations/update-15-8-2/update-nxw", | ||
"version": "16.0.0-beta.0", | ||
"description": "Replace @nrwl/nx-cloud with nx-cloud", | ||
"implementation": "./src/migrations/update-16-0-0/update-nx-cloud-runner", | ||
"package": "nx", | ||
"name": "15.8.2-update-nx-wrapper" | ||
"name": "16.0.0-update-nx-cloud-runner" | ||
}, | ||
{ | ||
"cli": "nx", | ||
"version": "16.0.0-beta.1", | ||
"description": "Replace @nx/devkit with @nx/devkit", | ||
"implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages", | ||
"package": "@nx/devkit", | ||
"name": "update-16-0-0-add-nx-packages" | ||
}, | ||
{ | ||
"cli": "nx", | ||
"version": "16.0.0-beta.1", | ||
"description": "Replace @nx/workspace with @nx/workspace", | ||
"implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages", | ||
"package": "@nx/workspace", | ||
"name": "update-16-0-0-add-nx-packages" | ||
}, | ||
{ | ||
"cli": "nx", | ||
"version": "16.0.0-beta.1", | ||
"description": "Replace @nx/js with @nx/js", | ||
"implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages", | ||
"package": "@nx/js", | ||
"name": "update-16-0-0-add-nx-packages" | ||
}, | ||
{ | ||
"cli": "nx", | ||
"version": "16.0.0-beta.1", | ||
"description": "Replace @nx/jest with @nx/jest", | ||
"implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages", | ||
"package": "@nx/jest", | ||
"name": "update-16-0-0-add-nx-packages" | ||
}, | ||
{ | ||
"cli": "nx", | ||
"version": "15.8.0-beta.0", | ||
"description": "Rename .lib.swcrc to .swcrc for better SWC support throughout the workspace", | ||
"factory": "./src/migrations/update-15-8-0/rename-swcrc-config", | ||
"package": "@nrwl/js", | ||
"name": "rename-swcrc-config" | ||
"version": "16.0.0-beta.1", | ||
"description": "Replace @nx/node with @nx/node", | ||
"implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages", | ||
"package": "@nx/node", | ||
"name": "update-16-0-0-add-nx-packages" | ||
}, | ||
{ | ||
"version": "15.7.0-beta.0", | ||
"description": "Split global configuration files (e.g., workspace.json) into individual project.json files.", | ||
"cli": "nx", | ||
"implementation": "./src/migrations/update-15-7-0/split-configuration-into-project-json-files", | ||
"package": "@nrwl/workspace", | ||
"name": "15-7-0-split-configuration-into-project-json-files" | ||
"version": "16.0.0-beta.5", | ||
"description": "Replace @nx/node:webpack with @nx/node:webpack", | ||
"implementation": "./src/migrations/update-16-0-0/update-webpack-executor", | ||
"package": "@nx/node", | ||
"name": "update-16-0-0-update-executor" | ||
}, | ||
{ | ||
"version": "15.8.0-beta.0", | ||
"version": "16.0.0-beta.9", | ||
"description": "Fix .babelrc presets if it contains an invalid entry for @nx/web/babel.", | ||
"cli": "nx", | ||
"description": "Update jest configs to support jest 29 changes (https://jestjs.io/docs/upgrading-to-jest29)", | ||
"factory": "./src/migrations/update-15-8-0/update-configs-jest-29", | ||
"package": "@nrwl/jest", | ||
"name": "update-configs-jest-29" | ||
"implementation": "./src/migrations/update-16-0-0/fix-invalid-babelrc", | ||
"package": "@nx/workspace", | ||
"name": "16-0-0-fix-invalid-babelrc" | ||
}, | ||
{ | ||
"version": "15.8.0-beta.0", | ||
"version": "16.0.0-beta.4", | ||
"description": "Generates a plugin called 'workspace-plugin' containing your workspace generators.", | ||
"cli": "nx", | ||
"description": "Update jest test files to support jest 29 changes (https://jestjs.io/docs/upgrading-to-jest29)", | ||
"factory": "./src/migrations/update-15-8-0/update-tests-jest-29", | ||
"package": "@nrwl/jest", | ||
"name": "update-tests-jest-29" | ||
"implementation": "./src/migrations/update-16-0-0/move-workspace-generators-to-local-plugin", | ||
"package": "@nx/workspace", | ||
"name": "16-0-0-move-workspace-generators-into-local-plugin" | ||
} | ||
] | ||
} |
This file contains 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 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 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
2 changes: 1 addition & 1 deletion
2
packages/fluentui/perf-test-northstar/tasks/fluentPerfRegressions.ts
This file contains 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 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 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 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 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 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 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 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 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 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 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.