This project is using pnpm as a package manager. To setup the monorepo run the following:
git clone https://github.com/CodeForAfrica/ui.git
cd ui
pnpm install
To build all apps and packages, run the following command:
pnpm build
To develop all apps and packages, run the following command:
pnpm dev
Before we can run tests, we need to make sure Playwright
has downloaded the browsers needed to run e2e test.
npx playwright install
To test all apps and packages, run the following command:
pnpm test
To add changeset, run the following command. This will let you choose what package you want to publish
pnpm changeset
To publish you packages, run
pnpm publish
Make sure you are logged in to npm before publishing your package