refactor(@schematics/angular): deprecate options that are unused

This commit is contained in:
Alan 2019-09-09 15:42:59 +02:00 committed by Keen Yee Liau
parent 600e5d08b0
commit bcbbd1b8ca
2 changed files with 18 additions and 9 deletions

View File

@ -23,7 +23,8 @@
"name": {
"type": "string",
"format": "html-selector",
"description": "The HTML selector of the Universal app"
"description": "The HTML selector of the Universal app",
"x-deprecated": "This option has no effect."
},
"appId": {
"type": "string",
@ -35,19 +36,22 @@
"type": "string",
"format": "path",
"description": "The output directory for build results.",
"default": "dist-server"
"default": "dist-server",
"x-deprecated": "This option has no effect."
},
"root": {
"type": "string",
"format": "path",
"description": "The root directory of the app.",
"default": "src"
"default": "src",
"x-deprecated": "This option has no effect."
},
"index": {
"type": "string",
"format": "path",
"description": "The name of the index file",
"default": "index.html"
"default": "index.html",
"x-deprecated": "This option has no effect."
},
"main": {
"type": "string",
@ -58,7 +62,8 @@
"test": {
"type": "string",
"format": "path",
"description": "The name of the test entry-point file."
"description": "The name of the test entry-point file.",
"x-deprecated": "This option has no effect."
},
"tsconfigFileName": {
"type": "string",
@ -70,7 +75,8 @@
"type": "string",
"format": "path",
"description": "The name of the TypeScript configuration file for tests.",
"default": "tsconfig.spec"
"default": "tsconfig.spec",
"x-deprecated": "This option has no effect."
},
"appDir": {
"type": "string",
@ -95,7 +101,8 @@
"format": "path",
"description": "The path of the source directory.",
"default": "src",
"alias": "D"
"alias": "D",
"x-deprecated": "This option has no effect."
}
},
"required": [

View File

@ -24,7 +24,8 @@
"test": {
"type": "string",
"format": "path",
"description": "The name of the test entry-point file."
"description": "The name of the test entry-point file.",
"x-deprecated": "This option has no effect."
},
"tsconfigFileName": {
"type": "string",
@ -35,7 +36,8 @@
"type": "string",
"format": "path",
"description": "The name of the TypeScript configuration file for tests.",
"default": "tsconfig.spec"
"default": "tsconfig.spec",
"x-deprecated": "This option has no effect."
},
"appDir": {
"type": "string",