Design system to build interfaces shaped by price, time, and competition.
packages/ui– the@m3000/marketcomponent packageapps/docs– the Next.js documentation site for the library
pnpm install
pnpm devUseful commands:
pnpm dev:docs # run the docs app
pnpm storybook # run Storybook for the UI package
pnpm build # build all workspaces
pnpm check # lint, format, and typecheck
pnpm fix # apply lint + format fixes
pnpm changeset # create a release note + version bump entry
pnpm version-packages # apply pending version bumps locally
pnpm release # build and publish releaseable packagesThe UI package is published as @m3000/market. The docs app consumes that package directly from the workspace, which keeps component development and documentation close together.
This repo uses Changesets to version and publish @m3000/market from main.
- After changing the package in a way that should ship to npm, run
pnpm changeset. - Pick the release type:
patchfor fixes and small backwards-compatible improvementsminorfor new backwards-compatible featuresmajorfor breaking changes
- Commit the generated
.changeset/*.mdfile with your code changes. - When that branch lands on
main, the Changesets GitHub Action opens or updates a release PR. - Merging the release PR publishes the package to npm and commits the version/changelog updates back to
main.
MIT