From cea1dcc1b1b4e7a33bea0db9a4febae88bae626a Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Wed, 24 Nov 2021 19:19:25 +0800 Subject: [PATCH] chore!: have to drop Node.js 12 (again) Because vscode-jsonrpc (a transitive dependency of `vue-tsc`) contains optional chaining syntax, which is only supported in Node.js 14+. I expect more and more such cases will emerge in the future. So let's just get rid of Node.js 12. --- .github/workflows/ci.yml | 2 -- package.json | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9bfaf57f..41ef4171 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,8 +18,6 @@ jobs: node-version: - 14 include: - - node-version: 12 - os: ubuntu-latest - node-version: 16 os: ubuntu-latest - node-version: 17 diff --git a/package.json b/package.json index 8a279b9c..23546817 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "template" ], "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "node": "^14.13.1 || >=16.0.0" }, "scripts": { "prepare": "husky install", -- 2.39.5