Mini apps UI Kit repo
# Install dependencies
pnpm install
# Run Storybook in dev mode
pnpm dev:sb
# Run Next.js example app in dev mode without hot reload
pnpm dev
# Build components library for production
pnpm build
# Build Storybook for production
pnpm build:sb
# Preview built Storybook in production mode (after pnpm build:storybook)
pnpm preview:sb
packages/@mini-apps-ui-kit-react
: React components librarypackages/@mini-apps-ui-kit-react/src/components
: React components, make sure every component has it's own index.ts filepackages/@mini-apps-ui-kit-react/stories
: Storybook stories
We use changesets to manage our versioning and changelogs. To contribute to this repository, please follow these steps:
- Fork the repository
- Create your feature branch (
git checkout -b feature/your-feature
) - Make your changes
- Run
pnpm changeset
to create a changeset that describes your changes- This will prompt you to:
- Select which packages you want to release
- Choose the type of version bump (major, minor, patch)
- Provide a summary of the changes
- This will prompt you to:
- Commit your changes (
git commit -m 'Add some feature'
) - Push to the branch (
git push origin feature/your-feature
) - Open a Pull Request
Make sure to:
- Follow the existing code style
- Update documentation as needed
- Add tests if applicable
- Include a changeset with your changes
Version management is handled by the repository's CODEOWNERS. They are responsible for:
- Reviewing and approving version bumps
- Managing the release process
- Ensuring changesets are properly created and maintained
- Publishing new versions of the packages
Only CODEOWNERS have the authority to merge version-related changes and execute releases.