Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 631 Bytes

File metadata and controls

16 lines (12 loc) · 631 Bytes
description Use Bun instead of Node.js, npm, pnpm, or vite.
globs *.ts, *.tsx, *.html, *.css, *.js, *.jsx, package.json
alwaysApply false

Default to using Bun instead of Node.js.

  • Use bun <file> instead of node <file> or ts-node <file>
  • Use bun install instead of npm install or yarn install or pnpm install
  • Use bun run <script> instead of npm run <script> or yarn run <script> or pnpm run <script>
  • Use bunx <package> <command> instead of npx <package> <command>

Testing

Do NOT use bun test to run tests. Instead call bun run test - which will call the correct test command.