feat(cli): init generates pnpm workspace with TypeScript senses #230

Merged
xiaomo merged 1 commits from feat/229-init-workspace-pnpm into main 2026-04-28 12:34:20 +00:00

1 Commits

Author SHA1 Message Date
xiaoju 2e739bef6e feat(cli): init generates pnpm workspace with TypeScript senses
- Add pnpm-workspace.yaml generation (workflows/*, senses/*)
- Add scripts.build: 'pnpm -r build' to root package.json
- Convert cpu-usage sense from index.js → src/index.ts with types
- Move schema.ts to src/schema.ts
- Add sense-level package.json with esbuild build script
- Run pnpm build after install during init
- Add --ignore-workspace to create sense install
- Update e2e tests for new file structure

Fixes #229
2026-04-28 11:22:31 +00:00