Skip to content

Commit e79f732

Browse files
committed
Update Node version documentation
1 parent 49deb2e commit e79f732

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

docs/node-version.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,11 @@ You can find this info by selecting "About Visual Studio Code" from the top menu
1313

1414
## Updating the Node.js version
1515

16-
The following files will need to be updated:
16+
To update the Node.js version, run:
1717

18-
- `extensions/ql-vscode/.nvmrc` - this will enable nvm to automatically switch to the correct Node
19-
version when you're in the project folder. It will also change the Node version the GitHub Actions
20-
workflows use.
21-
- `extensions/ql-vscode/package.json` - the "engines.node: '[VERSION]'" setting
22-
- `extensions/ql-vscode/package.json` - the "@types/node: '[VERSION]'" dependency
23-
24-
Then run `npm install` to update the `extensions/ql-vscode/package-lock.json` file.
18+
```bash
19+
npx ts-node scripts/update-node-version.ts
20+
```
2521

2622
## Node.js version used in tests
2723

0 commit comments

Comments
 (0)