Skip to content

Update vsce, node and npm versions #183

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16.14.2
v18.15.0
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

### Prerequisites

1. [Node.js](https://nodejs.org/) 16.14.2
1. npm 8.15.1
1. [Node.js](https://nodejs.org/) 18.15.0
1. npm 9.5.0
1. Windows, macOS, or Linux
1. [Visual Studio Code](https://code.visualstudio.com/)
1. The following VS Code extensions:
Expand Down Expand Up @@ -43,7 +43,7 @@ TypeScript errors and warnings will be displayed in the `Problems` window of Vis
Steps to build the extension on your machine once you've cloned the repo:

```bash
> npm install -g vsce
> npm install -g @vscode/vsce
> npm ci
> npm run package
```
Expand Down
4 changes: 2 additions & 2 deletions build/azure-pipeline.stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ extends:
parameters:
publishExtension: ${{ parameters.publishExtension }}
buildSteps:
- bash: npm i -g npm@8.15.1
displayName: Install npm@8.15.1
- bash: npm i -g npm@9.5.0
displayName: Install npm@9.5.0

- script: npm ci
displayName: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions build/azure-pipelines.pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ extends:
template: azure-pipelines/extension/stable.yml@templates
parameters:
buildSteps:
- bash: npm i -g npm@8.15.1
displayName: Install npm@8.15.1
- bash: npm i -g npm@9.5.0
displayName: Install npm@9.5.0

- script: npm ci
displayName: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion build/ci/templates/steps/initialization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ steps:
customCommand: ci

- bash: |
npm install -g vsce
npm install -g @vscode/vsce
displayName: 'Install vsce'

# https://code.visualstudio.com/api/working-with-extensions/continuous-integration#azure-pipelines
Expand Down