npm.io
0.3.29 • Published 10 months ago

@nizza/ui

Licence
—
Version
0.3.29
Deps
0
Vulns
0
Weekly
0

UI Library

The ui library stores reusable UI elements utilizing the philosophy of Atomic Design. This approach allows for a modular and scalable architecture for developing user interfaces.

Versioning

Manage library versioning using the @jscutlery/semver tool, which automates semantic versioning based on your git history:

pnpm nx run ui:version

For more details, refer to the official SemVer documentation.

Publishing

Publish the library, automatically applying the appropriate tag based on the target environment:

  • For feature branches (alpha release):
    pnpm nx run ui:publish:feat
  • For development (beta release):
    pnpm nx run ui:publish:dev
  • For production releases (stable release):
    pnpm nx run ui:publish:prod

Building

Build the library, specifying the target environment:

  • For development environment:
    pnpm nx run ui:build:dev
  • For production:
    pnpm nx run ui:build:prod

Cleaning

Clean up build artifacts to maintain a tidy workspace:

pnpm nx run ui:clean

Testing

Run unit tests for the library:

pnpm nx run ui:test

Linting

Lint the project to ensure code quality and adherence to standards:

pnpm nx run ui:lint