Update Node version documentation

This commit is contained in:
Koen Vlaswinkel
2024-01-02 15:57:35 +01:00
parent 49deb2e756
commit e79f732b84

View File

@@ -13,15 +13,11 @@ You can find this info by selecting "About Visual Studio Code" from the top menu
## Updating the Node.js version ## Updating the Node.js version
The following files will need to be updated: To update the Node.js version, run:
- `extensions/ql-vscode/.nvmrc` - this will enable nvm to automatically switch to the correct Node ```bash
version when you're in the project folder. It will also change the Node version the GitHub Actions npx ts-node scripts/update-node-version.ts
workflows use. ```
- `extensions/ql-vscode/package.json` - the "engines.node: '[VERSION]'" setting
- `extensions/ql-vscode/package.json` - the "@types/node: '[VERSION]'" dependency
Then run `npm install` to update the `extensions/ql-vscode/package-lock.json` file.
## Node.js version used in tests ## Node.js version used in tests