Skip to content

Commit 0d33211

Browse files
chore: upgrade to nx v20 (#3080)
1 parent bdda64f commit 0d33211

File tree

47 files changed

+469
-2114
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+469
-2114
lines changed

apps/3000-home/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
}
5959
},
6060
"lint": {
61-
"executor": "@nx/linter:eslint",
61+
"executor": "@nx/eslint:lint",
6262
"outputs": ["{options.outputFile}"],
6363
"options": {
6464
"lintFilePatterns": ["apps/3000-home/**/*.{ts,tsx,js,jsx}"]

apps/3001-shop/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
}
5959
},
6060
"lint": {
61-
"executor": "@nx/linter:eslint",
61+
"executor": "@nx/eslint:lint",
6262
"outputs": ["{options.outputFile}"],
6363
"options": {
6464
"lintFilePatterns": ["apps/3001-shop/**/*.{ts,tsx,js,jsx}"]

apps/3002-checkout/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
}
5959
},
6060
"lint": {
61-
"executor": "@nx/linter:eslint",
61+
"executor": "@nx/eslint:lint",
6262
"outputs": ["{options.outputFile}"],
6363
"options": {
6464
"lintFilePatterns": ["apps/3002-checkout/**/*.{ts,tsx,js,jsx}"]

apps/docs-ui/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
}
4242
},
4343
"lint": {
44-
"executor": "@nx/linter:eslint",
44+
"executor": "@nx/eslint:lint",
4545
"outputs": ["{options.outputFile}"],
4646
"options": {
4747
"lintFilePatterns": ["apps/docs-ui/**/*.ts"]

apps/manifest-demo/3009-webpack-provider/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
}
7070
},
7171
"lint": {
72-
"executor": "@nx/linter:eslint",
72+
"executor": "@nx/eslint:lint",
7373
"outputs": ["{options.outputFile}"],
7474
"options": {
7575
"lintFilePatterns": ["apps/node-remote/**/*.{ts,tsx,js,jsx}"]

apps/manifest-demo/3010-rspack-provider/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
}
5151
},
5252
"lint": {
53-
"executor": "@nx/linter:eslint",
53+
"executor": "@nx/eslint:lint",
5454
"outputs": ["{options.outputFile}"],
5555
"options": {
5656
"lintFilePatterns": ["apps/node-remote/**/*.{ts,tsx,js,jsx}"]

apps/manifest-demo/webpack-host/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
]
7070
},
7171
"lint": {
72-
"executor": "@nx/linter:eslint",
72+
"executor": "@nx/eslint:lint",
7373
"outputs": ["{options.outputFile}"],
7474
"options": {
7575
"lintFilePatterns": ["apps/manifest-demo/host/**/*.{ts,tsx,js,jsx}"]

apps/node-dynamic-remote-new-version/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
}
7676
},
7777
"lint": {
78-
"executor": "@nx/linter:eslint",
78+
"executor": "@nx/eslint:lint",
7979
"outputs": ["{options.outputFile}"],
8080
"options": {
8181
"lintFilePatterns": [

apps/node-dynamic-remote/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
}
7676
},
7777
"lint": {
78-
"executor": "@nx/linter:eslint",
78+
"executor": "@nx/eslint:lint",
7979
"outputs": ["{options.outputFile}"],
8080
"options": {
8181
"lintFilePatterns": ["apps/node-dynamic-remote/**/*.{ts,tsx,js,jsx}"]

apps/node-host-e2e/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
}
2525
},
2626
"lint": {
27-
"executor": "@nx/linter:eslint",
27+
"executor": "@nx/eslint:lint",
2828
"outputs": ["{options.outputFile}"],
2929
"options": {
3030
"lintFilePatterns": ["apps/node-host-e2e/**/*.{js,ts}"]

apps/node-host/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
}
5252
},
5353
"lint": {
54-
"executor": "@nx/linter:eslint",
54+
"executor": "@nx/eslint:lint",
5555
"outputs": ["{options.outputFile}"],
5656
"options": {
5757
"lintFilePatterns": ["apps/node-host/**/*.ts"]

apps/node-local-remote/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
}
7676
},
7777
"lint": {
78-
"executor": "@nx/linter:eslint",
78+
"executor": "@nx/eslint:lint",
7979
"outputs": ["{options.outputFile}"],
8080
"options": {
8181
"lintFilePatterns": ["apps/node-local-remote/**/*.{ts,tsx,js,jsx}"]

apps/node-remote/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
}
7676
},
7777
"lint": {
78-
"executor": "@nx/linter:eslint",
78+
"executor": "@nx/eslint:lint",
7979
"outputs": ["{options.outputFile}"],
8080
"options": {
8181
"lintFilePatterns": ["apps/node-remote/**/*.{ts,tsx,js,jsx}"]

apps/react-ts-host/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
}
7777
},
7878
"lint": {
79-
"executor": "@nx/linter:eslint",
79+
"executor": "@nx/eslint:lint",
8080
"outputs": ["{options.outputFile}"],
8181
"options": {
8282
"lintFilePatterns": ["apps/react-ts-host/**/*.{ts,tsx,js,jsx}"]

apps/react-ts-nested-remote/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
}
7575
},
7676
"lint": {
77-
"executor": "@nx/linter:eslint",
77+
"executor": "@nx/eslint:lint",
7878
"outputs": ["{options.outputFile}"],
7979
"options": {
8080
"lintFilePatterns": ["apps/react-ts-nested-remote/**/*.{ts,tsx,js,jsx}"]

apps/reactRemoteUI/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
}
7171
},
7272
"lint": {
73-
"executor": "@nx/linter:eslint",
73+
"executor": "@nx/eslint:lint",
7474
"outputs": ["{options.outputFile}"],
7575
"options": {
7676
"lintFilePatterns": ["apps/reactRemoteUI/**/*.{ts,tsx,js,jsx}"]

apps/reactStorybook/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
}
7474
},
7575
"lint": {
76-
"executor": "@nx/linter:eslint",
76+
"executor": "@nx/eslint:lint",
7777
"outputs": ["{options.outputFile}"],
7878
"options": {
7979
"lintFilePatterns": ["apps/reactStorybook/**/*.{ts,tsx,js,jsx}"]

apps/runtime-demo/3005-runtime-host/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
]
7171
},
7272
"lint": {
73-
"executor": "@nx/linter:eslint",
73+
"executor": "@nx/eslint:lint",
7474
"outputs": ["{options.outputFile}"],
7575
"options": {
7676
"lintFilePatterns": ["apps/runtime-demo/host/**/*.{ts,tsx,js,jsx}"]

apps/runtime-demo/3006-runtime-remote/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
}
7070
},
7171
"lint": {
72-
"executor": "@nx/linter:eslint",
72+
"executor": "@nx/eslint:lint",
7373
"outputs": ["{options.outputFile}"],
7474
"options": {
7575
"lintFilePatterns": ["apps/node-remote/**/*.{ts,tsx,js,jsx}"]

apps/runtime-demo/3007-runtime-remote/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
}
7070
},
7171
"lint": {
72-
"executor": "@nx/linter:eslint",
72+
"executor": "@nx/eslint:lint",
7373
"outputs": ["{options.outputFile}"],
7474
"options": {
7575
"lintFilePatterns": ["apps/node-remote/**/*.{ts,tsx,js,jsx}"]

apps/website/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
}
7474
},
7575
"lint": {
76-
"executor": "@nx/linter:eslint",
76+
"executor": "@nx/eslint:lint",
7777
"outputs": ["{options.outputFile}"],
7878
"options": {
7979
"lintFilePatterns": ["apps/website/**/*.{ts,tsx,js,jsx}"]

jest.config.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { getJestProjects } from '@nx/jest';
1+
import { getJestProjectsAsync } from '@nx/jest';
22

3-
export default {
4-
projects: getJestProjects(),
5-
};
3+
export default async () => ({
4+
projects: await getJestProjectsAsync(),
5+
});

package.json

+18-18
Original file line numberDiff line numberDiff line change
@@ -98,23 +98,23 @@
9898
"@commitlint/cz-commitlint": "19.5.0",
9999
"@fontsource/roboto": "5.1.0",
100100
"@fontsource/roboto-mono": "5.1.0",
101-
"@nx/cypress": "19.8.3",
102-
"@nx/devkit": "19.8.3",
103-
"@nx/esbuild": "19.8.3",
104-
"@nx/eslint-plugin": "19.8.3",
105-
"@nx/express": "19.8.3",
106-
"@nx/jest": "19.8.3",
107-
"@nx/js": "19.8.3",
108-
"@nx/linter": "19.8.4",
109-
"@nx/next": "19.8.3",
110-
"@nx/node": "19.8.3",
111-
"@nx/react": "19.8.3",
112-
"@nx/rollup": "19.8.3",
113-
"@nx/rspack": "19.8.0",
114-
"@nx/storybook": "19.8.3",
115-
"@nx/vite": "19.8.3",
116-
"@nx/web": "19.8.3",
117-
"@nx/webpack": "19.8.3",
101+
"@nx/cypress": "20.0.0",
102+
"@nx/devkit": "20.0.0",
103+
"@nx/esbuild": "20.0.0",
104+
"@nx/eslint-plugin": "20.0.0",
105+
"@nx/express": "20.0.0",
106+
"@nx/jest": "20.0.0",
107+
"@nx/js": "20.0.0",
108+
"@nx/eslint": "20.0.0",
109+
"@nx/next": "20.0.0",
110+
"@nx/node": "20.0.0",
111+
"@nx/react": "20.0.0",
112+
"@nx/rollup": "20.0.0",
113+
"@nx/rspack": "20.0.0",
114+
"@nx/storybook": "20.0.0",
115+
"@nx/vite": "20.0.0",
116+
"@nx/web": "20.0.0",
117+
"@nx/webpack": "20.0.0",
118118
"@pmmmwh/react-refresh-webpack-plugin": "0.5.15",
119119
"@rollup/plugin-alias": "5.1.1",
120120
"@rollup/plugin-replace": "6.0.1",
@@ -192,7 +192,7 @@
192192
"mime-types": "2.1.35",
193193
"msw": "^1.2.1",
194194
"node-fetch": "~3.3.2",
195-
"nx": "19.8.3",
195+
"nx": "20.0.0",
196196
"open": "^10.1.0",
197197
"postcss-calc": "9.0.1",
198198
"postcss-custom-properties": "13.3.12",

packages/core/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
},
1818
"lint": {
19-
"executor": "@nx/linter:eslint",
19+
"executor": "@nx/eslint:lint",
2020
"outputs": ["{options.outputFile}"],
2121
"options": {
2222
"lintFilePatterns": ["packages/core/**/*.ts"]

packages/data-prefetch/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
}
3535
},
3636
"lint": {
37-
"executor": "@nx/linter:eslint",
37+
"executor": "@nx/eslint:lint",
3838
"outputs": ["{options.outputFile}"],
3939
"options": {
4040
"lintFilePatterns": [

packages/dts-plugin/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"outputs": ["{workspaceRoot}/coverage/packages/dts-plugin"]
2323
},
2424
"lint": {
25-
"executor": "@nx/linter:eslint",
25+
"executor": "@nx/eslint:lint",
2626
"outputs": ["{options.outputFile}"],
2727
"options": {
2828
"lintFilePatterns": [

packages/enhanced/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
]
3131
},
3232
"lint": {
33-
"executor": "@nx/linter:eslint",
33+
"executor": "@nx/eslint:lint",
3434
"outputs": ["{options.outputFile}"],
3535
"options": {
3636
"lintFilePatterns": ["packages/enhanced/**/*.ts"]

packages/esbuild/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
]
4747
},
4848
"lint": {
49-
"executor": "@nx/linter:eslint",
49+
"executor": "@nx/eslint:lint",
5050
"outputs": ["{options.outputFile}"],
5151
"options": {
5252
"lintFilePatterns": [

packages/managers/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
}
2222
},
2323
"lint": {
24-
"executor": "@nx/linter:eslint",
24+
"executor": "@nx/eslint:lint",
2525
"outputs": ["{options.outputFile}"],
2626
"options": {
2727
"lintFilePatterns": [

packages/manifest/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
}
2222
},
2323
"lint": {
24-
"executor": "@nx/linter:eslint",
24+
"executor": "@nx/eslint:lint",
2525
"outputs": ["{options.outputFile}"],
2626
"options": {
2727
"lintFilePatterns": [

packages/modernjs/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
}
2424
},
2525
"lint": {
26-
"executor": "@nx/linter:eslint",
26+
"executor": "@nx/eslint:lint",
2727
"outputs": ["{options.outputFile}"],
2828
"options": {
2929
"lintFilePatterns": ["packages/modernjs/**/*.ts"]

packages/native-federation-tests/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
}
2020
},
2121
"lint": {
22-
"executor": "@nx/linter:eslint",
22+
"executor": "@nx/eslint:lint",
2323
"outputs": ["{options.outputFile}"],
2424
"options": {
2525
"lintFilePatterns": ["packages/native-federation-tests/**/*.ts"]

packages/native-federation-typescript/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
}
2020
},
2121
"lint": {
22-
"executor": "@nx/linter:eslint",
22+
"executor": "@nx/eslint:lint",
2323
"outputs": ["{options.outputFile}"],
2424
"options": {
2525
"lintFilePatterns": ["packages/native-federation-typescript/**/*.ts"]

packages/nextjs-mf/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
]
2727
},
2828
"lint": {
29-
"executor": "@nx/linter:eslint",
29+
"executor": "@nx/eslint:lint",
3030
"outputs": ["{options.outputFile}"],
3131
"options": {
3232
"lintFilePatterns": [

packages/node/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
]
2525
},
2626
"lint": {
27-
"executor": "@nx/linter:eslint",
27+
"executor": "@nx/eslint:lint",
2828
"outputs": ["{options.outputFile}"],
2929
"options": {
3030
"lintFilePatterns": ["packages/node/**/*.js", "packages/node/**/*.ts"]

packages/retry-plugin/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
}
3131
},
3232
"lint": {
33-
"executor": "@nx/linter:eslint",
33+
"executor": "@nx/eslint:lint",
3434
"outputs": ["{options.outputFile}"],
3535
"options": {
3636
"lintFilePatterns": [

packages/rsbuild-plugin/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
}
2020
},
2121
"lint": {
22-
"executor": "@nx/linter:eslint",
22+
"executor": "@nx/eslint:lint",
2323
"outputs": ["{options.outputFile}"],
2424
"options": {
2525
"lintFilePatterns": [

packages/rspack/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
}
2222
},
2323
"lint": {
24-
"executor": "@nx/linter:eslint",
24+
"executor": "@nx/eslint:lint",
2525
"outputs": ["{options.outputFile}"],
2626
"options": {
2727
"lintFilePatterns": [

packages/runtime-tools/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
]
3535
},
3636
"lint": {
37-
"executor": "@nx/linter:eslint",
37+
"executor": "@nx/eslint:lint",
3838
"outputs": ["{options.outputFile}"],
3939
"options": {
4040
"lintFilePatterns": [

0 commit comments

Comments
 (0)