Browse Source

minor fix

pull/14445/head
Mahmut Gundogdu 4 years ago
parent
commit
ae166d4262
  1. 13
      npm/ng-packs/packages/schematics/src/commands/change-theme/schema.json

13
npm/ng-packs/packages/schematics/src/commands/change-theme/schema.json

@ -6,8 +6,11 @@
"properties": { "properties": {
"name": { "name": {
"description": "The name of theme will change.", "description": "The name of theme will change.",
"type": "integer", "type": "number",
"default": 1, "$default": {
"$source": "argv",
"index": 0
},
"enum": [1, 2, 3, 4], "enum": [1, 2, 3, 4],
"x-prompt": { "x-prompt": {
"message": "Which theme would you like to use?", "message": "Which theme would you like to use?",
@ -23,7 +26,11 @@
"targetProject": { "targetProject": {
"description": "The name of the project will change the style.The project type must be 'application'", "description": "The name of the project will change the style.The project type must be 'application'",
"type": "string", "type": "string",
"x-prompt": "Please enter the project name" "x-prompt": "Please enter the project name",
"$default": {
"$source": "argv",
"index": 1
}
} }
}, },
"required": ["name"] "required": ["name"]

Loading…
Cancel
Save