🧪 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

  1. Create an npm account at npmjs.com
  2. Log in to npm in your terminal:
npm login
  1. 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

  1. Go to the package directory:
cd packages/client
  1. 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)
  1. Publish the package:
npm publish