|
1 | 1 | {
|
2 | 2 | "migrations": [
|
3 | 3 | {
|
4 |
| - "cli": "nx", |
5 |
| - "version": "19.2.0-beta.2", |
6 |
| - "description": "Updates the default workspace data directory to .nx/workspace-data", |
7 |
| - "implementation": "./src/migrations/update-19-2-0/move-workspace-data-directory", |
| 4 | + "version": "21.0.0-beta.8", |
| 5 | + "description": "Removes the legacy cache configuration from nx.json", |
| 6 | + "implementation": "./src/migrations/update-21-0-0/remove-legacy-cache", |
8 | 7 | "package": "nx",
|
9 |
| - "name": "19-2-0-move-graph-cache-directory" |
| 8 | + "name": "remove-legacy-cache" |
10 | 9 | },
|
11 | 10 | {
|
12 |
| - "cli": "nx", |
13 |
| - "version": "19.2.2-beta.0", |
14 |
| - "description": "Updates the nx wrapper.", |
15 |
| - "implementation": "./src/migrations/update-17-3-0/update-nxw", |
| 11 | + "version": "21.0.0-beta.8", |
| 12 | + "description": "Removes the legacy cache configuration from nx.json", |
| 13 | + "implementation": "./src/migrations/update-21-0-0/remove-custom-tasks-runner", |
16 | 14 | "package": "nx",
|
17 |
| - "name": "19-2-2-update-nx-wrapper" |
| 15 | + "name": "remove-custom-tasks-runner" |
18 | 16 | },
|
19 | 17 | {
|
20 |
| - "version": "19.2.4-beta.0", |
21 |
| - "description": "Set project name in nx.json explicitly", |
22 |
| - "implementation": "./src/migrations/update-19-2-4/set-project-name", |
23 |
| - "x-repair-skip": true, |
| 18 | + "version": "21.0.0-beta.11", |
| 19 | + "description": "Updates release version config based on the breaking changes in Nx v21", |
| 20 | + "implementation": "./src/migrations/update-21-0-0/release-version-config-changes", |
24 | 21 | "package": "nx",
|
25 |
| - "name": "19-2-4-set-project-name" |
| 22 | + "name": "release-version-config-changes" |
26 | 23 | },
|
27 | 24 | {
|
28 |
| - "version": "20.0.0-beta.7", |
29 |
| - "description": "Migration for v20.0.0-beta.7", |
30 |
| - "implementation": "./src/migrations/update-20-0-0/move-use-daemon-process", |
| 25 | + "version": "21.0.0-beta.11", |
| 26 | + "description": "Updates release changelog config based on the breaking changes in Nx v21", |
| 27 | + "implementation": "./src/migrations/update-21-0-0/release-changelog-config-changes", |
31 | 28 | "package": "nx",
|
32 |
| - "name": "move-use-daemon-process" |
| 29 | + "name": "release-changelog-config-changes" |
33 | 30 | },
|
34 | 31 | {
|
35 |
| - "version": "20.0.1", |
36 |
| - "description": "Set `useLegacyCache` to true for migrating workspaces", |
37 |
| - "implementation": "./src/migrations/update-20-0-1/use-legacy-cache", |
38 |
| - "x-repair-skip": true, |
| 32 | + "version": "21.1.0-beta.2", |
| 33 | + "description": "Adds **/nx-rules.mdc and **/nx.instructions.md to .gitignore if not present", |
| 34 | + "implementation": "./src/migrations/update-21-1-0/add-gitignore-entry", |
39 | 35 | "package": "nx",
|
40 |
| - "name": "use-legacy-cache" |
| 36 | + "name": "21-1-0-add-ignore-entries-for-nx-rule-files" |
41 | 37 | },
|
42 | 38 | {
|
43 |
| - "version": "20.2.0-beta.5", |
44 |
| - "description": "Update TypeScript ESLint packages to v8.13.0 if they are already on v8", |
45 |
| - "implementation": "./src/migrations/update-20-2-0/update-typescript-eslint-v8-13-0", |
| 39 | + "version": "20.3.0-beta.1", |
| 40 | + "description": "Update ESLint flat config to include .cjs, .mjs, .cts, and .mts files in overrides (if needed)", |
| 41 | + "implementation": "./src/migrations/update-20-3-0/add-file-extensions-to-overrides", |
46 | 42 | "package": "@nx/eslint",
|
47 |
| - "name": "update-typescript-eslint-v8.13.0" |
| 43 | + "name": "add-file-extensions-to-overrides" |
48 | 44 | },
|
49 | 45 | {
|
50 | 46 | "cli": "nx",
|
51 |
| - "version": "20.0.0-beta.5", |
52 |
| - "description": "replace getJestProjects with getJestProjectsAsync", |
53 |
| - "implementation": "./src/migrations/update-20-0-0/replace-getJestProjects-with-getJestProjectsAsync", |
| 47 | + "version": "21.0.0-beta.9", |
| 48 | + "description": "Replace usage of `getJestProjects` with `getJestProjectsAsync`.", |
| 49 | + "implementation": "./src/migrations/update-21-0-0/replace-getJestProjects-with-getJestProjectsAsync", |
54 | 50 | "package": "@nx/jest",
|
55 |
| - "name": "replace-getJestProjects-with-getJestProjectsAsync" |
56 |
| - }, |
57 |
| - { |
58 |
| - "cli": "nx", |
59 |
| - "version": "19.6.0-beta.0", |
60 |
| - "description": "Use serve-static or preview for webServerCommand.", |
61 |
| - "implementation": "./src/migrations/update-19-6-0/use-serve-static-preview-for-command", |
62 |
| - "package": "@nx/playwright", |
63 |
| - "name": "19-6-0-use-serve-static-preview-for-command" |
64 |
| - }, |
65 |
| - { |
66 |
| - "cli": "nx", |
67 |
| - "version": "19.6.0-beta.1", |
68 |
| - "description": "Add inferred ciTargetNames to targetDefaults with dependsOn to ensure dependent application builds are scheduled before atomized tasks.", |
69 |
| - "implementation": "./src/migrations/update-19-6-0/add-e2e-ci-target-defaults", |
70 |
| - "package": "@nx/playwright", |
71 |
| - "name": "update-19-6-0-add-e2e-ci-target-defaults" |
72 |
| - }, |
73 |
| - { |
74 |
| - "cli": "nx", |
75 |
| - "version": "19.2.1-beta.0", |
76 |
| - "requires": { "@angular-eslint/eslint-plugin": ">=18.0.0" }, |
77 |
| - "description": "Installs the '@typescript-eslint/utils' package when having installed '@angular-eslint/eslint-plugin' or '@angular-eslint/eslint-plugin-template' with version >=18.0.0.", |
78 |
| - "factory": "./src/migrations/update-19-2-1/add-typescript-eslint-utils", |
79 |
| - "package": "@nx/angular", |
80 |
| - "name": "add-typescript-eslint-utils" |
81 |
| - }, |
82 |
| - { |
83 |
| - "cli": "nx", |
84 |
| - "version": "19.5.0-beta.1", |
85 |
| - "requires": { "@angular/core": ">=18.1.0" }, |
86 |
| - "description": "Update the @angular/cli package version to ~18.1.0.", |
87 |
| - "factory": "./src/migrations/update-19-5-0/update-angular-cli", |
88 |
| - "package": "@nx/angular", |
89 |
| - "name": "update-angular-cli-version-18-1-0" |
| 51 | + "name": "replace-getJestProjects-with-getJestProjectsAsync-v21" |
90 | 52 | },
|
91 | 53 | {
|
92 |
| - "cli": "nx", |
93 |
| - "version": "19.6.0-beta.4", |
94 |
| - "description": "Ensure Module Federation DTS is turned off by default.", |
95 |
| - "factory": "./src/migrations/update-19-6-0/turn-off-dts-by-default", |
96 |
| - "package": "@nx/angular", |
97 |
| - "name": "update-19-6-0" |
| 54 | + "version": "21.0.0-beta.10", |
| 55 | + "description": "Remove the previously deprecated and unused `tsConfig` option from the `@nx/jest:jest` executor.", |
| 56 | + "implementation": "./src/migrations/update-21-0-0/remove-tsconfig-option-from-jest-executor", |
| 57 | + "package": "@nx/jest", |
| 58 | + "name": "remove-tsconfig-option-from-jest-executor" |
98 | 59 | },
|
99 | 60 | {
|
100 | 61 | "cli": "nx",
|
101 |
| - "version": "19.6.0-beta.7", |
102 |
| - "requires": { "@angular/core": ">=18.2.0" }, |
103 |
| - "description": "Update the @angular/cli package version to ~18.2.0.", |
104 |
| - "factory": "./src/migrations/update-19-6-0/update-angular-cli", |
| 62 | + "version": "20.3.0-beta.2", |
| 63 | + "description": "If workspace includes Module Federation projects, ensure the new @nx/module-federation package is installed.", |
| 64 | + "factory": "./src/migrations/update-20-3-0/ensure-nx-module-federation-package", |
105 | 65 | "package": "@nx/angular",
|
106 |
| - "name": "update-angular-cli-version-18-2-0" |
| 66 | + "name": "ensure-nx-module-federation-package" |
107 | 67 | },
|
108 | 68 | {
|
109 | 69 | "cli": "nx",
|
110 |
| - "version": "19.6.1-beta.0", |
111 |
| - "description": "Ensure Target Defaults are set correctly for Module Federation.", |
112 |
| - "factory": "./src/migrations/update-19-6-1/ensure-depends-on-for-mf", |
| 70 | + "version": "20.4.0-beta.1", |
| 71 | + "requires": { "@angular/core": ">=19.1.0" }, |
| 72 | + "description": "Update the @angular/cli package version to ~19.1.0.", |
| 73 | + "factory": "./src/migrations/update-20-4-0/update-angular-cli", |
113 | 74 | "package": "@nx/angular",
|
114 |
| - "name": "update-19-6-1-ensure-module-federation-target-defaults" |
| 75 | + "name": "update-angular-cli-version-19-1-0" |
115 | 76 | },
|
116 | 77 | {
|
117 | 78 | "cli": "nx",
|
118 |
| - "version": "20.2.0-beta.2", |
119 |
| - "description": "Update the ModuleFederationConfig import use @nx/module-federation.", |
120 |
| - "factory": "./src/migrations/update-20-2-0/migrate-mf-imports-to-new-package", |
| 79 | + "version": "20.5.0-beta.5", |
| 80 | + "requires": { "@angular/core": ">=19.2.0" }, |
| 81 | + "description": "Update the @angular/cli package version to ~19.2.0.", |
| 82 | + "factory": "./src/migrations/update-20-5-0/update-angular-cli", |
121 | 83 | "package": "@nx/angular",
|
122 |
| - "name": "update-20-2-0-update-module-federation-config-import" |
| 84 | + "name": "update-angular-cli-version-19-2-0" |
123 | 85 | },
|
124 | 86 | {
|
125 | 87 | "cli": "nx",
|
126 |
| - "version": "20.2.0-beta.2", |
127 |
| - "description": "Update the withModuleFederation import use @nx/module-federation/angular.", |
128 |
| - "factory": "./src/migrations/update-20-2-0/migrate-with-mf-import-to-new-package", |
| 88 | + "version": "21.0.0-beta.3", |
| 89 | + "description": "Set the `continuous` option to `true` for continuous tasks.", |
| 90 | + "factory": "./src/migrations/update-21-0-0/set-continuous-option", |
129 | 91 | "package": "@nx/angular",
|
130 |
| - "name": "update-20-2-0-update-with-module-federation-import" |
| 92 | + "name": "set-continuous-option" |
131 | 93 | },
|
132 | 94 | {
|
133 | 95 | "cli": "nx",
|
134 |
| - "version": "20.2.0-beta.5", |
135 |
| - "requires": { "@angular/core": ">=19.0.0" }, |
136 |
| - "description": "Update the @angular/cli package version to ~19.0.0.", |
137 |
| - "factory": "./src/migrations/update-20-2-0/update-angular-cli", |
| 96 | + "version": "21.2.0-beta.3", |
| 97 | + "requires": { "@angular/core": ">=20.0.0" }, |
| 98 | + "description": "Update the @angular/cli package version to ~20.0.0.", |
| 99 | + "factory": "./src/migrations/update-21-2-0/update-angular-cli", |
138 | 100 | "package": "@nx/angular",
|
139 |
| - "name": "update-angular-cli-version-19-0-0" |
| 101 | + "name": "update-angular-cli-version-20-0-0" |
140 | 102 | },
|
141 | 103 | {
|
142 |
| - "cli": "nx", |
143 |
| - "version": "20.2.0-beta.5", |
144 |
| - "requires": { "@angular/core": ">=19.0.0" }, |
145 |
| - "description": "Add the '@angular/localize/init' polyfill to the 'polyfills' option of targets using esbuild-based executors.", |
146 |
| - "factory": "./src/migrations/update-20-2-0/add-localize-polyfill-to-targets", |
| 104 | + "version": "21.2.0-beta.3", |
| 105 | + "requires": { "@angular/core": ">=20.0.0" }, |
| 106 | + "description": "Migrate imports of `provideServerRendering` from `@angular/platform-server` to `@angular/ssr`.", |
| 107 | + "factory": "./src/migrations/update-21-2-0/migrate-provide-server-rendering-import", |
147 | 108 | "package": "@nx/angular",
|
148 |
| - "name": "add-localize-polyfill-to-targets" |
| 109 | + "name": "migrate-provide-server-rendering-import" |
149 | 110 | },
|
150 | 111 | {
|
151 |
| - "cli": "nx", |
152 |
| - "version": "20.2.0-beta.5", |
153 |
| - "requires": { "@angular/core": ">=19.0.0" }, |
154 |
| - "description": "Update '@angular/ssr' import paths to use the new '/node' entry point when 'CommonEngine' is detected.", |
155 |
| - "factory": "./src/migrations/update-20-2-0/update-angular-ssr-imports-to-use-node-entry-point", |
| 112 | + "version": "21.2.0-beta.3", |
| 113 | + "requires": { "@angular/core": ">=20.0.0" }, |
| 114 | + "description": "Replace `provideServerRouting` and `provideServerRoutesConfig` with `provideServerRendering` using `withRoutes`.", |
| 115 | + "factory": "./src/migrations/update-21-2-0/replace-provide-server-routing", |
156 | 116 | "package": "@nx/angular",
|
157 |
| - "name": "update-angular-ssr-imports-to-use-node-entry-point" |
| 117 | + "name": "replace-provide-server-routing" |
158 | 118 | },
|
159 | 119 | {
|
160 |
| - "cli": "nx", |
161 |
| - "version": "20.2.0-beta.6", |
162 |
| - "requires": { "@angular/core": ">=19.0.0" }, |
163 |
| - "description": "Disable the Angular ESLint prefer-standalone rule if not set.", |
164 |
| - "factory": "./src/migrations/update-20-2-0/disable-angular-eslint-prefer-standalone", |
| 120 | + "version": "21.2.0-beta.3", |
| 121 | + "requires": { "@angular/core": ">=20.0.0" }, |
| 122 | + "description": "Update the generator defaults to maintain the previous style guide behavior.", |
| 123 | + "factory": "./src/migrations/update-21-2-0/set-generator-defaults-for-previous-style-guide", |
165 | 124 | "package": "@nx/angular",
|
166 |
| - "name": "disable-angular-eslint-prefer-standalone" |
| 125 | + "name": "set-generator-defaults-for-previous-style-guide" |
167 | 126 | },
|
168 | 127 | {
|
169 |
| - "cli": "nx", |
170 |
| - "version": "20.2.0-beta.8", |
171 |
| - "requires": { "@angular/core": ">=19.0.0" }, |
172 |
| - "description": "Remove Angular ESLint rules that were removed in v19.0.0.", |
173 |
| - "factory": "./src/migrations/update-20-2-0/remove-angular-eslint-rules", |
| 128 | + "version": "21.2.0-beta.3", |
| 129 | + "requires": { "@angular/core": ">=20.0.0" }, |
| 130 | + "description": "Update 'moduleResolution' to 'bundler' in TypeScript configurations. You can read more about this here: https://www.typescriptlang.org/tsconfig/#moduleResolution.", |
| 131 | + "factory": "./src/migrations/update-21-2-0/update-module-resolution", |
174 | 132 | "package": "@nx/angular",
|
175 |
| - "name": "remove-angular-eslint-rules" |
| 133 | + "name": "update-module-resolution" |
176 | 134 | },
|
177 | 135 | {
|
178 |
| - "cli": "nx", |
179 |
| - "version": "20.2.0-beta.8", |
180 |
| - "requires": { "@angular/core": ">=19.0.0" }, |
181 |
| - "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.", |
182 |
| - "factory": "./src/migrations/update-20-2-0/remove-tailwind-config-from-ng-packagr-executors", |
183 |
| - "package": "@nx/angular", |
184 |
| - "name": "remove-tailwind-config-from-ng-packagr-executors" |
| 136 | + "version": "20.0.0", |
| 137 | + "description": "Replaces usages of the deprecated InjectFlags enum", |
| 138 | + "factory": "./bundles/inject-flags.cjs#migrate", |
| 139 | + "package": "@angular/core", |
| 140 | + "name": "inject-flags" |
185 | 141 | },
|
186 | 142 | {
|
187 |
| - "version": "19.0.0", |
188 |
| - "description": "Updates non-standalone Directives, Component and Pipes to 'standalone:false' and removes 'standalone:true' from those who are standalone", |
189 |
| - "factory": "./bundles/explicit-standalone-flag#migrate", |
| 143 | + "version": "20.0.0", |
| 144 | + "description": "Replaces usages of the deprecated TestBed.get method with TestBed.inject", |
| 145 | + "factory": "./bundles/test-bed-get.cjs#migrate", |
190 | 146 | "package": "@angular/core",
|
191 |
| - "name": "explicit-standalone-flag" |
| 147 | + "name": "test-bed-get" |
192 | 148 | },
|
193 | 149 | {
|
194 |
| - "version": "19.0.0", |
195 |
| - "description": "Updates ExperimentalPendingTasks to PendingTasks", |
196 |
| - "factory": "./bundles/pending-tasks#migrate", |
| 150 | + "version": "20.0.0", |
| 151 | + "description": "Converts the entire application to block control flow syntax", |
| 152 | + "factory": "./bundles/control-flow-migration.cjs#migrate", |
| 153 | + "optional": true, |
197 | 154 | "package": "@angular/core",
|
198 |
| - "name": "pending-tasks" |
| 155 | + "name": "control-flow-migration" |
199 | 156 | },
|
200 | 157 | {
|
201 |
| - "version": "19.0.0", |
202 |
| - "description": "Replaces `APP_INITIALIZER`, `ENVIRONMENT_INITIALIZER` & `PLATFORM_INITIALIZER` respectively with `provideAppInitializer`, `provideEnvironmentInitializer` & `providePlatformInitializer`.", |
203 |
| - "factory": "./bundles/provide-initializer#migrate", |
204 |
| - "optional": true, |
| 158 | + "version": "20.0.0", |
| 159 | + "description": "Moves imports of `DOCUMENT` from `@angular/common` to `@angular/core`", |
| 160 | + "factory": "./bundles/document-core.cjs#migrate", |
205 | 161 | "package": "@angular/core",
|
206 |
| - "name": "provide-initializer" |
| 162 | + "name": "document-core" |
207 | 163 | }
|
208 | 164 | ]
|
209 | 165 | }
|
0 commit comments