mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-18 20:02:40 +08:00
refactor(@schematics/angular): deprecate options that are unused
This commit is contained in:
parent
600e5d08b0
commit
bcbbd1b8ca
@ -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": [
|
||||||
|
@ -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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user