🎉 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.
This commit is contained in:
commit
eead0535a2
4 files changed
+54
No files matched your search
@@ -0,0 +1,5 @@
|
||||
node_modules
|
||||
dist
|
||||
*.log
|
||||
.DS_Store
|
||||
.vite
|
||||
@@ -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.
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
packages:
|
||||
- "packages/**"
|
||||
- "aksel.nav.no/**"
|
||||
Reference in new issue
Block a user