-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathmigrations.json
More file actions
200 lines (200 loc) · 8.49 KB
/
migrations.json
File metadata and controls
200 lines (200 loc) · 8.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
{
"migrations": [
{
"version": "22.0.0-beta.1",
"description": "Updates release version config based on the breaking changes in Nx v22",
"implementation": "./src/migrations/update-22-0-0/release-version-config-changes",
"package": "nx",
"name": "22-0-0-release-version-config-changes"
},
{
"version": "22.0.0-beta.2",
"description": "Consolidates releaseTag* options into nested releaseTag object structure",
"implementation": "./src/migrations/update-22-0-0/consolidate-release-tag-config",
"package": "nx",
"name": "22-0-0-consolidate-release-tag-config"
},
{
"cli": "nx",
"version": "22.1.0-beta.5",
"description": "Updates the nx wrapper.",
"implementation": "./src/migrations/update-22-1-0/update-nx-wrapper",
"package": "nx",
"name": "22-1-0-update-nx-wrapper"
},
{
"version": "21.5.0-beta.2",
"description": "Migrate the legacy 'development' custom condition to a workspace-unique custom condition name.",
"factory": "./src/migrations/update-21-5-0/migrate-development-custom-condition",
"package": "@nx/js",
"name": "migrate-development-custom-condition"
},
{
"version": "22.0.0-beta.0",
"description": "Remove the deprecated `external` and `externalBuildTargets` options from the `@nx/js:swc` and `@nx/js:tsc` executors.",
"factory": "./src/migrations/update-22-0-0/remove-external-options-from-js-executors",
"package": "@nx/js",
"name": "remove-external-options-from-js-executors"
},
{
"version": "22.1.0-rc.1",
"description": "Removes redundant TypeScript project references from project's tsconfig.json files when runtime tsconfig files (e.g., tsconfig.lib.json, tsconfig.app.json) exist.",
"factory": "./src/migrations/update-22-1-0/remove-redundant-ts-project-references",
"package": "@nx/js",
"name": "remove-redundant-ts-project-references"
},
{
"version": "22.2.0-beta.2",
"description": "Convert jest.config.ts files from ESM to CJS syntax (export default -> module.exports, import -> require) for projects using CommonJS resolution to ensure correct loading under Node.js type-stripping.",
"implementation": "./src/migrations/update-22-2-0/convert-jest-config-to-cjs",
"package": "@nx/jest",
"name": "convert-jest-config-to-cjs"
},
{
"version": "21.5.0-beta.0",
"description": "Set the 'tsConfig' option to build and test targets to help with Angular migration issues.",
"factory": "./src/migrations/update-21-5-0/set-tsconfig-option",
"package": "@nx/angular",
"name": "set-tsconfig-option"
},
{
"cli": "nx",
"version": "21.5.0-beta.2",
"requires": { "@angular/core": ">=20.2.0" },
"description": "Update the @angular/cli package version to ~20.2.0.",
"factory": "./src/migrations/update-21-5-0/update-angular-cli",
"package": "@nx/angular",
"name": "update-angular-cli-version-20-2-0"
},
{
"version": "21.5.0-beta.2",
"requires": { "@angular/core": ">=20.2.0" },
"description": "Remove any Karma configuration files that only contain the default content. The default configuration is automatically available without a specific project configurationfile.",
"factory": "./src/migrations/update-21-5-0/remove-default-karma-configuration-files",
"package": "@nx/angular",
"name": "remove-default-karma-configuration-files"
},
{
"cli": "nx",
"version": "21.6.1-beta.2",
"requires": { "@angular/core": ">=20.3.0" },
"description": "Update the @angular/cli package version to ~20.3.0.",
"factory": "./src/migrations/update-21-6-1/update-angular-cli",
"package": "@nx/angular",
"name": "update-angular-cli-version-20-3-0"
},
{
"version": "22.3.0-beta.0",
"requires": { "@angular/core": ">=21.0.0" },
"description": "Update the @angular/cli package version to ~21.0.0.",
"factory": "./src/migrations/update-22-3-0/update-angular-cli",
"package": "@nx/angular",
"name": "update-angular-cli-version-21-0-0"
},
{
"version": "22.3.0-beta.0",
"requires": { "@angular/core": ">=21.0.0" },
"description": "Updates webpack-based SSR configuration to use preserve module format and bundler module resolution.",
"factory": "./src/migrations/update-22-3-0/update-ssr-webpack-config",
"package": "@nx/angular",
"name": "update-ssr-webpack-config-22-2-0"
},
{
"version": "22.3.0-beta.0",
"requires": { "@angular/core": ">=21.0.0-rc.3" },
"description": "Update 'module' to 'preserve' and 'moduleResolution' to 'bundler' in TypeScript configurations for Angular projects.",
"factory": "./src/migrations/update-22-3-0/update-module-resolution",
"package": "@nx/angular",
"name": "update-module-resolution-22-2-0"
},
{
"version": "22.3.0-beta.0",
"requires": { "@angular/core": ">=21.0.0" },
"description": "Updates the 'lib' property in tsconfig files to use 'es2022' or a more modern version.",
"factory": "./src/migrations/update-22-3-0/update-typescript-lib",
"package": "@nx/angular",
"name": "update-typescript-lib-22-2-0"
},
{
"version": "22.3.0-beta.0",
"requires": { "@angular/core": ">=21.0.0" },
"description": "Update 'vitest' unit test runner option to 'vitest-analog' in generator defaults.",
"factory": "./src/migrations/update-22-3-0/update-unit-test-runner-option",
"package": "@nx/angular",
"name": "update-unit-test-runner-option"
},
{
"version": "22.3.0-beta.3",
"requires": { "@angular/core": ">=21.0.0" },
"description": "Set 'isolatedModules' to 'true' in TypeScript test configurations for Angular projects.",
"factory": "./src/migrations/update-22-3-0/set-isolated-modules",
"package": "@nx/angular",
"name": "set-isolated-modules-22-3-0"
},
{
"version": "22.3.0-beta.3",
"requires": { "@angular/core": ">=21.0.0" },
"description": "Replace 'jest-preset-angular/setup-jest' imports with the new 'setupZoneTestEnv' function.",
"factory": "./src/migrations/update-22-3-0/update-jest-preset-angular-setup",
"package": "@nx/angular",
"name": "update-jest-preset-angular-setup"
},
{
"version": "21.0.0",
"description": "Converts the entire application to block control flow syntax",
"factory": "./bundles/control-flow-migration.cjs#migrate",
"package": "@angular/core",
"name": "control-flow-migration"
},
{
"version": "21.0.0",
"description": "Replaces usages of the deprecated Router.getCurrentNavigation method with the Router.currentNavigation signal",
"factory": "./bundles/router-current-navigation.cjs#migrate",
"optional": true,
"package": "@angular/core",
"name": "router-current-navigation"
},
{
"version": "21.0.0",
"description": "Ensures that the Router.lastSuccessfulNavigation signal is now invoked",
"factory": "./bundles/router-last-successful-navigation.cjs#migrate",
"package": "@angular/core",
"name": "router-last-successful-navigation"
},
{
"version": "21.0.0",
"description": "Moves imports of `ApplicationConfig` from `@angular/platform-browser` to `@angular/core`",
"factory": "./bundles/application-config-core.cjs#migrate",
"package": "@angular/core",
"name": "application-config-core"
},
{
"version": "21.0.0",
"description": "Adds `BootstrapContext` to `bootstrapApplication` calls in `main.server.ts` to support server rendering.",
"factory": "./bundles/add-bootstrap-context-to-server-main.cjs#migrate",
"package": "@angular/core",
"name": "add-bootstrap-context-to-server-main"
},
{
"version": "21.0.0",
"description": "Migrates deprecated bootstrap options to providers.",
"factory": "./bundles/bootstrap-options-migration.cjs#migrate",
"package": "@angular/core",
"name": "bootstrap-options-migration"
},
{
"version": "21.0.0-0",
"description": "Updates Angular Material to v21",
"factory": "./ng-update/index_bundled#updateToV21",
"package": "@angular/material",
"name": "migration-v21"
},
{
"version": "21.0.0-0",
"description": "Updates the Angular CDK to v21",
"factory": "./ng-update/index#updateToV21",
"package": "@angular/cdk",
"name": "migration-v21"
}
]
}