0.0.2 • Published 3 years ago
@ecologi/ui v0.0.2
Ecologi UI
This library was generated with Nx.
Development
Run nx run ui:storybook to run the Storybook dev server
Running unit tests
Run nx test ui to execute the unit tests via Jest.
Publishing
Run nx publish ui --ver=<required-version> --tag=[custom-tag] to publish to npm.
The publish target invokes the generated publish.mjs script using nx:run-commands executor. The script does the following:
- Validate the
verargument against a simple SemVer RegExp. - Validate the
nameof the project against the workspace existing projects. - Update the
versionproperty in thepackage.jsonof your project'sbuild.outputPath - Invoke
npm publishwith the provided tag (default to next so you won't publish to latest by accident)
Make sure to authenticate with npm before running the publish target.