mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
f094bb54a7
572b54967c changed how the schematic
tests are executed. Tests no longer use the schematic collection
that is also used by the CLI `ng update` command and therefore
the migration collection could technically be invalid.
In order to ensure that the public migration collection is guaranteed
to work and to avoid duplication within two schematic collections, the
changes are partially reverted and only the disabled `injectable-pipe`
schematic has its own collection.
PR Close #30198
11 lines
371 B
JSON
11 lines
371 B
JSON
{
|
|
// Migrations which are not publicly enabled but still run as part of tests need to
|
|
// be part of a schematic collection in order to be able to run it.
|
|
"schematics": {
|
|
"migration-injectable-pipe": {
|
|
"description": "Migrates all Pipe classes so that they have an Injectable annotation",
|
|
"factory": "../migrations/injectable-pipe/index"
|
|
}
|
|
}
|
|
}
|