Skip to content

Commit

Permalink
refactor(schematics): add project property, change description
Browse files Browse the repository at this point in the history
add project property in collection.json
change description in schema.json
  • Loading branch information
ngfelixl committed Dec 27, 2018
1 parent 51790c2 commit 442109a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/router-store/schematics/collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"aliases": ["init"],
"factory": "./ng-add",
"schema": "./ng-add/schema.json",
"description": "Add router store class"
"description": "Register @ngrx/router-store within your application"
}
}
}
6 changes: 6 additions & 0 deletions modules/router-store/schematics/ng-add/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@
"description": "The path to create the router store.",
"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 442109a

Please sign in to comment.