@nx/angular 23.0.0-beta.21 → 23.0.0-beta.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/migrations.json +62 -31
- package/package.json +8 -8
- package/src/migrations/update-20-2-0/add-localize-polyfill-to-targets.md +44 -0
- package/src/migrations/update-20-2-0/disable-angular-eslint-prefer-standalone.md +475 -0
- package/src/migrations/update-20-2-0/migrate-mf-imports-to-new-package.md +19 -0
- package/src/migrations/update-20-2-0/migrate-with-mf-import-to-new-package.md +25 -0
- package/src/migrations/update-20-2-0/remove-angular-eslint-rules.md +37 -0
- package/src/migrations/update-20-2-0/remove-tailwind-config-from-ng-packagr-executors.md +69 -0
- package/src/migrations/update-20-2-0/update-angular-cli.md +49 -0
- package/src/migrations/update-20-2-0/update-angular-ssr-imports-to-use-node-entry-point.md +27 -0
- package/src/migrations/update-20-3-0/ensure-nx-module-federation-package.md +23 -0
- package/src/migrations/update-20-4-0/update-angular-cli.md +49 -0
- package/src/migrations/update-20-5-0/update-angular-cli.md +23 -0
- package/src/migrations/update-21-0-0/change-data-persistence-operators-imports-to-ngrx-router-store-data-persistence.md +113 -0
- package/src/migrations/update-21-0-0/set-continuous-option.md +90 -0
- package/src/migrations/update-21-2-0/migrate-provide-server-rendering-import.md +56 -0
- package/src/migrations/update-21-2-0/replace-provide-server-routing.md +107 -0
- package/src/migrations/update-21-2-0/set-generator-defaults-for-previous-style-guide.md +164 -0
- package/src/migrations/update-21-2-0/update-angular-cli.md +23 -0
- package/src/migrations/update-21-2-0/update-module-resolution.md +53 -0
- package/src/migrations/update-21-3-0/update-angular-cli.md +23 -0
- package/src/migrations/update-21-5-0/remove-default-karma-configuration-files.md +122 -0
- package/src/migrations/update-21-5-0/set-tsconfig-option.md +114 -0
- package/src/migrations/update-21-5-0/update-angular-cli.md +23 -0
- package/src/migrations/update-21-6-1/update-angular-cli.md +23 -0
- package/src/migrations/update-22-3-0/set-isolated-modules.md +76 -0
- package/src/migrations/update-22-3-0/update-jest-preset-angular-setup.md +21 -0
- package/src/migrations/update-22-3-0/update-module-resolution.md +81 -0
- package/src/migrations/update-22-3-0/update-ssr-webpack-config.md +71 -0
- package/src/migrations/update-22-3-0/update-typescript-lib.md +103 -0
- package/src/migrations/update-22-3-0/update-unit-test-runner-option.md +33 -0
- package/src/migrations/update-23-0-0/migrate-ngrx-generator-defaults.md +46 -0
- package/src/migrations/update-23-0-0/migrate-with-mf-import-to-new-package.md +27 -0
- package/src/utils/versions.d.ts +1 -1
- package/src/utils/versions.js +1 -1
package/migrations.json
CHANGED
|
@@ -43,13 +43,15 @@
|
|
|
43
43
|
"cli": "nx",
|
|
44
44
|
"version": "20.2.0-beta.2",
|
|
45
45
|
"description": "Update the ModuleFederationConfig import use @nx/module-federation.",
|
|
46
|
-
"factory": "./src/migrations/update-20-2-0/migrate-mf-imports-to-new-package"
|
|
46
|
+
"factory": "./src/migrations/update-20-2-0/migrate-mf-imports-to-new-package",
|
|
47
|
+
"documentation": "./src/migrations/update-20-2-0/migrate-mf-imports-to-new-package.md"
|
|
47
48
|
},
|
|
48
49
|
"update-20-2-0-update-with-module-federation-import": {
|
|
49
50
|
"cli": "nx",
|
|
50
51
|
"version": "20.2.0-beta.2",
|
|
51
52
|
"description": "Update the withModuleFederation import use @nx/module-federation/angular.",
|
|
52
|
-
"factory": "./src/migrations/update-20-2-0/migrate-with-mf-import-to-new-package"
|
|
53
|
+
"factory": "./src/migrations/update-20-2-0/migrate-with-mf-import-to-new-package",
|
|
54
|
+
"documentation": "./src/migrations/update-20-2-0/migrate-with-mf-import-to-new-package.md"
|
|
53
55
|
},
|
|
54
56
|
"update-angular-cli-version-19-0-0": {
|
|
55
57
|
"cli": "nx",
|
|
@@ -58,7 +60,8 @@
|
|
|
58
60
|
"@angular/core": ">=19.0.0"
|
|
59
61
|
},
|
|
60
62
|
"description": "Update the @angular/cli package version to ~19.0.0.",
|
|
61
|
-
"factory": "./src/migrations/update-20-2-0/update-angular-cli"
|
|
63
|
+
"factory": "./src/migrations/update-20-2-0/update-angular-cli",
|
|
64
|
+
"documentation": "./src/migrations/update-20-2-0/update-angular-cli.md"
|
|
62
65
|
},
|
|
63
66
|
"add-localize-polyfill-to-targets": {
|
|
64
67
|
"cli": "nx",
|
|
@@ -67,7 +70,8 @@
|
|
|
67
70
|
"@angular/core": ">=19.0.0"
|
|
68
71
|
},
|
|
69
72
|
"description": "Add the '@angular/localize/init' polyfill to the 'polyfills' option of targets using esbuild-based executors.",
|
|
70
|
-
"factory": "./src/migrations/update-20-2-0/add-localize-polyfill-to-targets"
|
|
73
|
+
"factory": "./src/migrations/update-20-2-0/add-localize-polyfill-to-targets",
|
|
74
|
+
"documentation": "./src/migrations/update-20-2-0/add-localize-polyfill-to-targets.md"
|
|
71
75
|
},
|
|
72
76
|
"update-angular-ssr-imports-to-use-node-entry-point": {
|
|
73
77
|
"cli": "nx",
|
|
@@ -76,7 +80,8 @@
|
|
|
76
80
|
"@angular/core": ">=19.0.0"
|
|
77
81
|
},
|
|
78
82
|
"description": "Update '@angular/ssr' import paths to use the new '/node' entry point when 'CommonEngine' is detected.",
|
|
79
|
-
"factory": "./src/migrations/update-20-2-0/update-angular-ssr-imports-to-use-node-entry-point"
|
|
83
|
+
"factory": "./src/migrations/update-20-2-0/update-angular-ssr-imports-to-use-node-entry-point",
|
|
84
|
+
"documentation": "./src/migrations/update-20-2-0/update-angular-ssr-imports-to-use-node-entry-point.md"
|
|
80
85
|
},
|
|
81
86
|
"disable-angular-eslint-prefer-standalone": {
|
|
82
87
|
"cli": "nx",
|
|
@@ -85,7 +90,8 @@
|
|
|
85
90
|
"@angular/core": ">=19.0.0"
|
|
86
91
|
},
|
|
87
92
|
"description": "Disable the Angular ESLint prefer-standalone rule if not set.",
|
|
88
|
-
"factory": "./src/migrations/update-20-2-0/disable-angular-eslint-prefer-standalone"
|
|
93
|
+
"factory": "./src/migrations/update-20-2-0/disable-angular-eslint-prefer-standalone",
|
|
94
|
+
"documentation": "./src/migrations/update-20-2-0/disable-angular-eslint-prefer-standalone.md"
|
|
89
95
|
},
|
|
90
96
|
"remove-angular-eslint-rules": {
|
|
91
97
|
"cli": "nx",
|
|
@@ -94,7 +100,8 @@
|
|
|
94
100
|
"@angular/core": ">=19.0.0"
|
|
95
101
|
},
|
|
96
102
|
"description": "Remove Angular ESLint rules that were removed in v19.0.0.",
|
|
97
|
-
"factory": "./src/migrations/update-20-2-0/remove-angular-eslint-rules"
|
|
103
|
+
"factory": "./src/migrations/update-20-2-0/remove-angular-eslint-rules",
|
|
104
|
+
"documentation": "./src/migrations/update-20-2-0/remove-angular-eslint-rules.md"
|
|
98
105
|
},
|
|
99
106
|
"remove-tailwind-config-from-ng-packagr-executors": {
|
|
100
107
|
"cli": "nx",
|
|
@@ -103,13 +110,15 @@
|
|
|
103
110
|
"@angular/core": ">=19.0.0"
|
|
104
111
|
},
|
|
105
112
|
"description": "Remove the deprecated 'tailwindConfig' option from ng-packagr executors. Tailwind CSS configurations located at the project or workspace root will be picked up automatically.",
|
|
106
|
-
"factory": "./src/migrations/update-20-2-0/remove-tailwind-config-from-ng-packagr-executors"
|
|
113
|
+
"factory": "./src/migrations/update-20-2-0/remove-tailwind-config-from-ng-packagr-executors",
|
|
114
|
+
"documentation": "./src/migrations/update-20-2-0/remove-tailwind-config-from-ng-packagr-executors.md"
|
|
107
115
|
},
|
|
108
116
|
"ensure-nx-module-federation-package": {
|
|
109
117
|
"cli": "nx",
|
|
110
118
|
"version": "20.3.0-beta.2",
|
|
111
119
|
"description": "If workspace includes Module Federation projects, ensure the new @nx/module-federation package is installed.",
|
|
112
|
-
"factory": "./src/migrations/update-20-3-0/ensure-nx-module-federation-package"
|
|
120
|
+
"factory": "./src/migrations/update-20-3-0/ensure-nx-module-federation-package",
|
|
121
|
+
"documentation": "./src/migrations/update-20-3-0/ensure-nx-module-federation-package.md"
|
|
113
122
|
},
|
|
114
123
|
"update-angular-cli-version-19-1-0": {
|
|
115
124
|
"cli": "nx",
|
|
@@ -118,7 +127,8 @@
|
|
|
118
127
|
"@angular/core": ">=19.1.0"
|
|
119
128
|
},
|
|
120
129
|
"description": "Update the @angular/cli package version to ~19.1.0.",
|
|
121
|
-
"factory": "./src/migrations/update-20-4-0/update-angular-cli"
|
|
130
|
+
"factory": "./src/migrations/update-20-4-0/update-angular-cli",
|
|
131
|
+
"documentation": "./src/migrations/update-20-4-0/update-angular-cli.md"
|
|
122
132
|
},
|
|
123
133
|
"update-angular-cli-version-19-2-0": {
|
|
124
134
|
"cli": "nx",
|
|
@@ -127,13 +137,15 @@
|
|
|
127
137
|
"@angular/core": ">=19.2.0"
|
|
128
138
|
},
|
|
129
139
|
"description": "Update the @angular/cli package version to ~19.2.0.",
|
|
130
|
-
"factory": "./src/migrations/update-20-5-0/update-angular-cli"
|
|
140
|
+
"factory": "./src/migrations/update-20-5-0/update-angular-cli",
|
|
141
|
+
"documentation": "./src/migrations/update-20-5-0/update-angular-cli.md"
|
|
131
142
|
},
|
|
132
143
|
"set-continuous-option": {
|
|
133
144
|
"cli": "nx",
|
|
134
145
|
"version": "21.0.0-beta.3",
|
|
135
146
|
"description": "Set the `continuous` option to `true` for continuous tasks.",
|
|
136
|
-
"factory": "./src/migrations/update-21-0-0/set-continuous-option"
|
|
147
|
+
"factory": "./src/migrations/update-21-0-0/set-continuous-option",
|
|
148
|
+
"documentation": "./src/migrations/update-21-0-0/set-continuous-option.md"
|
|
137
149
|
},
|
|
138
150
|
"change-data-persistence-operators-imports-to-ngrx-router-store-data-persistence": {
|
|
139
151
|
"cli": "nx",
|
|
@@ -142,7 +154,8 @@
|
|
|
142
154
|
"@ngrx/store": ">=16.0.0"
|
|
143
155
|
},
|
|
144
156
|
"description": "Change the data persistence operator imports to '@ngrx/router-store/data-persistence'.",
|
|
145
|
-
"factory": "./src/migrations/update-21-0-0/change-data-persistence-operators-imports-to-ngrx-router-store-data-persistence"
|
|
157
|
+
"factory": "./src/migrations/update-21-0-0/change-data-persistence-operators-imports-to-ngrx-router-store-data-persistence",
|
|
158
|
+
"documentation": "./src/migrations/update-21-0-0/change-data-persistence-operators-imports-to-ngrx-router-store-data-persistence.md"
|
|
146
159
|
},
|
|
147
160
|
"update-angular-cli-version-20-0-0": {
|
|
148
161
|
"cli": "nx",
|
|
@@ -151,7 +164,8 @@
|
|
|
151
164
|
"@angular/core": ">=20.0.0"
|
|
152
165
|
},
|
|
153
166
|
"description": "Update the @angular/cli package version to ~20.0.0.",
|
|
154
|
-
"factory": "./src/migrations/update-21-2-0/update-angular-cli"
|
|
167
|
+
"factory": "./src/migrations/update-21-2-0/update-angular-cli",
|
|
168
|
+
"documentation": "./src/migrations/update-21-2-0/update-angular-cli.md"
|
|
155
169
|
},
|
|
156
170
|
"migrate-provide-server-rendering-import": {
|
|
157
171
|
"version": "21.2.0-beta.3",
|
|
@@ -159,7 +173,8 @@
|
|
|
159
173
|
"@angular/core": ">=20.0.0"
|
|
160
174
|
},
|
|
161
175
|
"description": "Migrate imports of `provideServerRendering` from `@angular/platform-server` to `@angular/ssr`.",
|
|
162
|
-
"factory": "./src/migrations/update-21-2-0/migrate-provide-server-rendering-import"
|
|
176
|
+
"factory": "./src/migrations/update-21-2-0/migrate-provide-server-rendering-import",
|
|
177
|
+
"documentation": "./src/migrations/update-21-2-0/migrate-provide-server-rendering-import.md"
|
|
163
178
|
},
|
|
164
179
|
"replace-provide-server-routing": {
|
|
165
180
|
"version": "21.2.0-beta.3",
|
|
@@ -167,7 +182,8 @@
|
|
|
167
182
|
"@angular/core": ">=20.0.0"
|
|
168
183
|
},
|
|
169
184
|
"description": "Replace `provideServerRouting` and `provideServerRoutesConfig` with `provideServerRendering` using `withRoutes`.",
|
|
170
|
-
"factory": "./src/migrations/update-21-2-0/replace-provide-server-routing"
|
|
185
|
+
"factory": "./src/migrations/update-21-2-0/replace-provide-server-routing",
|
|
186
|
+
"documentation": "./src/migrations/update-21-2-0/replace-provide-server-routing.md"
|
|
171
187
|
},
|
|
172
188
|
"set-generator-defaults-for-previous-style-guide": {
|
|
173
189
|
"version": "21.2.0-beta.3",
|
|
@@ -175,7 +191,8 @@
|
|
|
175
191
|
"@angular/core": ">=20.0.0"
|
|
176
192
|
},
|
|
177
193
|
"description": "Update the generator defaults to maintain the previous style guide behavior.",
|
|
178
|
-
"factory": "./src/migrations/update-21-2-0/set-generator-defaults-for-previous-style-guide"
|
|
194
|
+
"factory": "./src/migrations/update-21-2-0/set-generator-defaults-for-previous-style-guide",
|
|
195
|
+
"documentation": "./src/migrations/update-21-2-0/set-generator-defaults-for-previous-style-guide.md"
|
|
179
196
|
},
|
|
180
197
|
"update-module-resolution": {
|
|
181
198
|
"version": "21.2.0-beta.3",
|
|
@@ -183,7 +200,8 @@
|
|
|
183
200
|
"@angular/core": ">=20.0.0"
|
|
184
201
|
},
|
|
185
202
|
"description": "Update 'moduleResolution' to 'bundler' in TypeScript configurations. You can read more about this here: https://www.typescriptlang.org/tsconfig/#moduleResolution.",
|
|
186
|
-
"factory": "./src/migrations/update-21-2-0/update-module-resolution"
|
|
203
|
+
"factory": "./src/migrations/update-21-2-0/update-module-resolution",
|
|
204
|
+
"documentation": "./src/migrations/update-21-2-0/update-module-resolution.md"
|
|
187
205
|
},
|
|
188
206
|
"update-angular-cli-version-20-1-0": {
|
|
189
207
|
"cli": "nx",
|
|
@@ -192,12 +210,14 @@
|
|
|
192
210
|
"@angular/core": ">=20.1.0"
|
|
193
211
|
},
|
|
194
212
|
"description": "Update the @angular/cli package version to ~20.1.0.",
|
|
195
|
-
"factory": "./src/migrations/update-21-3-0/update-angular-cli"
|
|
213
|
+
"factory": "./src/migrations/update-21-3-0/update-angular-cli",
|
|
214
|
+
"documentation": "./src/migrations/update-21-3-0/update-angular-cli.md"
|
|
196
215
|
},
|
|
197
216
|
"set-tsconfig-option": {
|
|
198
217
|
"version": "21.5.0-beta.0",
|
|
199
218
|
"description": "Set the 'tsConfig' option to build and test targets to help with Angular migration issues.",
|
|
200
|
-
"factory": "./src/migrations/update-21-5-0/set-tsconfig-option"
|
|
219
|
+
"factory": "./src/migrations/update-21-5-0/set-tsconfig-option",
|
|
220
|
+
"documentation": "./src/migrations/update-21-5-0/set-tsconfig-option.md"
|
|
201
221
|
},
|
|
202
222
|
"update-angular-cli-version-20-2-0": {
|
|
203
223
|
"cli": "nx",
|
|
@@ -206,7 +226,8 @@
|
|
|
206
226
|
"@angular/core": ">=20.2.0"
|
|
207
227
|
},
|
|
208
228
|
"description": "Update the @angular/cli package version to ~20.2.0.",
|
|
209
|
-
"factory": "./src/migrations/update-21-5-0/update-angular-cli"
|
|
229
|
+
"factory": "./src/migrations/update-21-5-0/update-angular-cli",
|
|
230
|
+
"documentation": "./src/migrations/update-21-5-0/update-angular-cli.md"
|
|
210
231
|
},
|
|
211
232
|
"remove-default-karma-configuration-files": {
|
|
212
233
|
"version": "21.5.0-beta.2",
|
|
@@ -214,7 +235,8 @@
|
|
|
214
235
|
"@angular/core": ">=20.2.0"
|
|
215
236
|
},
|
|
216
237
|
"description": "Remove any Karma configuration files that only contain the default content. The default configuration is automatically available without a specific project configurationfile.",
|
|
217
|
-
"factory": "./src/migrations/update-21-5-0/remove-default-karma-configuration-files"
|
|
238
|
+
"factory": "./src/migrations/update-21-5-0/remove-default-karma-configuration-files",
|
|
239
|
+
"documentation": "./src/migrations/update-21-5-0/remove-default-karma-configuration-files.md"
|
|
218
240
|
},
|
|
219
241
|
"update-angular-cli-version-20-3-0": {
|
|
220
242
|
"cli": "nx",
|
|
@@ -223,7 +245,8 @@
|
|
|
223
245
|
"@angular/core": ">=20.3.0"
|
|
224
246
|
},
|
|
225
247
|
"description": "Update the @angular/cli package version to ~20.3.0.",
|
|
226
|
-
"factory": "./src/migrations/update-21-6-1/update-angular-cli"
|
|
248
|
+
"factory": "./src/migrations/update-21-6-1/update-angular-cli",
|
|
249
|
+
"documentation": "./src/migrations/update-21-6-1/update-angular-cli.md"
|
|
227
250
|
},
|
|
228
251
|
"update-ssr-webpack-config-22-2-0": {
|
|
229
252
|
"version": "22.3.0-beta.0",
|
|
@@ -231,7 +254,8 @@
|
|
|
231
254
|
"@angular/core": ">=21.0.0"
|
|
232
255
|
},
|
|
233
256
|
"description": "Updates webpack-based SSR configuration to use preserve module format and bundler module resolution.",
|
|
234
|
-
"factory": "./src/migrations/update-22-3-0/update-ssr-webpack-config"
|
|
257
|
+
"factory": "./src/migrations/update-22-3-0/update-ssr-webpack-config",
|
|
258
|
+
"documentation": "./src/migrations/update-22-3-0/update-ssr-webpack-config.md"
|
|
235
259
|
},
|
|
236
260
|
"update-module-resolution-22-2-0": {
|
|
237
261
|
"version": "22.3.0-beta.0",
|
|
@@ -239,7 +263,8 @@
|
|
|
239
263
|
"@angular/core": ">=21.0.0-rc.3"
|
|
240
264
|
},
|
|
241
265
|
"description": "Update 'module' to 'preserve' and 'moduleResolution' to 'bundler' in TypeScript configurations for Angular projects.",
|
|
242
|
-
"factory": "./src/migrations/update-22-3-0/update-module-resolution"
|
|
266
|
+
"factory": "./src/migrations/update-22-3-0/update-module-resolution",
|
|
267
|
+
"documentation": "./src/migrations/update-22-3-0/update-module-resolution.md"
|
|
243
268
|
},
|
|
244
269
|
"update-typescript-lib-22-2-0": {
|
|
245
270
|
"version": "22.3.0-beta.0",
|
|
@@ -247,12 +272,14 @@
|
|
|
247
272
|
"@angular/core": ">=21.0.0"
|
|
248
273
|
},
|
|
249
274
|
"description": "Updates the 'lib' property in tsconfig files to use 'es2022' or a more modern version.",
|
|
250
|
-
"factory": "./src/migrations/update-22-3-0/update-typescript-lib"
|
|
275
|
+
"factory": "./src/migrations/update-22-3-0/update-typescript-lib",
|
|
276
|
+
"documentation": "./src/migrations/update-22-3-0/update-typescript-lib.md"
|
|
251
277
|
},
|
|
252
278
|
"update-unit-test-runner-option": {
|
|
253
279
|
"version": "22.3.0-beta.0",
|
|
254
280
|
"description": "Update 'vitest' unit test runner option to 'vitest-analog' in generator defaults.",
|
|
255
|
-
"factory": "./src/migrations/update-22-3-0/update-unit-test-runner-option"
|
|
281
|
+
"factory": "./src/migrations/update-22-3-0/update-unit-test-runner-option",
|
|
282
|
+
"documentation": "./src/migrations/update-22-3-0/update-unit-test-runner-option.md"
|
|
256
283
|
},
|
|
257
284
|
"set-isolated-modules-22-3-0": {
|
|
258
285
|
"version": "22.3.0-beta.3",
|
|
@@ -260,7 +287,8 @@
|
|
|
260
287
|
"@angular/core": ">=21.0.0"
|
|
261
288
|
},
|
|
262
289
|
"description": "Set 'isolatedModules' to 'true' in TypeScript test configurations for Angular projects.",
|
|
263
|
-
"factory": "./src/migrations/update-22-3-0/set-isolated-modules"
|
|
290
|
+
"factory": "./src/migrations/update-22-3-0/set-isolated-modules",
|
|
291
|
+
"documentation": "./src/migrations/update-22-3-0/set-isolated-modules.md"
|
|
264
292
|
},
|
|
265
293
|
"update-jest-preset-angular-setup": {
|
|
266
294
|
"version": "22.3.0-beta.3",
|
|
@@ -268,17 +296,20 @@
|
|
|
268
296
|
"@angular/core": ">=21.0.0"
|
|
269
297
|
},
|
|
270
298
|
"description": "Replace 'jest-preset-angular/setup-jest' imports with the new 'setupZoneTestEnv' function.",
|
|
271
|
-
"factory": "./src/migrations/update-22-3-0/update-jest-preset-angular-setup"
|
|
299
|
+
"factory": "./src/migrations/update-22-3-0/update-jest-preset-angular-setup",
|
|
300
|
+
"documentation": "./src/migrations/update-22-3-0/update-jest-preset-angular-setup.md"
|
|
272
301
|
},
|
|
273
302
|
"update-23-0-0-update-with-module-federation-import": {
|
|
274
303
|
"version": "23.0.0-beta.0",
|
|
275
304
|
"description": "Update the @nx/angular/module-federation import to use @nx/module-federation/angular.",
|
|
276
|
-
"factory": "./src/migrations/update-23-0-0/migrate-with-mf-import-to-new-package"
|
|
305
|
+
"factory": "./src/migrations/update-23-0-0/migrate-with-mf-import-to-new-package",
|
|
306
|
+
"documentation": "./src/migrations/update-23-0-0/migrate-with-mf-import-to-new-package.md"
|
|
277
307
|
},
|
|
278
308
|
"update-23-0-0-migrate-ngrx-generator-defaults": {
|
|
279
309
|
"version": "23.0.0-beta.7",
|
|
280
310
|
"description": "Split @nx/angular:ngrx generator defaults in nx.json across the @nx/angular:ngrx-root-store and @nx/angular:ngrx-feature-store generators.",
|
|
281
|
-
"factory": "./src/migrations/update-23-0-0/migrate-ngrx-generator-defaults"
|
|
311
|
+
"factory": "./src/migrations/update-23-0-0/migrate-ngrx-generator-defaults",
|
|
312
|
+
"documentation": "./src/migrations/update-23-0-0/migrate-ngrx-generator-defaults.md"
|
|
282
313
|
}
|
|
283
314
|
},
|
|
284
315
|
"packageJsonUpdates": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/angular",
|
|
3
|
-
"version": "23.0.0-beta.
|
|
3
|
+
"version": "23.0.0-beta.22",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Nx Plugin for Angular contains executors, generators, and utilities for managing Angular applications and libraries within an Nx workspace. It provides: \n\n- Integration with libraries such as Storybook, Jest, ESLint, Playwright and Cypress. \n\n- Generators to help scaffold code quickly (like: Micro Frontends, Libraries, both internal to your codebase and publishable to npm) \n\n- Single Component Application Modules (SCAMs) \n\n- NgRx helpers. \n\n- Utilities for automatic workspace refactoring.",
|
|
6
6
|
"repository": {
|
|
@@ -61,13 +61,13 @@
|
|
|
61
61
|
"migrations": "./migrations.json"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@nx/devkit": "23.0.0-beta.
|
|
65
|
-
"@nx/eslint": "23.0.0-beta.
|
|
66
|
-
"@nx/js": "23.0.0-beta.
|
|
67
|
-
"@nx/module-federation": "23.0.0-beta.
|
|
68
|
-
"@nx/rspack": "23.0.0-beta.
|
|
69
|
-
"@nx/web": "23.0.0-beta.
|
|
70
|
-
"@nx/webpack": "23.0.0-beta.
|
|
64
|
+
"@nx/devkit": "23.0.0-beta.22",
|
|
65
|
+
"@nx/eslint": "23.0.0-beta.22",
|
|
66
|
+
"@nx/js": "23.0.0-beta.22",
|
|
67
|
+
"@nx/module-federation": "23.0.0-beta.22",
|
|
68
|
+
"@nx/rspack": "23.0.0-beta.22",
|
|
69
|
+
"@nx/web": "23.0.0-beta.22",
|
|
70
|
+
"@nx/webpack": "23.0.0-beta.22",
|
|
71
71
|
"@phenomnomnominal/tsquery": "~6.2.0",
|
|
72
72
|
"@typescript-eslint/type-utils": "^8.0.0",
|
|
73
73
|
"enquirer": "~2.3.6",
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
#### Add Localize Polyfill to Targets
|
|
2
|
+
|
|
3
|
+
Add the '@angular/localize/init' polyfill to the 'polyfills' option of targets using esbuild-based executors.
|
|
4
|
+
|
|
5
|
+
#### Sample Code Changes
|
|
6
|
+
|
|
7
|
+
Add the `@angular/localize/init` polyfill to any of these executors:
|
|
8
|
+
|
|
9
|
+
- `@angular/build:application`
|
|
10
|
+
- `@angular-devkit/build-angular:application`
|
|
11
|
+
- `@nx/angular:application`
|
|
12
|
+
- `@angular-devkit/build-angular:browser-esbuild`
|
|
13
|
+
- `@nx/angular:browser-esbuild`
|
|
14
|
+
|
|
15
|
+
##### Before
|
|
16
|
+
|
|
17
|
+
```json title="apps/app1/project.json"
|
|
18
|
+
{
|
|
19
|
+
"targets": {
|
|
20
|
+
"build": {
|
|
21
|
+
"executor": "@angular/build:application",
|
|
22
|
+
"options": {
|
|
23
|
+
"localize": true
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
##### After
|
|
31
|
+
|
|
32
|
+
```json title="apps/app1/project.json"
|
|
33
|
+
{
|
|
34
|
+
"targets": {
|
|
35
|
+
"build": {
|
|
36
|
+
"executor": "@angular/build:application",
|
|
37
|
+
"options": {
|
|
38
|
+
"localize": true,
|
|
39
|
+
"polyfills": ["@angular/localize/init"]
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
```
|