Skip to content

Commit ec8fb37

Browse files
alan-agius4Keen Yee Liau
authored andcommitted
refactor: deprecate universalProject in app-shell schematics as it's unused
1 parent a05148e commit ec8fb37

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

packages/schematics/angular/app-shell/index_spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ describe('App Shell Schematic', () => {
1919
const defaultOptions: AppShellOptions = {
2020
name: 'foo',
2121
clientProject: 'bar',
22-
universalProject: 'universal',
2322
};
2423

2524
const workspaceOptions: WorkspaceOptions = {

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
},
1313
"universalProject": {
1414
"type": "string",
15-
"description": "The name of related Universal app."
15+
"description": "The name of related Universal app.",
16+
"x-deprecated": "This option has no effect."
1617
},
1718
"route": {
1819
"type": "string",
@@ -98,7 +99,6 @@
9899
}
99100
},
100101
"required": [
101-
"clientProject",
102-
"universalProject"
102+
"clientProject"
103103
]
104104
}

0 commit comments

Comments
 (0)