Skip to content

Commit

Permalink
refactor(migrations): remove v17 migrations (#55391)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
alan-agius4 authored and alxhub committed Apr 19, 2024
1 parent 4d61501 commit 164dde4
Show file tree
Hide file tree
Showing 20 changed files with 1 addition and 7,052 deletions.
3 changes: 0 additions & 3 deletions packages/core/schematics/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ pkg_npm(
validate = False,
visibility = ["//packages/core:__pkg__"],
deps = [
"//packages/core/schematics/migrations/block-template-entities:bundle",
"//packages/core/schematics/migrations/compiler-options:bundle",
"//packages/core/schematics/migrations/invalid-two-way-bindings:bundle",
"//packages/core/schematics/migrations/transfer-state:bundle",
"//packages/core/schematics/ng-generate/control-flow-migration:bundle",
"//packages/core/schematics/ng-generate/standalone-migration:bundle",
],
Expand Down
17 changes: 1 addition & 16 deletions packages/core/schematics/migrations.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,7 @@
{
"schematics": {
"block-template-entities": {
"version": "17.0.0",
"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.",
"factory": "./migrations/block-template-entities/bundle"
},
"migration-v17-compiler-options": {
"version": "17.0.0",
"description": "CompilerOption.useJit and CompilerOption.missingTranslation are unused under Ivy. This migration removes their usage",
"factory": "./migrations/compiler-options/bundle"
},
"migration-transfer-state": {
"version": "17.0.0",
"description": "Updates `TransferState`, `makeStateKey`, `StateKey` imports from `@angular/platform-browser` to `@angular/core`.",
"factory": "./migrations/transfer-state/bundle"
},
"invalid-two-way-bindings": {
"version": "17.3.0",
"version": "18.0.0",
"description": "Updates two-way bindings that have an invalid expression to use the longform expression instead.",
"factory": "./migrations/invalid-two-way-bindings/bundle"
}
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

191 changes: 0 additions & 191 deletions packages/core/schematics/migrations/block-template-entities/util.ts

This file was deleted.

33 changes: 0 additions & 33 deletions packages/core/schematics/migrations/compiler-options/BUILD.bazel

This file was deleted.

0 comments on commit 164dde4

Please sign in to comment.