-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
5,934 additions
and
23,564 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
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,3 +1,15 @@ | ||
const nxPreset = require('@nrwl/jest/preset').default; | ||
const nxPreset = require('@nx/jest/preset').default; | ||
|
||
module.exports = { ...nxPreset }; | ||
module.exports = { | ||
...nxPreset, | ||
/* TODO: Update to latest Jest snapshotFormat | ||
* By default Nx has kept the older style of Jest Snapshot formats | ||
* to prevent breaking of any existing tests with snapshots. | ||
* It's recommend you update to the latest format. | ||
* You can do this by removing snapshotFormat property | ||
* and running tests with --update-snapshot flag. | ||
* Example: "nx affected --targets=test --update-snapshot" | ||
* More info: https://jestjs.io/docs/upgrading-to-jest29#snapshot-format | ||
*/ | ||
snapshotFormat: { escapeString: true, printBasicPrototype: true }, | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,188 @@ | ||
{ | ||
"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": "@nx/workspace", | ||
"name": "15-7-0-split-configuration-into-project-json-files" | ||
}, | ||
{ | ||
"cli": "nx", | ||
"version": "15.8.2-beta.0", | ||
"description": "Updates the nx wrapper.", | ||
"implementation": "./src/migrations/update-15-8-2/update-nxw", | ||
"package": "nx", | ||
"name": "15.8.2-update-nx-wrapper" | ||
}, | ||
{ | ||
"cli": "nx", | ||
"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": "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": "16.0.0-update-nx-cloud-runner" | ||
}, | ||
{ | ||
"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": "@nx/workspace", | ||
"name": "15-7-0-split-configuration-into-project-json-files" | ||
}, | ||
{ | ||
"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" | ||
}, | ||
{ | ||
"version": "16.0.0-beta.4", | ||
"description": "Generates a plugin called 'workspace-plugin' containing your workspace generators.", | ||
"cli": "nx", | ||
"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" | ||
}, | ||
{ | ||
"version": "16.0.0-beta.9", | ||
"description": "Fix .babelrc presets if it contains an invalid entry for @nx/web/babel.", | ||
"cli": "nx", | ||
"implementation": "./src/migrations/update-16-0-0/fix-invalid-babelrc", | ||
"package": "@nx/workspace", | ||
"name": "16-0-0-fix-invalid-babelrc" | ||
}, | ||
{ | ||
"cli": "nx", | ||
"version": "16.0.0-beta.1", | ||
"description": "Replace @nx/vite with @nx/vite", | ||
"implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages", | ||
"package": "@nx/vite", | ||
"name": "update-16-0-0-add-nx-packages" | ||
}, | ||
{ | ||
"cli": "nx", | ||
"version": "15.8.7-beta.0", | ||
"description": "Set generatePackageJson to true to maintain existing behavior of generating package.json in output path.", | ||
"factory": "./src/migrations/update-15-8-7/set-generate-package-json", | ||
"package": "@nx/esbuild", | ||
"name": "set-generate-package-json" | ||
}, | ||
{ | ||
"cli": "nx", | ||
"version": "16.0.0-beta.1", | ||
"description": "Replace @nx/esbuild with @nx/esbuild", | ||
"implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages", | ||
"package": "@nx/esbuild", | ||
"name": "update-16-0-0-add-nx-packages" | ||
}, | ||
{ | ||
"version": "16.0.1-beta.0", | ||
"description": "Set thirdParty to true to maintain the existing behavior of bundling dependencies.", | ||
"cli": "nx", | ||
"implementation": "./src/migrations/update-16-0-1-set-thirdparty-true/update-16-0-1-set-thirdparty-true", | ||
"package": "@nx/esbuild", | ||
"name": "update-16-0-1-set-thirdparty-true" | ||
}, | ||
{ | ||
"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": "@nx/js", | ||
"name": "rename-swcrc-config" | ||
}, | ||
{ | ||
"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": "15.7.1-beta.0", | ||
"description": "Add node_modules to root eslint ignore", | ||
"factory": "./src/migrations/update-15-7-1/add-eslint-ignore", | ||
"package": "@nx/linter", | ||
"name": "add-eslint-ignore" | ||
}, | ||
{ | ||
"cli": "nx", | ||
"version": "16.0.0-beta.1", | ||
"description": "Replace @nx/linter with @nx/linter", | ||
"implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages", | ||
"package": "@nx/linter", | ||
"name": "update-16-0-0-add-nx-packages" | ||
}, | ||
{ | ||
"cli": "nx", | ||
"version": "16.0.0-beta.1", | ||
"description": "Replace @nx/eslint-plugin with @nx/eslint-plugin", | ||
"implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages", | ||
"package": "@nx/eslint-plugin", | ||
"name": "update-16-0-0-add-nx-packages" | ||
}, | ||
{ | ||
"version": "15.8.0-beta.0", | ||
"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": "@nx/jest", | ||
"name": "update-configs-jest-29" | ||
}, | ||
{ | ||
"version": "15.8.0-beta.0", | ||
"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": "@nx/jest", | ||
"name": "update-tests-jest-29" | ||
}, | ||
{ | ||
"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": "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" | ||
}, | ||
{ | ||
"cli": "nx", | ||
"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" | ||
} | ||
] | ||
} |
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.