Skip to content

Commit f3fec4f

Browse files
committed
refactor: remove version 20 migrations
This commit remove the non optional migrations for version 20 as these have already been executed.
1 parent f8ad0f9 commit f3fec4f

File tree

7 files changed

+2
-634
lines changed

7 files changed

+2
-634
lines changed

packages/schematics/angular/migrations/migration-collection.json

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,15 @@
11
{
22
"schematics": {
3-
"replace-provide-server-rendering-import": {
4-
"version": "20.0.0",
5-
"factory": "./replace-provide-server-rendering-import/migration",
6-
"description": "Migrate imports of 'provideServerRendering' from '@angular/platform-server' to '@angular/ssr'."
7-
},
8-
"replace-provide-server-routing": {
9-
"version": "20.0.0",
10-
"factory": "./replace-provide-server-routing/migration",
11-
"description": "Migrate 'provideServerRendering' to use 'withRoutes', and remove 'provideServerRouting' and 'provideServerRoutesConfig' from '@angular/ssr'."
12-
},
13-
"update-module-resolution": {
14-
"version": "20.0.0",
15-
"factory": "./update-module-resolution/migration",
16-
"description": "Update 'moduleResolution' to 'bundler' in TypeScript configurations. You can read more about this, here: https://www.typescriptlang.org/tsconfig/#moduleResolution"
17-
},
18-
"previous-style-guide": {
19-
"version": "20.0.0",
20-
"factory": "./previous-style-guide/migration",
21-
"description": "Update workspace generation defaults to maintain previous style guide behavior."
22-
},
233
"use-application-builder": {
24-
"version": "20.0.0",
4+
"version": "21.0.0",
255
"factory": "./use-application-builder/migration",
266
"description": "Migrate application projects to the new build system. Application projects that are using the '@angular-devkit/build-angular' package's 'browser' and/or 'browser-esbuild' builders will be migrated to use the new 'application' builder. You can read more about this, including known issues and limitations, here: https://angular.dev/tools/cli/build-system-migration",
277
"optional": true,
288
"recommended": true,
299
"documentation": "tools/cli/build-system-migration"
3010
},
3111
"remove-default-karma-config": {
32-
"version": "20.2.0",
12+
"version": "21.0.0",
3313
"factory": "./karma/migration",
3414
"description": "Remove any karma configuration files that only contain the default content. The default configuration is automatically available without a specific project file."
3515
}

packages/schematics/angular/migrations/replace-provide-server-rendering-import/migration.ts

Lines changed: 0 additions & 111 deletions
This file was deleted.

packages/schematics/angular/migrations/replace-provide-server-rendering-import/migration_spec.ts

Lines changed: 0 additions & 91 deletions
This file was deleted.

packages/schematics/angular/migrations/replace-provide-server-routing/migration.ts

Lines changed: 0 additions & 119 deletions
This file was deleted.

0 commit comments

Comments
 (0)