Update Node version documentation
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user