0.3.12 • Published 2 days ago

@nizza/utils v0.3.12

Weekly downloads
-
License
-
Repository
-
Last release
2 days ago

Utils

The utils library contains reusable code pieces or utilities that can be used across other libraries and applications. It differs from the core library as it can reference other libraries to generate components, patterns, or code that facilitate a process.

Example: libs/utils/src/lib/product-data-source is the functionality that handles resolving products for both the player and the selector that allows associating a product with a snack size video. The product-data-source could easily be a piece of core library code as it's central and indispensable. However, it's located in utils because resolving platform products depends on the event-products library, and including it in core would break the sole rule that core must not depend on any other library.

Versioning

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

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

Building

Build the library, specifying the target environment:

  • For local development:
    pnpm nx run utils:build:local
  • For development environment:
    pnpm nx run utils:build:dev
  • For staging environment:
    pnpm nx run utils:build:staging
  • For production:
    pnpm nx run utils:build:prod

Cleaning

Clean up build artifacts to maintain a tidy workspace:

pnpm nx run utils:clean

Testing

Run unit tests for the library:

pnpm nx run utils:test

Linting

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

pnpm nx run utils:lint
0.3.13-beta.0

2 days ago

0.3.12

1 month ago

0.3.9

1 month ago

0.3.11

1 month ago

0.3.10

1 month ago

0.3.6

1 month ago

0.3.5

1 month ago

0.3.8

1 month ago

0.3.7

1 month ago

0.3.2

1 month ago

0.3.4

1 month ago

0.3.3

1 month ago

0.3.1

2 months ago

0.3.0

2 months ago

0.3.0-beta.21

3 months ago

0.3.0-beta.18

3 months ago

0.3.0-beta.19

3 months ago

0.3.0-beta.20

3 months ago

0.3.0-beta.17

3 months ago

0.3.0-beta.16

3 months ago

0.3.0-beta.14

3 months ago

0.3.0-beta.15

3 months ago

0.3.0-beta.13

3 months ago

0.3.0-beta.8

4 months ago

0.3.0-beta.9

4 months ago

0.3.0-beta.6

4 months ago

0.3.0-beta.7

4 months ago

0.3.0-beta.12

4 months ago

0.3.0-beta.11

4 months ago

0.3.0-beta.10

4 months ago

0.3.0-beta.4

4 months ago

0.3.0-beta.5

4 months ago

0.3.0-beta.2

4 months ago

0.3.0-beta.3

4 months ago

0.3.0-beta.1

4 months ago

0.3.0-beta.0

4 months ago

0.2.6-alpha.15

5 months ago

0.2.6-alpha.14

5 months ago

0.2.6-alpha.13

5 months ago

0.2.6-alpha.12

5 months ago

0.2.6-alpha.11

5 months ago

0.2.6-alpha.10

5 months ago

0.2.0-alpha.8

7 months ago

0.2.0-alpha.7

7 months ago

0.2.0-alpha.9

7 months ago

0.2.0-alpha.0

7 months ago

0.2.0-alpha.1

7 months ago

0.2.0-alpha.4

7 months ago

0.2.0-alpha.3

7 months ago

0.2.0-alpha.6

7 months ago

0.2.0-alpha.5

7 months ago

0.2.6-alpha.9

5 months ago

0.2.6-alpha.7

5 months ago

0.2.6-alpha.8

5 months ago

0.2.6-alpha.5

5 months ago

0.2.6-alpha.6

5 months ago

0.2.6-alpha.3

6 months ago

0.2.6-alpha.4

6 months ago

0.2.6-alpha.1

6 months ago

0.2.6-alpha.2

6 months ago

0.2.6-alpha.0

6 months ago

0.2.1

7 months ago

0.2.0

7 months ago

0.2.3

7 months ago

0.2.2

7 months ago

0.2.5

7 months ago

0.2.4

7 months ago

0.1.1-beta.0

11 months ago

0.1.0

11 months ago

0.1.0-beta.4

11 months ago

0.1.0-beta.3

11 months ago

0.1.0-alpha.2

11 months ago

0.1.0-alpha.1

11 months ago

0.1.0-alpha.0

11 months ago