Set up pnpm workspace with packages/* and aksel.nav.no/* globs, root README and gitignore. Component packages land in later commits.
34 lines
1.3 KiB
Markdown
34 lines
1.3 KiB
Markdown
# Aksel Mini
|
|
|
|
A small, self-contained imitation of the [Aksel](https://github.com/navikt/aksel) design system monorepo.
|
|
It exists purely as a local fixture for testing code-review tooling against a realistic repository layout —
|
|
it is **not** affiliated with NAV or the real Aksel project.
|
|
|
|
## Layout
|
|
|
|
| Path | Package | Description |
|
|
| --------------------------- | -------------------- | ---------------------------------------- |
|
|
| `packages/core/tokens` | `@navikt/ds-tokens` | Color and spacing tokens, emitted as CSS custom properties |
|
|
| `packages/core/css` | `@navikt/ds-css` | Component styles referencing token variables |
|
|
| `packages/core/icons` | `@navikt/aksel-icons`| SVG icons as React components |
|
|
| `packages/core/react` | `@navikt/ds-react` | React component library |
|
|
| `aksel.nav.no/website` | — | Vite-powered documentation site with live examples |
|
|
|
|
## Getting started
|
|
|
|
```sh
|
|
pnpm install
|
|
pnpm build
|
|
```
|
|
|
|
Then run the website:
|
|
|
|
```sh
|
|
pnpm --filter website dev
|
|
```
|
|
|
|
## Release
|
|
|
|
Packages are versioned together. When a change is merged to `main`, bump versions in the affected
|
|
packages and add an entry to the package `CHANGELOG.md` files.
|