From 8b25cdb35ffc6e68ed2078cb7281825920f46f06 Mon Sep 17 00:00:00 2001 From: Felix Lemke Date: Sun, 30 Dec 2018 01:37:19 +0100 Subject: [PATCH] refactor(schematics): reorder schema, move project above module prop Reorder the schema.json and schema.ts file having the project property above the module property --- modules/effects/schematics/ng-add/schema.json | 12 ++++++------ modules/effects/schematics/ng-add/schema.ts | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/effects/schematics/ng-add/schema.json b/modules/effects/schematics/ng-add/schema.json index d2c946baed..640cdea4cb 100644 --- a/modules/effects/schematics/ng-add/schema.json +++ b/modules/effects/schematics/ng-add/schema.json @@ -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, @@ -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", 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; }