Skip to content

CodeForAfrica/ui

This branch is up to date with main.

Folders and files

NameName
Last commit message
Last commit date
Sep 16, 2022
Nov 20, 2024
Mar 16, 2022
Jan 30, 2025
Jan 28, 2025
Jul 27, 2023
Oct 25, 2024
Jun 24, 2024
Mar 11, 2022
Oct 25, 2024
May 24, 2022
Jun 4, 2024
Jan 28, 2025
Mar 3, 2022
Jan 28, 2025
Sep 20, 2024
Jan 28, 2025
Dec 13, 2024
Dec 13, 2024
Dec 13, 2024
Jan 15, 2025
Dec 13, 2024
Jan 28, 2025
Jan 28, 2025
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