feat: update Node.js requirements to 22 LTS for ONNX compatibility

- Update package.json engines to require Node.js >=22.0.0
- Add .nvmrc file specifying Node.js 22
- Document Node.js version requirements in README
- Add warning about Node.js 24 ONNX runtime compatibility issues
- Provide clear guidance for production deployments

This addresses known crashes during inference operations on Node.js 24
while ensuring maximum stability with the latest LTS version.
This commit is contained in:
David Snelling 2025-08-28 16:05:14 -07:00
parent 8cdd9b2eb3
commit 5cc467f7f6
3 changed files with 14 additions and 1 deletions

1
.nvmrc Normal file
View file

@ -0,0 +1 @@
22