npm.io
0.2.30 • Published 10 months ago

@nizza/event-products

Licence
—
Version
0.2.30
Deps
0
Vulns
0
Weekly
0

Event Products

The event-products library manages all processes related to products and collections on the platform.

Note: This library might also be considered for managing other product-related aspects beyond the platform, but further analysis is required.

Versioning

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

pnpm nx run event-products: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 event-products:publish:feat
  • For development (beta release):
    pnpm nx run event-products:publish:dev
  • For production releases (stable release):
    pnpm nx run event-products:publish:prod

Building

Build the library, specifying the target environment and targeting ES2019:

  • For development environment:
    pnpm nx run event-products:build:dev
  • For production:
    pnpm nx run event-products:build:prod

Cleaning

Clean up build artifacts to maintain a tidy workspace:

pnpm nx run event-products:clean

Testing

Run unit tests for the library:

pnpm nx run event-products:test

Linting

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

pnpm nx run event-products:lint