Skip to content

Commit 66e4331

Browse files
committed
chore: upgrade Nx to 18.2.1
1 parent cf250ca commit 66e4331

File tree

4 files changed

+475
-1232
lines changed

4 files changed

+475
-1232
lines changed

migrations.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"migrations": [
3+
{
4+
"cli": "nx",
5+
"version": "18.0.0-beta.2",
6+
"description": "Updates nx.json to disabled adding plugins when generating projects in an existing Nx workspace",
7+
"implementation": "./src/migrations/update-18-0-0/disable-crystal-for-existing-workspaces",
8+
"x-repair-skip": true,
9+
"package": "nx",
10+
"name": "18.0.0-disable-adding-plugins-for-existing-workspaces"
11+
},
12+
{
13+
"version": "18.1.0-beta.3",
14+
"description": "Moves affected.defaultBase to defaultBase in `nx.json`",
15+
"implementation": "./src/migrations/update-17-2-0/move-default-base",
16+
"package": "nx",
17+
"name": "move-default-base-to-nx-json-root"
18+
},
19+
{
20+
"cli": "nx",
21+
"version": "18.0.0-beta.0",
22+
"description": "Add NX_MF_DEV_SERVER_STATIC_REMOTES to inputs for task hashing when '@nx/webpack:webpack' is used for Module Federation.",
23+
"factory": "./src/migrations/update-18-0-0/add-mf-env-var-to-target-defaults",
24+
"package": "@nx/react",
25+
"name": "add-module-federation-env-var-to-target-defaults"
26+
},
27+
{
28+
"cli": "nx",
29+
"version": "18.1.1-beta.0",
30+
"description": "Ensure targetDefaults inputs for task hashing when '@nx/webpack:webpack' is used are correct for Module Federation.",
31+
"factory": "./src/migrations/update-18-1-1/fix-target-defaults-inputs",
32+
"package": "@nx/react",
33+
"name": "fix-target-defaults-for-webpack"
34+
}
35+
]
36+
}

nx.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,12 @@
4040
},
4141
"nx-release-publish": {
4242
"cache": false,
43-
"dependsOn": [{ "target": "build", "params": "forward" }],
43+
"dependsOn": [
44+
{
45+
"target": "build",
46+
"params": "forward"
47+
}
48+
],
4449
"options": {
4550
"packageRoot": "dist/{projectRoot}",
4651
"registry": "https://registry.npmjs.org/"
@@ -112,5 +117,6 @@
112117
}
113118
},
114119
"releaseTagPattern": "v{version}"
115-
}
120+
},
121+
"useInferencePlugins": false
116122
}

0 commit comments

Comments
 (0)