commit eead0535a24fd777dc2d567858fca296a3f50f6d Author: Aksel Mini Date: Mon Aug 3 09:15:00 2026 +0200 :tada: Initial commit — monorepo scaffolding Set up pnpm workspace with packages/* and aksel.nav.no/* globs, root README and gitignore. Component packages land in later commits. diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..622ceaf --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +node_modules +dist +*.log +.DS_Store +.vite diff --git a/README.md b/README.md new file mode 100644 index 0000000..ce538d8 --- /dev/null +++ b/README.md @@ -0,0 +1,33 @@ +# 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. diff --git a/package.json b/package.json new file mode 100644 index 0000000..8d80396 --- /dev/null +++ b/package.json @@ -0,0 +1,13 @@ +{ + "name": "aksel-mini", + "version": "0.0.0", + "private": true, + "description": "Miniature monorepo imitating the Aksel design system layout, used as a local fixture.", + "packageManager": "pnpm@11.20.0", + "engines": { + "node": ">=20" + }, + "scripts": { + "build": "pnpm -r run build" + } +} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml new file mode 100644 index 0000000..26c1c76 --- /dev/null +++ b/pnpm-workspace.yaml @@ -0,0 +1,3 @@ +packages: + - "packages/**" + - "aksel.nav.no/**"