Skip to content

Commit e523a48

Browse files
alan-agius4vikerman
authored andcommitted
feat(@schematics/angular): support adding app-shell without specifying clientProject
When unset we set the clientProject to the resolved packageName from the current working directory
1 parent a64f03b commit e523a48

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/schematics/angular/app-shell/schema.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
"properties": {
99
"clientProject": {
1010
"type": "string",
11-
"description": "The name of the related client app."
11+
"description": "The name of the related client app.",
12+
"$default": {
13+
"$source": "projectName"
14+
}
1215
},
1316
"universalProject": {
1417
"type": "string",

0 commit comments

Comments
 (0)