Commit ff67f3a
committed
Use the same Node version as VSCode
As recommended here [1], we want to stay in sync with the current node
version shipped with VSCode (16.13.0) [2].
For this we can add a `.nvmrc` file to alert nvm to switch to the
preferred version automatically.
It will also help prevent builds from failing when setting up the
project for the first time, as building the extension currently fails in
Node v18. [3]
We're also updating the docs to mention using `nvm` to manage node
versions.
[1]: #1369 (comment)
[2]: https://github.com/microsoft/vscode/blob/32d40cf44e893e87ac33ac4f08de1e5f7fe077fc/remote/.yarnrc#L2
[3]: #13731 parent 642f478 commit ff67f3a
2 files changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments