JavaScript/Node.js Conventions
Apply these conventions when working on JavaScript or Node.js files or projects.
Package Management
- •Use
pnpmfor all Node.js package management - •Do not use
npmoryarnunless the project explicitly requires them (e.g., existing lockfile, CI configuration) - •Commands:
pnpm install,pnpm add <pkg>,pnpm run <script>,pnpm exec <cmd>