diff --git a/modules/effects/schematics/ng-add/schema.json b/modules/effects/schematics/ng-add/schema.json index 5becb4469b..640cdea4cb 100644 --- a/modules/effects/schematics/ng-add/schema.json +++ b/modules/effects/schematics/ng-add/schema.json @@ -12,8 +12,7 @@ "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", @@ -31,6 +30,12 @@ "default": true, "description": "Specifies if a spec file is generated." }, + "project": { + "type": "string", + "description": "The name of the project.", + "visible": false, + "aliases": ["p"] + }, "module": { "type": "string", "default": "app", diff --git a/modules/effects/schematics/ng-add/schema.ts b/modules/effects/schematics/ng-add/schema.ts index 59bded8cd1..7b857d03aa 100644 --- a/modules/effects/schematics/ng-add/schema.ts +++ b/modules/effects/schematics/ng-add/schema.ts @@ -2,9 +2,9 @@ export interface Schema { name: string; skipPackageJson?: boolean; path?: string; - project?: string; flat?: boolean; spec?: boolean; + project?: string; module?: string; group?: boolean; } diff --git a/modules/store-devtools/schematics/ng-add/schema.json b/modules/store-devtools/schematics/ng-add/schema.json index 91f93cb406..d3462bea5d 100644 --- a/modules/store-devtools/schematics/ng-add/schema.json +++ b/modules/store-devtools/schematics/ng-add/schema.json @@ -7,8 +7,7 @@ "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", @@ -16,6 +15,12 @@ "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", @@ -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": [] diff --git a/modules/store/schematics/ng-add/schema.json b/modules/store/schematics/ng-add/schema.json index 7d1d125de0..3cff62e030 100644 --- a/modules/store/schematics/ng-add/schema.json +++ b/modules/store/schematics/ng-add/schema.json @@ -7,8 +7,7 @@ "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", @@ -16,6 +15,12 @@ "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",