code-obos / grunnmuren

OBOS' design system
https://obos-grunnmuren.netlify.app
MIT License
6 stars 0 forks source link
design-system react

Grunnmuren - OBOS' design system

Slack Netlify Status

This is the monorepo for Grunnmuren, OBOS' design system.

⚠️ This branch is v2 of the design system, which is in active development and released with a canary tag. Expect frequent changes and breakage.

If you are looking for v1 of the design system, see the v1 branch.

Getting started

See these links:

and check out these packages:

Contributing

Local setup

Install pnpm

This repository uses pnpm instead of npm. Follow their installation guide to set it up.

Install dependencies

pnpm install

Linting

The following command runs both prettier and eslint.

pnpm lint

Build

To build all packages, run the following command:

pnpm build

Development

Runs the storybook for local development, at http://localhost:6006.

pnpm dev

Releases and changelogs

We use an automated release process based on changesets and Github actions to version, release and publish the packages. Meaningful changes should be documented by running pnpm changeset and be a part of the pull request. Remember to follow semver.