From e5d74ffbbbb3a28d38eec8c1d55b88f54d070a17 Mon Sep 17 00:00:00 2001 From: Jiaming <71547730+Jiaaming@users.noreply.github.com> Date: Thu, 8 Aug 2024 11:31:50 +0800 Subject: [PATCH] build - Update npm version to 18.20.4 (#1567) --- .github/workflows/main.yml | 6 +++--- .nvmrc | 2 +- extension/package-lock.json | 4 ++-- extension/package.json | 4 ++-- npm-package/package.json | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 23c818481..67db38a52 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,10 +18,10 @@ jobs: with: java-version: "17" architecture: x64 - - name: Use Node 16.14.2 + - name: Use Node 18.20.4 uses: actions/setup-node@v4 with: - node-version: 16.14.2 + node-version: 18.20.4 cache-dependency-path: extension/package-lock.json cache: npm - name: Cache npm cache directory @@ -68,7 +68,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [16.14.2] + node-version: [18.20.4] java-version: ["17", "21"] os: [ubuntu-latest, windows-latest, macos-latest] steps: diff --git a/.nvmrc b/.nvmrc index c91434ab5..17719ce25 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -14.15.4 +18.20.4 diff --git a/extension/package-lock.json b/extension/package-lock.json index 79a49f7a9..a478f332f 100644 --- a/extension/package-lock.json +++ b/extension/package-lock.json @@ -49,8 +49,8 @@ "webpack-cli": "^5.0.1" }, "engines": { - "node": "^14.15.4", - "npm": "^6.14.10", + "node": "^18.20.4", + "npm": "^10.7.0", "vscode": "^1.76.0" } }, diff --git a/extension/package.json b/extension/package.json index a9067ee0b..1bccad80f 100644 --- a/extension/package.json +++ b/extension/package.json @@ -18,8 +18,8 @@ "license": "SEE LICENSE IN LICENSE.md", "engines": { "vscode": "^1.76.0", - "node": "^14.15.4", - "npm": "^6.14.10" + "node": "^18.20.4", + "npm": "^10.7.0" }, "categories": [ "Programming Languages", diff --git a/npm-package/package.json b/npm-package/package.json index 37bdaad5c..aff2c1fe6 100644 --- a/npm-package/package.json +++ b/npm-package/package.json @@ -18,8 +18,8 @@ "main": "./index.js", "types": "./index.ts", "engines": { - "node": "^14.15.4", - "npm": "^6.14.10" + "node": "^18.20.4", + "npm": "^10.7.0" }, "scripts": { "compile": "tsc -p ."