Skip to content

CodeForAfrica/ui

Repository files navigation

ui

Get started

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

Build

To build all apps and packages, run the following command:

pnpm  build

Develop

To develop all apps and packages, run the following command:

pnpm dev

Testing

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

Adding changesets

To add changeset, run the following command. This will let you choose what package you want to publish

pnpm changeset

Releasing and publishng to npm

To publish you packages, run

pnpm publish

Make sure you are logged in to npm before publishing your package