multica/docs/package-management.md
2026-02-17 00:53:37 +08:00

746 B

Package Management

Workspace

  • Package manager: pnpm (workspace mode)
  • Build orchestrator: turbo

Required .npmrc

Keep this in repo root:

shamefully-hoist=true

This is required for Electron packaging compatibility in this monorepo.

Install

pnpm install

Clean Reinstall (When Needed)

Use this when lockfile/hoist state is corrupted or after major package-manager config changes:

rm -rf node_modules apps/*/node_modules packages/*/node_modules
rm -f pnpm-lock.yaml
pnpm install

Build / Check

pnpm build
pnpm typecheck
pnpm test

Targeted Commands

pnpm --filter @multica/desktop build
pnpm --filter @multica/core build
pnpm --filter @multica/web dev