This is the Copilot.app design system repository. In this repo we're using MaterialUI@V5 + Tailwind CSS to create a set of reusable, open source components for making Copilot apps.
Prerequisites:
- Node ^20.12.0
- Yarn ^4.x.x
How to develop:
yarn install
yarn storybook
How to prepare new version:
- increment the patch version in package.json
- run
yarn build
. Note: the build script uses Dirent.parentPath which was only available in node 20.12.0. If you are using an older version of node .e.g 20.11.1, it will not work. - add commit
How to test in the Webapp
- Run
yarn
build - In the webapp, run
yarn add copilot-design-system@file:../../design-system
where the path that follows:file
is the relative path from yourwebapp
directory to thedesign-system
directory