@peopled/ada-react
v0.18.3
Published
Ada React UI Components
Downloads
167
Readme
Ada (react)
The React implementation of the Ada design system for Peopled.
Documentation can be found in the github repository under /docs.
Development
For local development, you only need to run this command:
npm run devnpm run devdoes two things:- Runs the main development server (vite), for bundling CSS and React components
- Runs Storybook for live component development and documentation as a UI
Publishing
Pull Request Guidelines
Every PR should include:
- Tests - Add unit tests for new components or functionality
- Storybook Stories - Add Storybook stories to document and showcase the component
Release Workflow
Create a feature branch
git checkout -b your-name/PPLD-123-your-feature-nameMake your changes
- Add your code changes
- Add unit tests (
.test.tsxfiles) - Add Storybook stories (
.stories.tsxfiles) - Make sure you updated the index file to export your component
- Commit your changes
Update the version
npm version patch # For bug fixes (0.0.x) npm version minor # For new features (0.x.0) npm version major # For breaking changes (x.0.0)This will automatically update
package.jsonand create a git tag.Run
npm run buildto make sure the lockfiles are up to dateCreate a Pull Request
- Push your branch with the version bump included
- Create a PR to the main branch
- Ensure all tests pass and Storybook stories are working
After PR is merged
- Checkout the main branch locally and fetch the latest
git checkout main && git pull origin main
- Run
npm publish(must be authenticated with NPM) to deploy the latest version
- Checkout the main branch locally and fetch the latest
