Celtrix
Celtrix copied to clipboard
[FEATURE] Generate .nvmrc and an engines field in new projects
Description Generated projects need Node.js 20.19+ or 22.12+ because of the Vite versions they install, but the project itself does not record this. Teammates on older Node.js get confusing errors.
Proposed solution
- Write a
.nvmrcwith a supported Node.js version - Set
engines.nodeto>=20.19.0in the rootpackage.json - Mention both in
CELTRIX_SETUP.md
Acceptance criteria
- [ ] Present for presets and custom stacks
- [ ] Frontend-only projects get the same files
- [ ] Covered by a unit test
Please assign me.
Hello Pratik Damas, Could you please assign this issue to me? I can work on it and resolve it.