Skip to content

Commit 4ab9295

Browse files
chore: update to nx 20.1 (#3214)
1 parent 7ebdef2 commit 4ab9295

File tree

18 files changed

+493
-528
lines changed

18 files changed

+493
-528
lines changed

.changeset/metal-doors-mix.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
'@module-federation/webpack-bundler-runtime': patch
3+
'@module-federation/rsbuild-plugin': patch
4+
'@module-federation/data-prefetch': patch
5+
'@module-federation/runtime-tools': patch
6+
'@module-federation/error-codes': patch
7+
'@module-federation/utilities': patch
8+
'@module-federation/managers': patch
9+
'@module-federation/manifest': patch
10+
'@module-federation/esbuild': patch
11+
'@module-federation/runtime': patch
12+
'@module-federation/rspack': patch
13+
'@module-federation/sdk': patch
14+
---
15+
16+
disable package json generation during build

package.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -106,23 +106,23 @@
106106
"@commitlint/cz-commitlint": "19.5.0",
107107
"@fontsource/roboto": "5.1.0",
108108
"@fontsource/roboto-mono": "5.1.0",
109-
"@nx/cypress": "20.0.12",
110-
"@nx/devkit": "20.0.12",
111-
"@nx/esbuild": "20.0.12",
112-
"@nx/eslint": "20.0.12",
113-
"@nx/eslint-plugin": "20.0.12",
114-
"@nx/express": "20.0.12",
115-
"@nx/jest": "20.0.12",
116-
"@nx/js": "20.0.12",
117-
"@nx/next": "20.0.12",
118-
"@nx/node": "20.0.12",
119-
"@nx/react": "20.0.12",
120-
"@nx/rollup": "20.0.12",
121-
"@nx/rspack": "20.0.12",
122-
"@nx/storybook": "20.0.12",
123-
"@nx/vite": "20.0.12",
124-
"@nx/web": "20.0.12",
125-
"@nx/webpack": "20.0.12",
109+
"@nx/cypress": "20.1.0",
110+
"@nx/devkit": "20.1.0",
111+
"@nx/esbuild": "20.1.0",
112+
"@nx/eslint": "20.1.0",
113+
"@nx/eslint-plugin": "20.1.0",
114+
"@nx/express": "20.1.0",
115+
"@nx/jest": "20.1.0",
116+
"@nx/js": "20.1.0",
117+
"@nx/next": "20.1.0",
118+
"@nx/node": "20.1.0",
119+
"@nx/react": "20.1.0",
120+
"@nx/rollup": "20.1.0",
121+
"@nx/rspack": "20.1.0",
122+
"@nx/storybook": "20.1.0",
123+
"@nx/vite": "20.1.0",
124+
"@nx/web": "20.1.0",
125+
"@nx/webpack": "20.1.0",
126126
"@pmmmwh/react-refresh-webpack-plugin": "0.5.15",
127127
"@rollup/plugin-alias": "5.1.1",
128128
"@rollup/plugin-replace": "6.0.1",
@@ -182,7 +182,7 @@
182182
"eslint-config-prettier": "9.1.0",
183183
"eslint-plugin-cypress": "^2.13.4",
184184
"eslint-plugin-import": "2.31.0",
185-
"eslint-plugin-jsx-a11y": "6.10.0",
185+
"eslint-plugin-jsx-a11y": "6.10.1",
186186
"eslint-plugin-prettier": "5.2.1",
187187
"eslint-plugin-qwik": "1.9.1",
188188
"eslint-plugin-react": "7.37.1",
@@ -200,7 +200,7 @@
200200
"mime-types": "2.1.35",
201201
"msw": "^1.2.1",
202202
"node-fetch": "~3.3.2",
203-
"nx": "20.0.12",
203+
"nx": "20.1.0",
204204
"open": "^10.1.0",
205205
"postcss-calc": "9.0.1",
206206
"postcss-custom-properties": "13.3.12",

packages/data-prefetch/project.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"project": "packages/data-prefetch/package.json",
1717
"rollupConfig": "packages/data-prefetch/rollup.config.js",
1818
"compiler": "swc",
19-
"format": ["cjs", "esm"]
19+
"format": ["cjs", "esm"],
20+
"generatePackageJson": false
2021
}
2122
},
2223
"test": {

packages/error-codes/project.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"assets": [],
1818
"project": "packages/error-codes/package.json",
1919
"compiler": "swc",
20-
"format": ["cjs", "esm"]
20+
"format": ["cjs", "esm"],
21+
"generatePackageJson": false
2122
},
2223
"dependsOn": [
2324
{

packages/esbuild/project.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636
"@hyrious/esbuild-plugin-commonjs",
3737
"rollup",
3838
"../../resolve/esm-resolver.mjs"
39-
]
39+
],
40+
"generatePackageJson": false
4041
},
4142
"dependsOn": [
4243
{

packages/managers/project.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"project": "packages/managers/package.json",
1818
"rollupConfig": "packages/managers/rollup.config.js",
1919
"compiler": "swc",
20-
"format": ["cjs", "esm"]
20+
"format": ["cjs", "esm"],
21+
"generatePackageJson": false
2122
}
2223
},
2324
"lint": {

packages/manifest/project.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"project": "packages/manifest/package.json",
1818
"rollupConfig": "packages/manifest/rollup.config.js",
1919
"compiler": "swc",
20-
"format": ["cjs", "esm"]
20+
"format": ["cjs", "esm"],
21+
"generatePackageJson": false
2122
}
2223
},
2324
"lint": {

packages/nextjs-mf/project.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@
5151
{
5252
"command": "nx run nextjs-mf:build",
5353
"forwardAllArgs": false
54+
},
55+
{
56+
"command": "rm ./packages/nextjs-mf/dist/package.json",
57+
"forwardAllArgs": false
5458
}
5559
]
5660
}

packages/node/project.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
"outputPath": "packages/node/dist",
1313
"main": "packages/node/src/index.js",
1414
"tsConfig": "packages/node/tsconfig.lib.json",
15-
"updateBuildableProjectDepsInPackageJson": true,
16-
"buildableProjectDepsInPackageJsonType": "dependencies",
1715
"assets": ["packages/node/*.md"]
1816
},
1917
"dependsOn": [
@@ -50,6 +48,10 @@
5048
{
5149
"command": "nx run node:build",
5250
"forwardAllArgs": false
51+
},
52+
{
53+
"command": "rm ./packages/node/dist/package.json",
54+
"forwardAllArgs": false
5355
}
5456
]
5557
}

packages/rsbuild-plugin/project.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"project": "packages/rsbuild-plugin/package.json",
1616
"rollupConfig": "packages/rsbuild-plugin/rollup.config.js",
1717
"compiler": "swc",
18-
"format": ["cjs", "esm"]
18+
"format": ["cjs", "esm"],
19+
"generatePackageJson": false
1920
}
2021
},
2122
"lint": {

0 commit comments

Comments
 (0)