Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 971 Bytes

File metadata and controls

32 lines (21 loc) · 971 Bytes

Init Generator

@code-pushup/nx-plugin:init

Usage

nx generate @code-pushup/nx-plugin:init

By default, the Nx plugin will update your package.json with needed dependencies and register the plugin in your nx.json configuration.

You can specify the collection explicitly as follows:

nx g @code-pushup/nx-plugin:init

Root/
├── ...
├── nx.json 👈 updated
├── package.json 👈 updated
└── ...

Show what will be generated without writing to disk:

nx g @code-pushup/nx-plugin:init --dry-run

Options

Name type description
--skipPackageJson boolean (DEFAULT false) Skip adding package.json dependencies.
--skipNxJson boolean (DEFAULT false) Skip updating nx.json with configuration.