# JS Packages

pnpm workspace (`js/pnpm-workspace.yaml`) with four TypeScript packages: cf-api, cf-webapp, common, VSC-Extension. See `.claude/rules/js-packages.md` for patterns and gotchas.

## Setup

```bash
cd js && pnpm install
```

## Commands (from `js/` workspace root)

| Package | Dev | Build | Test | Lint |
|---------|-----|-------|------|------|
| cf-api | `pnpm --filter cf-api dev` | `pnpm --filter cf-api build` | `pnpm --filter cf-api test` | `pnpm --filter cf-api lint` |
| cf-webapp | `pnpm --filter cf-webapp dev` | `pnpm --filter cf-webapp build` | `pnpm --filter cf-webapp test` | `pnpm --filter cf-webapp lint` |
| common | — | `pnpm --filter @codeflash-ai/common build` | — | — |
| VSC-Extension | `npm run dev` | `npm run build` | `npm test` | `npm run lint` |
