Installation
Moon Light Design System
Installing Moon Light Design
-
corepack enable
Note that we are using pnpm version 8
corepack prepare [email protected] --activate
-
Install dependencies and link local packages together:
pnpm install
-
Compile and build all packages:
pnpm run build
-
Run storybook for development at
localhost:3000
:pnpm run doc dev
-
Build and run storybook for production at
localhost:80
:pnpm run doc build pnpm run doc start
-
Run e2e tests:
pnpm run doc test
Architecture
Our pnpm monorepo publishes key layers as individual @heathmont/moon-
packages:
Packages are developed inside their respective src
folders, utilizing pnpm workspaces for dependency linking/sharing. The distributable code is generated in each package's lib by the TypeScript compiler.
Contributing
If you're interested in contributing to Moon Design, please read our contributing docs before submitting a pull request.