Skip to content

Commit 164dde4

Browse files
alan-agius4alxhub
authored andcommitted
refactor(migrations): remove v17 migrations (#55391)
This commit removes of migrations introduced in version 17, along with the relocation of a migration from 17.3 to version 18. This ensures that this is ran for users who may have updated from one minor to another without executing `ng update` PR Close #55391
1 parent 4d61501 commit 164dde4

File tree

20 files changed

+1
-7052
lines changed

20 files changed

+1
-7052
lines changed

β€Žpackages/core/schematics/BUILD.bazelβ€Ž

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@ pkg_npm(
1818
validate = False,
1919
visibility = ["//packages/core:__pkg__"],
2020
deps = [
21-
"//packages/core/schematics/migrations/block-template-entities:bundle",
22-
"//packages/core/schematics/migrations/compiler-options:bundle",
2321
"//packages/core/schematics/migrations/invalid-two-way-bindings:bundle",
24-
"//packages/core/schematics/migrations/transfer-state:bundle",
2522
"//packages/core/schematics/ng-generate/control-flow-migration:bundle",
2623
"//packages/core/schematics/ng-generate/standalone-migration:bundle",
2724
],

β€Žpackages/core/schematics/migrations.jsonβ€Ž

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,7 @@
11
{
22
"schematics": {
3-
"block-template-entities": {
4-
"version": "17.0.0",
5-
"description": "Angular v17 introduces a new control flow syntax that uses the @ and } characters. This migration replaces the existing usages with their corresponding HTML entities.",
6-
"factory": "./migrations/block-template-entities/bundle"
7-
},
8-
"migration-v17-compiler-options": {
9-
"version": "17.0.0",
10-
"description": "CompilerOption.useJit and CompilerOption.missingTranslation are unused under Ivy. This migration removes their usage",
11-
"factory": "./migrations/compiler-options/bundle"
12-
},
13-
"migration-transfer-state": {
14-
"version": "17.0.0",
15-
"description": "Updates `TransferState`, `makeStateKey`, `StateKey` imports from `@angular/platform-browser` to `@angular/core`.",
16-
"factory": "./migrations/transfer-state/bundle"
17-
},
183
"invalid-two-way-bindings": {
19-
"version": "17.3.0",
4+
"version": "18.0.0",
205
"description": "Updates two-way bindings that have an invalid expression to use the longform expression instead.",
216
"factory": "./migrations/invalid-two-way-bindings/bundle"
227
}

β€Žpackages/core/schematics/migrations/block-template-entities/BUILD.bazelβ€Ž

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

β€Žpackages/core/schematics/migrations/block-template-entities/README.mdβ€Ž

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

β€Žpackages/core/schematics/migrations/block-template-entities/index.tsβ€Ž

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

β€Žpackages/core/schematics/migrations/block-template-entities/util.tsβ€Ž

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

β€Žpackages/core/schematics/migrations/compiler-options/BUILD.bazelβ€Ž

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

0 commit comments

Comments
Β (0)