Skip to content

Commit

Permalink
fix(react): add missing skipPackageJson flag to application generator…
Browse files Browse the repository at this point in the history
… schema (#13076)
  • Loading branch information
Dan Roujinsky authored Nov 9, 2022
1 parent da47b0f commit 0432279
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/generated/packages/react.json
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,11 @@
"description": "Skip setting the project as the default project. When `false` (the default), the project is set as the default project only if there is no default project already set.",
"type": "boolean",
"default": false
},
"skipPackageJson": {
"description": "Do not add dependencies to `package.json`.",
"type": "boolean",
"default": false
}
},
"required": [],
Expand Down
1 change: 1 addition & 0 deletions packages/react/src/generators/application/schema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export interface Schema {
remotes?: string[];
devServerPort?: number;
skipDefaultProject?: boolean;
skipPackageJson?: boolean;
}

export interface NormalizedSchema extends Schema {
Expand Down
5 changes: 5 additions & 0 deletions packages/react/src/generators/application/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,11 @@
"description": "Skip setting the project as the default project. When `false` (the default), the project is set as the default project only if there is no default project already set.",
"type": "boolean",
"default": false
},
"skipPackageJson": {
"description": "Do not add dependencies to `package.json`.",
"type": "boolean",
"default": false
}
},
"required": []
Expand Down

1 comment on commit 0432279

@vercel
Copy link

@vercel vercel bot commented on 0432279 Nov 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-git-master-nrwl.vercel.app
nx-five.vercel.app
nx-dev-nrwl.vercel.app
nx.dev

Please sign in to comment.