Skip to content

Commit de5ecf6

Browse files
committed
chore: v18 update
1 parent 3959f2f commit de5ecf6

File tree

5 files changed

+12461
-27837
lines changed

5 files changed

+12461
-27837
lines changed

.eslintrc.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,18 @@
2828
"rules": {
2929
"@typescript-eslint/no-unused-vars": "off",
3030
"@typescript-eslint/no-empty-function": "off",
31-
"@typescript-eslint/no-non-null-assertion": "off"
31+
"@typescript-eslint/no-non-null-assertion": "off",
32+
"@typescript-eslint/no-extra-semi": "error",
33+
"no-extra-semi": "off"
3234
}
3335
},
3436
{
3537
"files": ["*.js", "*.jsx"],
3638
"extends": ["plugin:@nx/javascript"],
37-
"rules": {}
39+
"rules": {
40+
"@typescript-eslint/no-extra-semi": "error",
41+
"no-extra-semi": "off"
42+
}
3843
}
3944
]
4045
}

migrations.json

Lines changed: 25 additions & 139 deletions
Original file line numberDiff line numberDiff line change
@@ -2,157 +2,43 @@
22
"migrations": [
33
{
44
"cli": "nx",
5-
"version": "17.3.0-beta.6",
6-
"description": "Updates the nx wrapper.",
7-
"implementation": "./src/migrations/update-17-3-0/update-nxw",
8-
"package": "nx",
9-
"name": "17.3.0-update-nx-wrapper"
10-
},
11-
{
12-
"cli": "nx",
13-
"version": "18.0.0-beta.2",
14-
"description": "Updates nx.json to disabled adding plugins when generating projects in an existing Nx workspace",
15-
"implementation": "./src/migrations/update-18-0-0/disable-crystal-for-existing-workspaces",
16-
"x-repair-skip": true,
17-
"package": "nx",
18-
"name": "18.0.0-disable-adding-plugins-for-existing-workspaces"
19-
},
20-
{
21-
"version": "18.1.0-beta.3",
22-
"description": "Moves affected.defaultBase to defaultBase in `nx.json`",
23-
"implementation": "./src/migrations/update-17-2-0/move-default-base",
24-
"package": "nx",
25-
"name": "move-default-base-to-nx-json-root"
26-
},
27-
{
28-
"version": "17.2.0-beta.0",
29-
"description": "Simplify eslintFilePatterns",
30-
"implementation": "./src/migrations/update-17-2-0/simplify-eslint-patterns",
31-
"package": "@nx/eslint",
32-
"name": "simplify-eslint-patterns"
33-
},
34-
{
35-
"version": "17.2.9",
36-
"description": "Move executor options to target defaults",
37-
"implementation": "./src/migrations/update-17-2-9/move-options-to-target-defaults",
38-
"package": "@nx/eslint",
39-
"name": "move-options-to-target-defaults"
40-
},
41-
{
42-
"cli": "nx",
43-
"version": "17.2.0-beta.2",
44-
"description": "Rename '@nx/angular:webpack-dev-server' executor to '@nx/angular:dev-server'",
45-
"factory": "./src/migrations/update-17-2-0/rename-webpack-dev-server",
46-
"package": "@nx/angular",
47-
"name": "rename-webpack-dev-server-executor"
48-
},
49-
{
50-
"cli": "nx",
51-
"version": "17.3.0-beta.10",
52-
"requires": {
53-
"@angular/core": ">=17.1.0"
54-
},
55-
"description": "Update the @angular/cli package version to ~17.1.0.",
56-
"factory": "./src/migrations/update-17-3-0/update-angular-cli",
57-
"package": "@nx/angular",
58-
"name": "update-angular-cli-version-17-1-0"
59-
},
60-
{
61-
"cli": "nx",
62-
"version": "17.3.0-beta.10",
63-
"requires": {
64-
"@angular/core": ">=17.1.0"
65-
},
66-
"description": "Add 'browser-sync' as dev dependency when '@angular-devkit/build-angular:ssr-dev-server' or '@nx/angular:module-federation-dev-ssr' is used.",
67-
"factory": "./src/migrations/update-17-3-0/add-browser-sync-dependency",
68-
"package": "@nx/angular",
69-
"name": "add-browser-sync-dependency"
70-
},
71-
{
72-
"cli": "nx",
73-
"version": "17.3.0-beta.10",
74-
"requires": {
75-
"@angular/core": ">=17.1.0"
76-
},
77-
"description": "Add 'autoprefixer' as dev dependency when '@nx/angular:ng-packagr-lite' or '@nx/angular:package` is used.",
78-
"factory": "./src/migrations/update-17-3-0/add-autoprefixer-dependency",
79-
"package": "@nx/angular",
80-
"name": "add-autoprefixer-dependency"
81-
},
82-
{
83-
"cli": "nx",
84-
"version": "18.0.0-beta.0",
85-
"description": "Add NX_MF_DEV_SERVER_STATIC_REMOTES to inputs for task hashing when '@nx/angular:webpack-browser' is used for Module Federation.",
86-
"factory": "./src/migrations/update-18-0-0/add-mf-env-var-to-target-defaults",
87-
"package": "@nx/angular",
88-
"name": "add-module-federation-env-var-to-target-defaults"
89-
},
90-
{
91-
"cli": "nx",
92-
"version": "18.1.0-beta.1",
93-
"requires": {
94-
"@angular/core": ">=17.2.0"
95-
},
96-
"description": "Update the @angular/cli package version to ~17.2.0.",
97-
"factory": "./src/migrations/update-18-1-0/update-angular-cli",
98-
"package": "@nx/angular",
99-
"name": "update-angular-cli-version-17-2-0"
100-
},
101-
{
102-
"cli": "nx",
103-
"version": "18.1.1-beta.0",
104-
"description": "Ensure targetDefaults inputs for task hashing when '@nx/angular:webpack-browser' is used are correct for Module Federation.",
105-
"factory": "./src/migrations/update-18-1-1/fix-target-defaults-inputs",
106-
"package": "@nx/angular",
107-
"name": "fix-target-defaults-for-webpack-browser"
5+
"version": "19.1.0-beta.6",
6+
"description": "Migrate no-extra-semi rules into user config, out of nx extendable configs",
7+
"implementation": "./src/migrations/update-19-1-0-migrate-no-extra-semi/migrate-no-extra-semi",
8+
"package": "@nx/eslint-plugin",
9+
"name": "update-19-1-0-rename-no-extra-semi"
10810
},
10911
{
11012
"cli": "nx",
111-
"version": "18.2.0-beta.0",
13+
"version": "19.1.0-beta.2",
11214
"requires": {
113-
"@angular/core": ">=17.3.0"
15+
"@angular/core": ">=18.0.0"
11416
},
115-
"description": "Update the @angular/cli package version to ~17.3.0.",
116-
"factory": "./src/migrations/update-18-2-0/update-angular-cli",
17+
"description": "Update the @angular/cli package version to ~18.0.0.",
18+
"factory": "./src/migrations/update-19-1-0/update-angular-cli",
11719
"package": "@nx/angular",
118-
"name": "update-angular-cli-version-17-3-0"
20+
"name": "update-angular-cli-version-18-0-0"
11921
},
12022
{
121-
"cli": "nx",
122-
"version": "17.2.6-beta.1",
123-
"description": "Rename workspace rules from @nx/workspace/name to @nx/workspace-name",
124-
"implementation": "./src/migrations/update-17-2-6-rename-workspace-rules/rename-workspace-rules",
125-
"package": "@nx/eslint-plugin",
126-
"name": "update-17-2-6-rename-workspace-rules"
127-
},
128-
{
129-
"cli": "nx",
130-
"version": "18.1.0-beta.3",
131-
"description": "Update to Cypress ^13.6.6 if the workspace is using Cypress v13 to ensure workspaces don't use v13.6.5 which has an issue when verifying Cypress.",
132-
"implementation": "./src/migrations/update-18-1-0/update-cypress-version-13-6-6",
133-
"package": "@nx/cypress",
134-
"name": "update-cypress-version-13-6-6"
135-
},
136-
{
137-
"version": "17.2.0-beta.10",
138-
"description": "Update vite config.",
139-
"implementation": "./src/migrations/update-17-2-0/update-vite-config",
140-
"package": "@nx/vite",
141-
"name": "update-vite-config"
142-
},
143-
{
144-
"version": "17.3.0-beta.0",
145-
"description": "Move the vitest coverage thresholds in their own object if exists and add reporters.",
146-
"implementation": "./src/migrations/update-17-3-0/vitest-coverage-and-reporters",
147-
"package": "@nx/vite",
148-
"name": "vitest-coverage-and-reporters"
149-
},
150-
{
151-
"version": "17.3.0",
23+
"version": "18.0.0",
15224
"description": "Updates two-way bindings that have an invalid expression to use the longform expression instead.",
15325
"factory": "./migrations/invalid-two-way-bindings/bundle",
15426
"package": "@angular/core",
15527
"name": "invalid-two-way-bindings"
28+
},
29+
{
30+
"version": "18.0.0",
31+
"description": "Replace deprecated HTTP related modules with provider functions",
32+
"factory": "./migrations/http-providers/bundle",
33+
"package": "@angular/core",
34+
"name": "migration-http-providers"
35+
},
36+
{
37+
"version": "18.0.0-0",
38+
"description": "Updates the Angular CDK to v18",
39+
"factory": "./ng-update/index#updateToV18",
40+
"package": "@angular/cdk",
41+
"name": "migration-v18"
15642
}
15743
]
15844
}

0 commit comments

Comments
 (0)