]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
chore!: have to drop Node.js 12 (again)
authorHaoqun Jiang <haoqunjiang@gmail.com>
Wed, 24 Nov 2021 11:19:25 +0000 (19:19 +0800)
committerHaoqun Jiang <haoqunjiang@gmail.com>
Wed, 24 Nov 2021 11:19:25 +0000 (19:19 +0800)
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
package.json

index 9bfaf57f9bde690b370790e2535db133dd6726f3..41ef41713f1c1e6909ac721ffc8ad40cfd066077 100644 (file)
@@ -18,8 +18,6 @@ jobs:
         node-version:
           - 14
         include:
-          - node-version: 12
-            os: ubuntu-latest
           - node-version: 16
             os: ubuntu-latest
           - node-version: 17
index 8a279b9c25d69ddac4787c97638fbee7e7b46c2f..2354681798861bee651a96632c33cc2da57200ed 100644 (file)
@@ -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",