-
corepack enable
Note that we are using pnpm version 8
corepack prepare pnpm@8.15.6 --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
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.
If you're interested in contributing to Moon Design, please read our contributing docs before submitting a pull request.