# Install nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
# Install node
nvm install
# Install dependencies
npm install -g pnpm@9.4.0
pnpm install
# Run the dev server
pnpm start
- Update
@syntax-icons/svgs
folder with new icons. - Run
pnpm run generate-icons
- If you added a new Icon
- Add it into the
Icons.stories.tsx
and update the array. - Update the
syntax-icons/package.json
with the proper export.
- Run
pnpm run changeset
- Run
pnpm generate ComponentName
- Update newly generated files.
- (Don't forget to StartCase your ComponentName)
https://docs.google.com/document/d/1zXAR4Lz0M_--SluTlEUpGUW16TpWWaZNh5h39cU3gQk/edit
- Fork the syntax repository
- Create a new branch:
- Make your changes:
git commit -am "Avatar: add component"
- Add a changeset with
pnpm changeset
- Open a pull request
- Originally forked from vercel/turbo/examples/design-system