Skip to content

Commit ebe78bf

Browse files
committed
feat: adds angular 18 support
BREAKING CHANGE: Bumps required angular version to 18
1 parent fb04849 commit ebe78bf

File tree

6 files changed

+9937
-6699
lines changed

6 files changed

+9937
-6699
lines changed

devtools/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"url": "https://github.com/sponsors/ngneat"
1111
},
1212
"peerDependencies": {
13-
"@angular/core": ">=16.0.0 <18.0.0",
13+
"@angular/core": ">=16.0.0 <19.0.0",
1414
"@tanstack/query-devtools": "5.4.2"
1515
},
1616
"dependencies": {

migrations.json

+46-56
Original file line numberDiff line numberDiff line change
@@ -1,92 +1,82 @@
11
{
22
"migrations": [
33
{
4-
"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",
4+
"version": "18.1.0-beta.3",
5+
"description": "Moves affected.defaultBase to defaultBase in `nx.json`",
6+
"implementation": "./src/migrations/update-17-2-0/move-default-base",
87
"package": "nx",
9-
"name": "17.3.0-update-nx-wrapper"
8+
"name": "move-default-base-to-nx-json-root"
109
},
1110
{
1211
"cli": "nx",
13-
"version": "18.0.0-beta.2",
14-
"description": "Updates .env 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"
12+
"version": "19.1.0-beta.6",
13+
"description": "Migrate no-extra-semi rules into user config, out of nx extendable configs",
14+
"implementation": "./src/migrations/update-19-1-0-migrate-no-extra-semi/migrate-no-extra-semi",
15+
"package": "@nx/eslint-plugin",
16+
"name": "update-19-1-0-rename-no-extra-semi"
1917
},
2018
{
2119
"cli": "nx",
22-
"version": "17.2.0-beta.2",
23-
"description": "Rename '@nx/angular:webpack-dev-server' executor to '@nx/angular:dev-server'",
24-
"factory": "./src/migrations/update-17-2-0/rename-webpack-dev-server",
20+
"version": "18.1.0-beta.1",
21+
"requires": {
22+
"@angular/core": ">=17.2.0"
23+
},
24+
"description": "Update the @angular/cli package version to ~17.2.0.",
25+
"factory": "./src/migrations/update-18-1-0/update-angular-cli",
2526
"package": "@nx/angular",
26-
"name": "rename-webpack-dev-server-executor"
27+
"name": "update-angular-cli-version-17-2-0"
2728
},
2829
{
2930
"cli": "nx",
30-
"version": "17.3.0-beta.10",
31-
"requires": {
32-
"@angular/core": ">=17.1.0"
33-
},
34-
"description": "Update the @angular/cli package version to ~17.1.0.",
35-
"factory": "./src/migrations/update-17-3-0/update-angular-cli",
31+
"version": "18.1.1-beta.0",
32+
"description": "Ensure targetDefaults inputs for task hashing when '@nx/angular:webpack-browser' is used are correct for Module Federation.",
33+
"factory": "./src/migrations/update-18-1-1/fix-target-defaults-inputs",
3634
"package": "@nx/angular",
37-
"name": "update-angular-cli-version-17-1-0"
35+
"name": "fix-target-defaults-for-webpack-browser"
3836
},
3937
{
4038
"cli": "nx",
41-
"version": "17.3.0-beta.10",
39+
"version": "18.2.0-beta.0",
4240
"requires": {
43-
"@angular/core": ">=17.1.0"
41+
"@angular/core": ">=17.3.0"
4442
},
45-
"description": "Add 'browser-sync' as dev dependency when '@angular-devkit/build-angular:ssr-dev-server' or '@nx/angular:module-federation-dev-ssr' is used.",
46-
"factory": "./src/migrations/update-17-3-0/add-browser-sync-dependency",
43+
"description": "Update the @angular/cli package version to ~17.3.0.",
44+
"factory": "./src/migrations/update-18-2-0/update-angular-cli",
4745
"package": "@nx/angular",
48-
"name": "add-browser-sync-dependency"
46+
"name": "update-angular-cli-version-17-3-0"
4947
},
5048
{
5149
"cli": "nx",
52-
"version": "17.3.0-beta.10",
50+
"version": "19.1.0-beta.2",
5351
"requires": {
54-
"@angular/core": ">=17.1.0"
52+
"@angular/core": ">=18.0.0"
5553
},
56-
"description": "Add 'autoprefixer' as dev dependency when '@nx/angular:ng-packagr-lite' or '@nx/angular:package` is used.",
57-
"factory": "./src/migrations/update-17-3-0/add-autoprefixer-dependency",
54+
"description": "Update the @angular/cli package version to ~18.0.0.",
55+
"factory": "./src/migrations/update-19-1-0/update-angular-cli",
5856
"package": "@nx/angular",
59-
"name": "add-autoprefixer-dependency"
57+
"name": "update-angular-cli-version-18-0-0"
6058
},
6159
{
6260
"cli": "nx",
63-
"version": "18.0.0-beta.0",
64-
"description": "Add NX_MF_DEV_SERVER_STATIC_REMOTES to inputs for task hashing when '@nx/angular:webpack-browser' is used for Module Federation.",
65-
"factory": "./src/migrations/update-18-0-0/add-mf-env-var-to-target-defaults",
66-
"package": "@nx/angular",
67-
"name": "add-module-federation-env-var-to-target-defaults"
68-
},
69-
{
70-
"version": "17.2.0-beta.0",
71-
"description": "Simplify eslintFilePatterns",
72-
"implementation": "./src/migrations/update-17-2-0/simplify-eslint-patterns",
73-
"package": "@nx/eslint",
74-
"name": "simplify-eslint-patterns"
61+
"version": "18.1.0-beta.3",
62+
"description": "Remove invalid baseUrl option from @nx/playwright:playwright targets in project.json.",
63+
"implementation": "./src/migrations/update-18-1-0/remove-baseUrl-from-project-json",
64+
"package": "@nx/playwright",
65+
"name": "18-1-0-remove-baseUrl-from-project-json"
7566
},
7667
{
77-
"version": "17.2.9",
78-
"description": "Move executor options to target defaults",
79-
"implementation": "./src/migrations/update-17-2-9/move-options-to-target-defaults",
80-
"package": "@nx/eslint",
81-
"name": "move-options-to-target-defaults"
68+
"version": "18.0.0",
69+
"description": "Updates two-way bindings that have an invalid expression to use the longform expression instead.",
70+
"factory": "./migrations/invalid-two-way-bindings/bundle",
71+
"package": "@angular/core",
72+
"name": "invalid-two-way-bindings"
8273
},
8374
{
84-
"cli": "nx",
85-
"version": "17.3.1-beta.0",
86-
"description": "Add project property to playwright config",
87-
"implementation": "./src/migrations/update-17-3-1/add-project-to-config",
88-
"package": "@nx/playwright",
89-
"name": "17-3-1-add-project-to-config"
75+
"version": "18.0.0",
76+
"description": "Replace deprecated HTTP related modules with provider functions",
77+
"factory": "./migrations/http-providers/bundle",
78+
"package": "@angular/core",
79+
"name": "migration-http-providers"
9080
}
9181
]
92-
}
82+
}

0 commit comments

Comments
 (0)