🧪 Development
August 15, 2025 · View on GitHub
Development Commands
Build all packages
pnpm build
Run (watch) the client and server
pnpm dev:main
Run (watch) the demo server and client
pnpm dev:demo
Run (watch) the documentation server
pnpm dev:doc
Run (watch) a specific package
pnpm --filter <package-name> dev
Publishing to npm
Prerequisites
- Create an npm account at npmjs.com
- Log in to npm in your terminal:
npm login
- If you're using a scoped package (@micdrop), you'll need to:
- Create an organization on npm (if not already done)
- Ensure you have the right permissions in the organization
Publishing Steps
- Go to the package directory:
cd packages/client
- Update version number:
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)
- Publish the package:
npm publish