Skip to content

Commit

Permalink
chore: update to nx 20.1 (#3214)
Browse files Browse the repository at this point in the history
  • Loading branch information
ScriptedAlchemy authored Nov 13, 2024
1 parent 7ebdef2 commit 4ab9295
Show file tree
Hide file tree
Showing 18 changed files with 493 additions and 528 deletions.
16 changes: 16 additions & 0 deletions .changeset/metal-doors-mix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
'@module-federation/webpack-bundler-runtime': patch
'@module-federation/rsbuild-plugin': patch
'@module-federation/data-prefetch': patch
'@module-federation/runtime-tools': patch
'@module-federation/error-codes': patch
'@module-federation/utilities': patch
'@module-federation/managers': patch
'@module-federation/manifest': patch
'@module-federation/esbuild': patch
'@module-federation/runtime': patch
'@module-federation/rspack': patch
'@module-federation/sdk': patch
---

disable package json generation during build
38 changes: 19 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,23 +106,23 @@
"@commitlint/cz-commitlint": "19.5.0",
"@fontsource/roboto": "5.1.0",
"@fontsource/roboto-mono": "5.1.0",
"@nx/cypress": "20.0.12",
"@nx/devkit": "20.0.12",
"@nx/esbuild": "20.0.12",
"@nx/eslint": "20.0.12",
"@nx/eslint-plugin": "20.0.12",
"@nx/express": "20.0.12",
"@nx/jest": "20.0.12",
"@nx/js": "20.0.12",
"@nx/next": "20.0.12",
"@nx/node": "20.0.12",
"@nx/react": "20.0.12",
"@nx/rollup": "20.0.12",
"@nx/rspack": "20.0.12",
"@nx/storybook": "20.0.12",
"@nx/vite": "20.0.12",
"@nx/web": "20.0.12",
"@nx/webpack": "20.0.12",
"@nx/cypress": "20.1.0",
"@nx/devkit": "20.1.0",
"@nx/esbuild": "20.1.0",
"@nx/eslint": "20.1.0",
"@nx/eslint-plugin": "20.1.0",
"@nx/express": "20.1.0",
"@nx/jest": "20.1.0",
"@nx/js": "20.1.0",
"@nx/next": "20.1.0",
"@nx/node": "20.1.0",
"@nx/react": "20.1.0",
"@nx/rollup": "20.1.0",
"@nx/rspack": "20.1.0",
"@nx/storybook": "20.1.0",
"@nx/vite": "20.1.0",
"@nx/web": "20.1.0",
"@nx/webpack": "20.1.0",
"@pmmmwh/react-refresh-webpack-plugin": "0.5.15",
"@rollup/plugin-alias": "5.1.1",
"@rollup/plugin-replace": "6.0.1",
Expand Down Expand Up @@ -182,7 +182,7 @@
"eslint-config-prettier": "9.1.0",
"eslint-plugin-cypress": "^2.13.4",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jsx-a11y": "6.10.0",
"eslint-plugin-jsx-a11y": "6.10.1",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-qwik": "1.9.1",
"eslint-plugin-react": "7.37.1",
Expand All @@ -200,7 +200,7 @@
"mime-types": "2.1.35",
"msw": "^1.2.1",
"node-fetch": "~3.3.2",
"nx": "20.0.12",
"nx": "20.1.0",
"open": "^10.1.0",
"postcss-calc": "9.0.1",
"postcss-custom-properties": "13.3.12",
Expand Down
3 changes: 2 additions & 1 deletion packages/data-prefetch/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"project": "packages/data-prefetch/package.json",
"rollupConfig": "packages/data-prefetch/rollup.config.js",
"compiler": "swc",
"format": ["cjs", "esm"]
"format": ["cjs", "esm"],
"generatePackageJson": false
}
},
"test": {
Expand Down
3 changes: 2 additions & 1 deletion packages/error-codes/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"assets": [],
"project": "packages/error-codes/package.json",
"compiler": "swc",
"format": ["cjs", "esm"]
"format": ["cjs", "esm"],
"generatePackageJson": false
},
"dependsOn": [
{
Expand Down
3 changes: 2 additions & 1 deletion packages/esbuild/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"@hyrious/esbuild-plugin-commonjs",
"rollup",
"../../resolve/esm-resolver.mjs"
]
],
"generatePackageJson": false
},
"dependsOn": [
{
Expand Down
3 changes: 2 additions & 1 deletion packages/managers/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"project": "packages/managers/package.json",
"rollupConfig": "packages/managers/rollup.config.js",
"compiler": "swc",
"format": ["cjs", "esm"]
"format": ["cjs", "esm"],
"generatePackageJson": false
}
},
"lint": {
Expand Down
3 changes: 2 additions & 1 deletion packages/manifest/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"project": "packages/manifest/package.json",
"rollupConfig": "packages/manifest/rollup.config.js",
"compiler": "swc",
"format": ["cjs", "esm"]
"format": ["cjs", "esm"],
"generatePackageJson": false
}
},
"lint": {
Expand Down
4 changes: 4 additions & 0 deletions packages/nextjs-mf/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@
{
"command": "nx run nextjs-mf:build",
"forwardAllArgs": false
},
{
"command": "rm ./packages/nextjs-mf/dist/package.json",
"forwardAllArgs": false
}
]
}
Expand Down
6 changes: 4 additions & 2 deletions packages/node/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
"outputPath": "packages/node/dist",
"main": "packages/node/src/index.js",
"tsConfig": "packages/node/tsconfig.lib.json",
"updateBuildableProjectDepsInPackageJson": true,
"buildableProjectDepsInPackageJsonType": "dependencies",
"assets": ["packages/node/*.md"]
},
"dependsOn": [
Expand Down Expand Up @@ -50,6 +48,10 @@
{
"command": "nx run node:build",
"forwardAllArgs": false
},
{
"command": "rm ./packages/node/dist/package.json",
"forwardAllArgs": false
}
]
}
Expand Down
3 changes: 2 additions & 1 deletion packages/rsbuild-plugin/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"project": "packages/rsbuild-plugin/package.json",
"rollupConfig": "packages/rsbuild-plugin/rollup.config.js",
"compiler": "swc",
"format": ["cjs", "esm"]
"format": ["cjs", "esm"],
"generatePackageJson": false
}
},
"lint": {
Expand Down
3 changes: 2 additions & 1 deletion packages/rspack/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"project": "packages/rspack/package.json",
"rollupConfig": "packages/rspack/rollup.config.js",
"compiler": "swc",
"format": ["cjs", "esm"]
"format": ["cjs", "esm"],
"generatePackageJson": false
}
},
"lint": {
Expand Down
3 changes: 1 addition & 2 deletions packages/runtime-tools/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
"rollupConfig": "packages/runtime-tools/rollup.config.js",
"format": ["cjs", "esm"],
"external": ["@module-federation/*"],
"buildableProjectDepsInPackageJsonType": "dependencies",
"updateBuildableProjectDepsInPackageJson": true
"generatePackageJson": false
},
"dependsOn": [
{
Expand Down
3 changes: 2 additions & 1 deletion packages/runtime/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"project": "packages/runtime/package.json",
"compiler": "swc",
"rollupConfig": "packages/runtime/rollup.config.js",
"format": ["cjs", "esm"]
"format": ["cjs", "esm"],
"generatePackageJson": false
},
"dependsOn": [
{
Expand Down
1 change: 1 addition & 0 deletions packages/sdk/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"additionalEntryPoints": ["packages/sdk/src/normalize-webpack-path.ts"],
"rollupConfig": "packages/sdk/rollup.config.js",
"compiler": "swc",
"generatePackageJson": false,
"format": ["cjs", "esm"]
}
},
Expand Down
4 changes: 1 addition & 3 deletions packages/typescript/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
"main": "packages/typescript/src/index.ts",
"tsConfig": "packages/typescript/tsconfig.lib.json",
"assets": ["packages/typescript/*.md"],
"skipTypeCheck": true,
"buildableProjectDepsInPackageJsonType": "dependencies",
"updateBuildableProjectDepsInPackageJson": true
"skipTypeCheck": true
},
"dependsOn": [
{
Expand Down
3 changes: 2 additions & 1 deletion packages/utilities/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"additionalEntryPoints": ["packages/utilities/src/types/types.ts"],
"external": ["@module-federation/*"],
"compiler": "swc",
"format": ["cjs", "esm"]
"format": ["cjs", "esm"],
"generatePackageJson": false
}
},
"lint": {
Expand Down
1 change: 1 addition & 0 deletions packages/webpack-bundler-runtime/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"packages/webpack-bundler-runtime/src/constant.ts",
"packages/webpack-bundler-runtime/src/container.ts"
],
"generatePackageJson": false,
"rollupConfig": "packages/webpack-bundler-runtime/rollup.config.js"
},
"dependsOn": [
Expand Down
Loading

0 comments on commit 4ab9295

Please sign in to comment.