@nrwl/nx-plugin:create-package
Create a framework package that uses Nx CLI.
Create a framework package that uses Nx CLI.
nx generate create-package ...
By default, Nx will search for create-package
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/nx-plugin:create-package ...
Show what will be generated without writing to disk:
nx g create-package ... --dry-run
The package name, like create-framework-app
. Note this must be a valid NPM name to be published.
The name of the generator project.
tsc
tsc
, swc
The compiler used by the build and test targets.
A directory where the app is placed.
How the plugin will be published, like create-framework-app
. Note this must be a valid NPM name. Will use name if not provided.
eslint
eslint
The tool to use for running lint checks.
false
Whether or not to configure the ESLint parserOptions.project
option. We do not do this by default for lint performance reasons.
Add tags to the library (used for linting).
jest
jest
, none
Test runner to use for unit tests.
false
Skip formatting files.
false
Do not update tsconfig.json for development experience.