Skip to content

Commit

Permalink
refactor(schematics): add project keys to schema
Browse files Browse the repository at this point in the history
Add missing project keys to schema.json
for store, store-devtools and effects
Line-break remove related to "lint-staged"

Related to #1487
  • Loading branch information
ngfelixl committed Dec 29, 2018
1 parent f067060 commit 354b0b8
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 8 deletions.
9 changes: 7 additions & 2 deletions modules/effects/schematics/ng-add/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,20 @@
"skipPackageJson": {
"type": "boolean",
"default": false,
"description":
"Do not add @ngrx/effects as dependency to package.json (e.g., --skipPackageJson)."
"description": "Do not add @ngrx/effects as dependency to package.json (e.g., --skipPackageJson)."
},
"path": {
"type": "string",
"format": "path",
"description": "The path to create the effect.",
"visible": false
},
"project": {
"type": "string",
"description": "The name of the project.",
"visible": false,
"aliases": ["p"]
},
"flat": {
"type": "boolean",
"default": true,
Expand Down
12 changes: 8 additions & 4 deletions modules/store-devtools/schematics/ng-add/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,20 @@
"skipPackageJson": {
"type": "boolean",
"default": false,
"description":
"Do not add @ngrx/store as dependency to package.json (e.g., --skipPackageJson)."
"description": "Do not add @ngrx/store as dependency to package.json (e.g., --skipPackageJson)."
},
"path": {
"type": "string",
"format": "path",
"description": "The path to create the state.",
"visible": false
},
"project": {
"type": "string",
"description": "The name of the project.",
"visible": false,
"aliases": ["p"]
},
"module": {
"type": "string",
"default": "app",
Expand All @@ -26,8 +31,7 @@
"maxAge": {
"type": "number",
"default": 25,
"description":
"number (>1) | 0 - maximum allowed actions to be stored in the history tree. The oldest actions are removed once maxAge is reached. It's critical for performance. 0 is infinite. Default is 25 for performance reasons."
"description": "number (>1) | 0 - maximum allowed actions to be stored in the history tree. The oldest actions are removed once maxAge is reached. It's critical for performance. 0 is infinite. Default is 25 for performance reasons."
}
},
"required": []
Expand Down
9 changes: 7 additions & 2 deletions modules/store/schematics/ng-add/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,20 @@
"skipPackageJson": {
"type": "boolean",
"default": false,
"description":
"Do not add @ngrx/store as dependency to package.json (e.g., --skipPackageJson)."
"description": "Do not add @ngrx/store as dependency to package.json (e.g., --skipPackageJson)."
},
"path": {
"type": "string",
"format": "path",
"description": "The path to create the state.",
"visible": false
},
"project": {
"type": "string",
"description": "The name of the project.",
"visible": false,
"aliases": ["p"]
},
"module": {
"type": "string",
"default": "app",
Expand Down

0 comments on commit 354b0b8

Please sign in to comment.