This is a monorepo of partner-up's design (design system in code, common components) for multiple platform (includes web, uniapp, clutter and more).
@partner-up/design-uniapp- Design system for UniApp
This repository uses Changesets to manage versioning and publishing packages to GitHub Package Registry.
When you make changes to a package, create a changeset to document the changes:
pnpm changesetFollow the prompts to:
- Select which packages have changed
- Specify the type of change (major, minor, patch)
- Write a summary of the changes
When changes are pushed to the main branch, the GitHub Actions workflow will:
- Create a "Version Packages" PR if there are changesets
- When the PR is merged, it will:
- Update package versions
- Update changelogs
- Publish packages to GitHub Package Registry
To manually publish packages (requires appropriate permissions):
pnpm run releaseTo install a published package from GitHub Package Registry, configure your .npmrc:
@partner-up:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
Then install the package:
npm install @partner-up/design-uniapp