Create a framework package that uses Nx CLI.
ExamplesCreate an executable that initializes an Nx workspace with {my-plugin}'s preset:
nx g @nx/plugin:create-package create-my-plugin --project my-plugin
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 @nx/plugin:create-package ...
Show what will be generated without writing to disk:
nx g create-package ... --dry-run
A directory where the app is placed.
string
Pattern: create-.+|^@.+/create(?:-.+)?
The package name of cli, e.g. create-framework-package
. Note this must be a valid NPM name to be published.
The name of the generator project.
string
Default: tsc
Accepted values: tsc
, swc
The compiler used by the build and test targets.
The name of the e2e project.
string
Accepted values: none
, eslint
The tool to use for running lint checks.
Add tags to the library (used for linting).
string
Accepted values: none
, jest
, vitest
Test runner to use for unit tests.
Use a project.json
configuration file instead of inlining the Nx configuration in the package.json
file.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4