Skip to content

Commit cea1dcc

Browse files
committed
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.
1 parent 6a78a6d commit cea1dcc

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ jobs:
1818
node-version:
1919
- 14
2020
include:
21-
- node-version: 12
22-
os: ubuntu-latest
2321
- node-version: 16
2422
os: ubuntu-latest
2523
- node-version: 17

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"template"
1212
],
1313
"engines": {
14-
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
14+
"node": "^14.13.1 || >=16.0.0"
1515
},
1616
"scripts": {
1717
"prepare": "husky install",

0 commit comments

Comments
 (0)