Skip to content

CodeForAfrica/ui

Folders and files

NameName
Last commit message
Last commit date
Sep 16, 2022
Nov 20, 2024
Mar 16, 2022
Dec 10, 2024
Dec 3, 2024
Jul 27, 2023
Oct 25, 2024
Jun 24, 2024
Sep 5, 2022
Mar 11, 2022
Oct 25, 2024
May 24, 2022
Jun 4, 2024
Nov 20, 2024
Mar 3, 2022
Sep 27, 2024
Sep 20, 2024
Nov 20, 2024
Sep 2, 2024
Sep 5, 2022
Dec 10, 2024
Oct 29, 2024
Aug 16, 2024

Repository files navigation

COMMONS UI

Applications

Name Description
charterAFRICA The largest digital database for communities
Code for Africa Africa's largest network of civic tech and open data labs
PesaYetu Data to hold your government accountable
RoboShield Guard your website against AI Bots

Blogs

Name Description
CivicSignal Research View the latest analysis from CivicSignal team
TechLab View the latest stories from the CFA engineering team

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