@@ -9,30 +9,30 @@ This skill provides all commands and best practices for building, developing, an
99
1010## Building and Development
1111
12- - ` bun run build` - Build the project using tsdown
13- - ` bun run rebuild` - Fetch latest OpenAPI specs and rebuild everything
14- - ` bun run dev` - Watch mode for development (builds on file changes)
15- - ` bun run fetch:specs` - Update OpenAPI specifications from remote
12+ - ` pnpm build` - Build the project using tsdown
13+ - ` pnpm rebuild` - Fetch latest OpenAPI specs and rebuild everything
14+ - ` pnpm dev` - Watch mode for development (builds on file changes)
15+ - ` pnpm fetch:specs` - Update OpenAPI specifications from remote
1616
1717## Testing
1818
19- - ` bun run test` - Run all tests (unit, examples, scripts)
20- - ` bun run test:unit` - Run only unit tests
21- - ` bun test src/path/to/file.spec.ts` - Run a specific test file
22- - ` bun test -t "test name"` - Run tests matching a pattern
19+ - ` pnpm test` - Run all tests (unit, examples, scripts)
20+ - ` pnpm test:unit` - Run only unit tests
21+ - ` pnpm vitest src/path/to/file.spec.ts` - Run a specific test file
22+ - ` pnpm vitest -t "test name"` - Run tests matching a pattern
2323
2424## Code Quality
2525
26- - ` bun run lint` - Run Biome linter
27- - ` bun run format` - Format code with Biome
28- - ` bun run typecheck` - Type check with tsgo
29- - ` bun run lint:fix` - Auto-fix linting issues
26+ - ` pnpm lint` - Run Biome linter
27+ - ` pnpm format` - Format code with Biome
28+ - ` pnpm typecheck` - Type check with tsgo
29+ - ` pnpm lint:fix` - Auto-fix linting issues
3030
3131## Documentation
3232
33- - ` bun run docs:build` - Build MkDocs documentation
34- - ` bun run docs:serve` - Serve docs locally
35- - ` bun run docs:deploy` - Deploy docs to GitHub Pages
33+ - ` pnpm docs:build` - Build MkDocs documentation
34+ - ` pnpm docs:serve` - Serve docs locally
35+ - ` pnpm docs:deploy` - Deploy docs to GitHub Pages
3636
3737## Development Guidelines
3838
@@ -51,7 +51,7 @@ Keep commits tiny but meaningful:
5151
5252### When to Rebuild
5353
54- Always run ` bun run rebuild` when:
54+ Always run ` pnpm rebuild` when:
5555- Updating OpenAPI specifications
5656- After pulling spec changes
5757- Before committing generated files
@@ -60,18 +60,18 @@ Always run `bun run rebuild` when:
6060
61611 . Create feature branch: ` git checkout -b feature-name `
62622 . Make changes to source files
63- 3 . Run type checking: ` bun run typecheck`
64- 4 . Run linter: ` bun run lint:fix`
65- 5 . Run tests: ` bun run test`
66- 6 . Format code: ` bun run format`
67- 7 . Rebuild if specs changed: ` bun run rebuild`
63+ 3 . Run type checking: ` pnpm typecheck`
64+ 4 . Run linter: ` pnpm lint:fix`
65+ 5 . Run tests: ` pnpm test`
66+ 6 . Format code: ` pnpm format`
67+ 7 . Rebuild if specs changed: ` pnpm rebuild`
68688 . Commit with detailed messages
69699 . Push and create PR: ` gh pr create `
7070
7171## Troubleshooting
7272
7373### Command Failures
74- If ` bunx <command>` fails, try ` bun x <command>` instead.
74+ If ` pnpm exec <command>` fails, try ` pnpm dlx <command>` instead.
7575
7676If bash commands fail, try running with fish shell:
7777``` bash
@@ -133,10 +133,10 @@ Use the TypeScript exhaustiveness pattern (`satisfies never`) when branching on
133133## Publishing & Deployment
134134
135135When ready to release:
136- 1 . Ensure all tests pass: ` bun run test`
137- 2 . Verify type checking: ` bun run typecheck`
138- 3 . Build documentation: ` bun run docs:build`
136+ 1 . Ensure all tests pass: ` pnpm test`
137+ 2 . Verify type checking: ` pnpm typecheck`
138+ 3 . Build documentation: ` pnpm docs:build`
1391394 . Bump version in package.json
1401405 . Create release commit
1411416 . Push to main or create release PR
142- 7 . Deploy docs: ` bun run docs:deploy`
142+ 7 . Deploy docs: ` pnpm docs:deploy`
0 commit comments