Skip to content

Commit

Permalink
refactor(schematics): reorder schema, move project above module prop
Browse files Browse the repository at this point in the history
Reorder the schema.json and schema.ts file having the project property
above the module property
  • Loading branch information
ngfelixl committed Dec 30, 2018
1 parent 354b0b8 commit 8b25cdb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions modules/effects/schematics/ng-add/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@
"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 All @@ -36,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",
Expand Down
2 changes: 1 addition & 1 deletion modules/effects/schematics/ng-add/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 8b25cdb

Please sign in to comment.