# @nizza/core

> The `core` library contains reusable code pieces and standards that can be utilized across other libraries and applications within the monorepo. These code pieces are independent of dependencies from other libraries in the monorepo but are essential for c

Latest version **0.8.6** (published 2026-10-22) · 0 weekly downloads

## Install

```sh
npm install @nizza/core
pnpm add @nizza/core
yarn add @nizza/core
bun add @nizza/core
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.8.6 |
| Published | 2026-10-22 |
| First published | 2022-08-09 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 5.1 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | odin16, leidymgdev |

## Links

- npm: https://www.npmjs.com/package/@nizza/core
- npm.io page: https://npm.io/package/@nizza/core

## Dependencies (2)

- [react-router-dom](https://npm.io/package/react-router-dom.md) ^6
- [@tanstack/react-query](https://npm.io/package/@tanstack/react-query.md) ^4

## Recent versions

- 0.8.6 (latest) — 2026-10-22
- 0.8.6-beta.0 (beta) — 2026-10-21
- 0.5.9-alpha.1 (alpha) — 2024-05-10
- 0.8.5 — 2026-05-21
- 0.8.4 — 2025-12-12
- 0.8.3 — 2025-11-21
- 0.8.3-beta.1 — 2025-11-06
- 0.8.3-beta.0 — 2025-11-06
- 0.8.2 — 2025-10-30
- 0.8.1 — 2025-10-21
- 0.8.1-beta.2 — 2025-08-15
- 0.8.1-beta.1 — 2025-07-22
- 0.8.1-beta.0 — 2025-07-10
- 0.8.0 — 2025-06-16
- 0.8.0-beta.2 — 2025-05-31
- … 127 more at https://npm.io/package/@nizza/core/versions

## README

# Core

The `core` library contains reusable code pieces and standards that can be utilized across other libraries and applications within the monorepo. These code pieces are independent of dependencies from other libraries in the monorepo but are essential for certain processes.

## Key Principle

The `core` library must not depend on any other libraries within the monorepo. This RULE must always be maintained to avoid circular dependency issues.

## Versioning

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

```bash
pnpm nx run core:version
```

For more details, refer to the official [SemVer documentation](https://github.com/jscutlery/semver).

## Publishing

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

- For feature branches (alpha release):
  ```bash
  pnpm nx run core:publish:feat
  ```
- For development (beta release):
  ```bash
  pnpm nx run core:publish:dev
  ```
- For production releases (stable release):
  ```bash
  pnpm nx run core:publish:prod
  ```

## Building

Build the library, specifying the target environment:

- For development environment:
  ```bash
  pnpm nx run core:build:dev
  ```
- For production:
  ```bash
  pnpm nx run core:build:prod
  ```

## Generating GraphQL Types

Generate GraphQL types by connecting to the GraphQL API backend, utilizing [GraphQL Code Generator](https://the-guild.dev/graphql/codegen) for generating types based on your GraphQL schema:

```bash
pnpm nx run core:api-graphql-types
```

This process ensures that the frontend and backend are in sync by generating types that match the current schema.

## Cleaning

Clean up the library's build artifacts, removing any unnecessary files and ensuring a tidy workspace:

```bash
pnpm nx run core:clean
```

## Testing

Run unit tests for the library:

```bash
pnpm nx run core:test
```

## Linting

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

```bash
pnpm nx run core:lint
```

---
_Source: https://npm.io/package/@nizza/core · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
