This repository is a monorepo and makes use of Turborepo and PNPM workspaces.
Before you begin, make sure you have the following set up on your local machine.
- Install NodeJS v16.x (LTS)
- Install PNPM
All commands below should be run at the root level of the cloned repository.
pnpm install
You can run all the packages in development mode using the following command:
pnpm dev
You can build all packages using the following command:
pnpm build
Or you can run build for the individual packages using the following command:
pnpm build:[dirname]
For react it would be
pnpm build:react
To generate a changelog entry, run the following command:
pnpm changeset
Storybook is setup on a per package basis, you can run storybook for all packages at the same time using the following command:
pnpm storybook
Or you can run storybook for individual packages using the following command:
pnpm storybook:[dirname]
For react it would be
pnpm storybook:react