description | globs | alwaysApply |
---|---|---|
Use Bun commands when installing or running to maintain consistent package management |
true |
blefnk/rules 1.0.0
- For installing dependencies and running scripts in this project
- Eliminates mixing other package managers
- Install dependencies with
bun add [package]
orbun add -D [package]
. - Run scripts using
bun [script]
(exception: for build and test scripts usebun run build
orbun run test
). - For standalone scripts use
bun path/to/script.ts
instead ofnode
,ts-node
ortsx
. - For one-off commands, use
bun x [command]
instead ofnpx
. - Install Shadcn components via
bun ui [component-name]
. - Update user schema by editing
src/lib/auth.ts
thenbun db:auth
.