Skip to content

Commit ff50a24

Browse files
authored
Merge pull request #7494 from dibarbet/upgrade_node
Upgrade to Node v20.17 and update vsce
2 parents 5f1d0d2 + 014310e commit ff50a24

File tree

4 files changed

+1717
-112
lines changed

4 files changed

+1717
-112
lines changed

CONTRIBUTING.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Setting up your local development environment for the vscode-csharp repository i
2222

2323
Before you start, make sure you have the following software installed on your machine:
2424

25-
* Node.js v18 ([v18.17.0 LTS](https://nodejs.org/en/blog/release/v18.17.0)).
25+
* Node.js v18 ([v18.17.0 LTS](https://nodejs.org/en/blog/release/v20.17.0)).
2626
* Note - Building with higher major versions of Node.js is not advised - it may work but we do not test it.
2727
* Npm (The version shipped with node is fine)
2828
* .NET 8.0 SDK (dotnet should be on your path)
@@ -141,6 +141,11 @@ Or, in VSCode settings (`Ctrl+,`):
141141
3. Enable `razor.languageServer.debug`.
142142
4. Set `razor.server.trace` to `Debug`. This gives you more detailed log messages in the output window.
143143

144+
### Updating NPM packages
145+
We use the .NET eng AzDo artifacts feed https://dnceng.pkgs.visualstudio.com/public/_packaging/dotnet-public-npm/npm/registry/ with upstreams to the public npm registry.
146+
Auth is required in order to pull new packages from the upstream. This can be done by running `vsts-npm-auth -config .npmrc`.
147+
If you need to renew authorization, you can force it via `vsts-npm-auth -config .npmrc -F`
148+
144149
## Creating VSIX Packages for the Extension
145150

146151
To package this extension, we need to create VSIX Packages. The VSIX packages can be created using the gulp command `gulp vsix:release:package`. This will create all the platform specific VSIXs that you can then install manually in VSCode.

azure-pipelines/prereqs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ steps:
1212
- task: NuGetAuthenticate@1
1313

1414
- task: NodeTool@0
15-
displayName: 'Install Node.js 18.x'
15+
displayName: 'Install Node.js 20.x'
1616
inputs:
17-
versionSpec: '18.x'
17+
versionSpec: '20.x'
1818

1919
# Some tests use predefined docker images with a specific version of .NET installed.
2020
# So we avoid installing .NET in those cases.

0 commit comments

Comments
 (0)