Enforce node and npm versions (#254)

* Enforce node and npm versions

* Bump to v20
This commit is contained in:
Sergei Chestakov
2025-06-23 16:49:09 -04:00
committed by GitHub
parent f8c1509c20
commit c301d59419
3 changed files with 6 additions and 1 deletions

1
.nvmrc Normal file
View File

@ -0,0 +1 @@
v20.12.2

View File

@ -51,7 +51,7 @@ Here are some frequently used commands:
You can build the project locally by following these steps:
_Note: developing lms requires Node.js 18.6.0_
_Note: make sure the version of Node you have installed matches the one specified in the `engines` of the `package.json`._
```bash
git clone https://github.com/lmstudio-ai/lms.git

View File

@ -12,6 +12,10 @@
"clean": "shx rm -rf ./dist && shx rm -f ./tsconfig.tsbuildinfo",
"postinstall": "patch-package"
},
"engines": {
"node": "^20.12.2",
"npm": ">=8"
},
"author": "LM Studio <team@lmstudio.ai> (https://lmstudio.ai)",
"license": "Apache-2.0",
"dependencies": {