Skip to content

Commit c906480

Browse files
committed
chore: 🤖 update nx to v16.5.3
1 parent e94ca86 commit c906480

File tree

19 files changed

+9094
-14546
lines changed

19 files changed

+9094
-14546
lines changed

‎.eslintrc.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"root": true,
33
"ignorePatterns": ["**/*"],
4-
"plugins": ["@nrwl/nx"],
4+
"plugins": ["@nx"],
55
"overrides": [
66
{
77
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
88
"rules": {
9-
"@nrwl/nx/enforce-module-boundaries": [
9+
"@nx/enforce-module-boundaries": [
1010
"error",
1111
{
1212
"enforceBuildableLibDependency": true,
@@ -23,12 +23,12 @@
2323
},
2424
{
2525
"files": ["*.ts", "*.tsx"],
26-
"extends": ["plugin:@nrwl/nx/typescript"],
26+
"extends": ["plugin:@nx/typescript"],
2727
"rules": {}
2828
},
2929
{
3030
"files": ["*.js", "*.jsx"],
31-
"extends": ["plugin:@nrwl/nx/javascript"],
31+
"extends": ["plugin:@nx/javascript"],
3232
"rules": {}
3333
}
3434
]

‎jest.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { getJestProjects } = require('@nrwl/jest');
1+
const { getJestProjects } = require('@nx/jest');
22

33
export default {
44
projects: getJestProjects(),

‎jest.preset.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const nxPreset = require('@nrwl/jest/preset').default;
1+
const nxPreset = require('@nx/jest/preset').default;
22

33
module.exports = {
44
...nxPreset,

‎migrations.json

+118-54
Original file line numberDiff line numberDiff line change
@@ -1,92 +1,156 @@
11
{
22
"migrations": [
33
{
4-
"version": "15.7.0-beta.0",
5-
"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.",
64
"cli": "nx",
7-
"implementation": "./src/migrations/update-15-7-0/split-configuration-into-project-json-files",
8-
"package": "@nrwl/workspace",
9-
"name": "15-7-0-split-configuration-into-project-json-files"
5+
"version": "16.0.0-beta.0",
6+
"description": "Remove @nrwl/cli.",
7+
"implementation": "./src/migrations/update-16-0-0/remove-nrwl-cli",
8+
"package": "nx",
9+
"name": "16.0.0-remove-nrwl-cli"
10+
},
11+
{
12+
"cli": "nx",
13+
"version": "16.0.0-beta.9",
14+
"description": "Replace `dependsOn.projects` and `inputs` definitions with new configuration format.",
15+
"implementation": "./src/migrations/update-16-0-0/update-depends-on-to-tokens",
16+
"package": "nx",
17+
"name": "16.0.0-tokens-for-depends-on"
18+
},
19+
{
20+
"cli": "nx",
21+
"version": "16.0.0-beta.0",
22+
"description": "Replace @nrwl/nx-cloud with nx-cloud",
23+
"implementation": "./src/migrations/update-16-0-0/update-nx-cloud-runner",
24+
"package": "nx",
25+
"name": "16.0.0-update-nx-cloud-runner"
1026
},
1127
{
1228
"cli": "nx",
13-
"version": "15.8.2-beta.0",
14-
"description": "Updates the nx wrapper.",
15-
"implementation": "./src/migrations/update-15-8-2/update-nxw",
29+
"version": "16.2.0-beta.0",
30+
"description": "Remove outputPath from run commands",
31+
"implementation": "./src/migrations/update-16-2-0/remove-run-commands-output-path",
1632
"package": "nx",
17-
"name": "15.8.2-update-nx-wrapper"
33+
"name": "16.2.0-remove-output-path-from-run-commands"
34+
},
35+
{
36+
"cli": "nx",
37+
"version": "16.0.0-beta.1",
38+
"description": "Replace @nx/devkit with @nx/devkit",
39+
"implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages",
40+
"package": "@nx/devkit",
41+
"name": "update-16-0-0-add-nx-packages"
42+
},
43+
{
44+
"cli": "nx",
45+
"version": "16.0.0-beta.1",
46+
"description": "Replace @nx/workspace with @nx/workspace",
47+
"implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages",
48+
"package": "@nx/workspace",
49+
"name": "update-16-0-0-add-nx-packages"
50+
},
51+
{
52+
"version": "16.0.0-beta.9",
53+
"description": "Fix .babelrc presets if it contains an invalid entry for @nx/web/babel.",
54+
"cli": "nx",
55+
"implementation": "./src/migrations/update-16-0-0/fix-invalid-babelrc",
56+
"package": "@nx/workspace",
57+
"name": "16-0-0-fix-invalid-babelrc"
58+
},
59+
{
60+
"cli": "nx",
61+
"version": "16.0.0-beta.1",
62+
"description": "Replace @nx/js with @nx/js",
63+
"implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages",
64+
"package": "@nx/js",
65+
"name": "update-16-0-0-add-nx-packages"
66+
},
67+
{
68+
"cli": "nx",
69+
"version": "16.0.0-beta.1",
70+
"description": "Replace @nx/linter with @nx/linter",
71+
"implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages",
72+
"package": "@nx/linter",
73+
"name": "update-16-0-0-add-nx-packages"
74+
},
75+
{
76+
"cli": "nx",
77+
"version": "16.0.0-beta.1",
78+
"description": "Replace @nx/web with @nx/web",
79+
"implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages",
80+
"package": "@nx/web",
81+
"name": "update-16-0-0-add-nx-packages"
1882
},
1983
{
2084
"cli": "nx",
21-
"version": "15.8.0-beta.0",
22-
"description": "Rename .lib.swcrc to .swcrc for better SWC support throughout the workspace",
23-
"factory": "./src/migrations/update-15-8-0/rename-swcrc-config",
24-
"package": "@nrwl/js",
25-
"name": "rename-swcrc-config"
85+
"version": "16.0.0-beta.4",
86+
"description": "Replace @nx/web executors with @nx/webpack and @nx/rollup",
87+
"implementation": "./src/migrations/update-16-0-0-update-executors/update-16-0-0-update-executors",
88+
"package": "@nx/web",
89+
"name": "update-16-0-0-update-executors"
2690
},
2791
{
28-
"version": "15.7.0-beta.0",
29-
"description": "Split global configuration files (e.g., workspace.json) into individual project.json files.",
3092
"cli": "nx",
31-
"implementation": "./src/migrations/update-15-7-0/split-configuration-into-project-json-files",
32-
"package": "@nrwl/workspace",
33-
"name": "15-7-0-split-configuration-into-project-json-files"
93+
"version": "16.0.0-beta.1",
94+
"description": "Replace @nx/eslint-plugin with @nx/eslint-plugin",
95+
"implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages",
96+
"package": "@nx/eslint-plugin",
97+
"name": "update-16-0-0-add-nx-packages"
3498
},
3599
{
36-
"version": "15.8.0-beta.0",
37100
"cli": "nx",
38-
"description": "Update jest configs to support jest 29 changes (https://jestjs.io/docs/upgrading-to-jest29)",
39-
"factory": "./src/migrations/update-15-8-0/update-configs-jest-29",
40-
"package": "@nrwl/jest",
41-
"name": "update-configs-jest-29"
101+
"version": "16.0.0-beta.1",
102+
"description": "Replace @nx/rollup with @nx/rollup",
103+
"implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages",
104+
"package": "@nx/rollup",
105+
"name": "update-16-0-0-add-nx-packages"
42106
},
43107
{
44-
"version": "15.8.0-beta.0",
45108
"cli": "nx",
46-
"description": "Update jest test files to support jest 29 changes (https://jestjs.io/docs/upgrading-to-jest29)",
47-
"factory": "./src/migrations/update-15-8-0/update-tests-jest-29",
48-
"package": "@nrwl/jest",
49-
"name": "update-tests-jest-29"
109+
"version": "16-3-3-beta.0",
110+
"description": "Add babelUpwardRootMode if not already defined",
111+
"implementation": "./src/migrations/update-16-3-3-add-babel-upward-root-mode-flag/update-16-3-3-add-babel-upward-root-mode-flag",
112+
"package": "@nx/rollup",
113+
"name": "update-16-3-3-add-babel-upward-root-mode-flag"
50114
},
51115
{
52116
"cli": "nx",
53-
"version": "15.5.4-beta.0",
54-
"description": "Update `@nrwl/web/babel` preset to `@nrwl/js/babel` for projects that have a .babelrc file.",
55-
"factory": "./src/migrations/update-15-5-4/update-babel-preset",
56-
"package": "@nrwl/web",
57-
"name": "update-babel-preset"
117+
"version": "16.0.0-beta.1",
118+
"description": "Replace @nx/jest with @nx/jest",
119+
"implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages",
120+
"package": "@nx/jest",
121+
"name": "update-16-0-0-add-nx-packages"
58122
},
59123
{
60124
"cli": "nx",
61-
"version": "15.9.1",
62-
"description": "Add @nrwl/linter, @nrwl/cypress, @nrwl/jest, @nrwl/rollup if they are used",
63-
"factory": "./src/migrations/update-15-9-1/add-dropped-dependencies",
64-
"package": "@nrwl/web",
65-
"name": "add-dropped-dependencies"
125+
"version": "16.5.0-beta.2",
126+
"description": "Add test-setup.ts to ignored files in production input",
127+
"implementation": "./src/migrations/update-16-5-0/add-test-setup-to-inputs-ignore",
128+
"package": "@nx/jest",
129+
"name": "add-test-setup-to-inputs-ignore"
66130
},
67131
{
132+
"version": "16.0.0-beta.1",
68133
"cli": "nx",
69-
"version": "15.7.1-beta.0",
70-
"description": "Add node_modules to root eslint ignore",
71-
"factory": "./src/migrations/update-15-7-1/add-eslint-ignore",
72-
"package": "@nrwl/linter",
73-
"name": "add-eslint-ignore"
134+
"description": "Removes CLI property within schema.json files and moves generators and schematics to the proper root node in migrations.json",
135+
"factory": "./src/migrations/update-16-0-0/cli-in-schema-json",
136+
"package": "@nx/plugin",
137+
"name": "update-remove-cli-prop"
74138
},
75139
{
76-
"version": "15.9.0-beta.0",
77140
"cli": "nx",
78-
"description": "Update nx plugin jest configs to support jest 29 changes (https://jestjs.io/docs/upgrading-to-jest29)",
79-
"factory": "./src/migrations/update-15-9-0/jest-29-configs",
80-
"package": "@nrwl/nx-plugin",
81-
"name": "update-configs-jest-29"
141+
"version": "16.0.0-beta.1",
142+
"description": "Replace @nx/plugin with @nx/plugin",
143+
"implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages",
144+
"package": "@nx/plugin",
145+
"name": "update-16-0-0-add-nx-packages"
82146
},
83147
{
84-
"version": "15.9.0-beta.0",
85148
"cli": "nx",
86-
"description": "Update nx plugin jest test files to support jest 29 changes (https://jestjs.io/docs/upgrading-to-jest29)",
87-
"factory": "./src/migrations/update-15-9-0/jest-29-tests",
88-
"package": "@nrwl/nx-plugin",
89-
"name": "update-tests-jest-29"
149+
"version": "16.2.0-beta.0",
150+
"description": "Replace @nx/plugin:e2e with @nx/jest",
151+
"implementation": "./src/migrations/update-16-2-0/replace-e2e-executor",
152+
"package": "@nx/plugin",
153+
"name": "update-16-2-0-replace-e2e-executor"
90154
}
91155
]
92156
}

‎nx.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
2222
"!{projectRoot}/tsconfig.spec.json",
2323
"!{projectRoot}/jest.config.[jt]s",
24-
"!{projectRoot}/.eslintrc.json"
24+
"!{projectRoot}/.eslintrc.json",
25+
"!{projectRoot}/src/test-setup.[jt]s"
2526
]
2627
},
2728
"targetDefaults": {
@@ -36,7 +37,7 @@
3637
}
3738
},
3839
"pluginsConfig": {
39-
"@nrwl/js": {
40+
"@nx/js": {
4041
"analyzeSourceFiles": true
4142
}
4243
}

0 commit comments

Comments
 (0)