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

View File

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