From 05fd1fc95c06b84df8c01fc960fc58a1bb91780c Mon Sep 17 00:00:00 2001 From: Alex Weininger Date: Thu, 7 Sep 2023 13:38:10 -0700 Subject: [PATCH] Use Node 18.15 (#3831) * Use Node 18.15 * Bump required VS Code version * Make build step use .nvmrc --- .azure-pipelines/common/build.yml | 5 +++-- .nvmrc | 2 +- package-lock.json | 16 ++++++++-------- package.json | 4 ++-- 4 files changed, 14 insertions(+), 13 deletions(-) diff --git a/.azure-pipelines/common/build.yml b/.azure-pipelines/common/build.yml index 4abc382a8..2151efb42 100644 --- a/.azure-pipelines/common/build.yml +++ b/.azure-pipelines/common/build.yml @@ -1,8 +1,9 @@ steps: - task: NodeTool@0 - displayName: 'Use Node 16.x' + displayName: 'Use Node' inputs: - versionSpec: 16.x + versionSource: fromFile + versionFilePath: .nvmrc - task: Npm@1 displayName: 'npm ci' diff --git a/.nvmrc b/.nvmrc index 0cf077e6b..932b2b01d 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16.14 +18.15 diff --git a/package-lock.json b/package-lock.json index 19ca0f45a..5c4792db5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -51,7 +51,7 @@ "@types/node": "^16.18.36", "@types/ps-tree": "^1.1.0", "@types/semver": "^5.5.0", - "@types/vscode": "1.79.0", + "@types/vscode": "^1.81.0", "@types/websocket": "^1.0.0", "@types/xml2js": "^0.4.5", "@types/xregexp": "4.3.0", @@ -79,7 +79,7 @@ "webpack-cli": "^4.6.0" }, "engines": { - "vscode": "^1.79.0" + "vscode": "^1.82.0" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -1631,9 +1631,9 @@ } }, "node_modules/@types/vscode": { - "version": "1.79.0", - "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.79.0.tgz", - "integrity": "sha512-Tfowu2rSW8hVGbqzQLSPlOEiIOYYryTkgJ+chMecpYiJcnw9n0essvSiclnK+Qh/TcSVJHgaK4EMrQDZjZJ/Sw==", + "version": "1.81.0", + "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.81.0.tgz", + "integrity": "sha512-YIaCwpT+O2E7WOMq0eCgBEABE++SX3Yl/O02GoMIF2DO3qAtvw7m6BXFYsxnc6XyzwZgh6/s/UG78LSSombl2w==", "dev": true }, "node_modules/@types/websocket": { @@ -14597,9 +14597,9 @@ } }, "@types/vscode": { - "version": "1.79.0", - "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.79.0.tgz", - "integrity": "sha512-Tfowu2rSW8hVGbqzQLSPlOEiIOYYryTkgJ+chMecpYiJcnw9n0essvSiclnK+Qh/TcSVJHgaK4EMrQDZjZJ/Sw==", + "version": "1.81.0", + "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.81.0.tgz", + "integrity": "sha512-YIaCwpT+O2E7WOMq0eCgBEABE++SX3Yl/O02GoMIF2DO3qAtvw7m6BXFYsxnc6XyzwZgh6/s/UG78LSSombl2w==", "dev": true }, "@types/websocket": { diff --git a/package.json b/package.json index 928dacb6b..37fb9383e 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "icon": "resources/azure-functions.png", "aiKey": "0c6ae279ed8443289764825290e4f9e2-1a736e7c-1324-4338-be46-fc2a58ae4d14-7255", "engines": { - "vscode": "^1.79.0" + "vscode": "^1.82.0" }, "repository": { "type": "git", @@ -1150,7 +1150,7 @@ "@types/node": "^16.18.36", "@types/ps-tree": "^1.1.0", "@types/semver": "^5.5.0", - "@types/vscode": "1.79.0", + "@types/vscode": "^1.81.0", "@types/websocket": "^1.0.0", "@types/xml2js": "^0.4.5", "@types/xregexp": "4.3.0",