From: Haoqun Jiang Date: Wed, 24 Nov 2021 11:19:25 +0000 (+0800) Subject: chore!: have to drop Node.js 12 (again) X-Git-Tag: v3.0.0-beta.7~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cea1dcc1b1b4e7a33bea0db9a4febae88bae626a;p=thirdparty%2Fvuejs%2Fcreate-vue.git 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. --- 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",