Skip to content

Commit 166166d

Browse files
crisbetodylhunn
authored andcommitted
fix(migrations): add alias to inject migration (#57127)
Adds a shorter alias to the inject migration. PR Close #57127
1 parent 0f0a1f2 commit 166166d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/core/schematics/collection.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@
1919
"inject-migration": {
2020
"description": "Converts usages of constructor-based injection to the inject() function",
2121
"factory": "./ng-generate/inject-migration/bundle",
22-
"schema": "./ng-generate/inject-migration/schema.json"
22+
"schema": "./ng-generate/inject-migration/schema.json",
23+
"aliases": [
24+
"inject"
25+
]
2326
}
2427
}
2528
}

0 commit comments

Comments
 (0)