Contributing
Thank you for wanting to contribute to Nitro 💛
Before everything, please make sure to check the open issues or the dicussions.
To contribute locally:
- Fork and clone unjs/nitro
- Enable corepack using
corepack enable(usenpm i -g corepackfor Node.js < 16.10) - Install dependencies using
pnpm install - Activate passive watcher using
pnpm stub - Start playground with
pnpm devand openhttp://localhost:3000- You can also try
examples/usingpnpm nitro dev examples/<name>andpnpm nitro build examples/<name>
- You can also try
- Make changes
- Ensure all tests pass using the
pnpm testcommand - Open a Pull-Request
You can also run pnpm vitest test/presets/node.test.ts to run a single test.

