diff --git a/.cursor/rules/use-bun-instead-of-node-vite-npm-pnpm.mdc b/.cursor/rules/use-bun-instead-of-node-vite-npm-pnpm.mdc new file mode 100644 index 0000000..922c030 --- /dev/null +++ b/.cursor/rules/use-bun-instead-of-node-vite-npm-pnpm.mdc @@ -0,0 +1,42 @@ +--- +description: Use Bun as the runtime, bundler, and package manager for all JavaScript/TypeScript projects in this ecosystem (especially Nexus AI Gateway). Do NOT use Node.js, Vite, npm, or pnpm. +globs: ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx", "package.json", "*.config.*"] +alwaysApply: true +--- + +# Use Bun Instead of Node / Vite / npm / pnpm + +This ecosystem's backend (Nexus AI Gateway) is built with **Bun**. Always prefer Bun for all runtime, bundling, and package-management tasks. + +## Rules + +### ✅ DO — Use Bun +- Run scripts with `bun run