]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
chore!: bump the minimum Node.js version requirement as a precaution
authorHaoqun Jiang <haoqunjiang@gmail.com>
Wed, 17 Nov 2021 07:23:04 +0000 (15:23 +0800)
committerHaoqun Jiang <haoqunjiang@gmail.com>
Wed, 17 Nov 2021 08:54:56 +0000 (16:54 +0800)
As more and more packages are switching to pure ESM, some of the
ESM-related features are only supported in Node.js 12.20 or higher,
e.g. [subpath patterns](https://nodejs.org/api/packages.html#subpath-patterns).

So we need to bump the minimum version requirement to avoid confusions.

package.json

index 4dfc002d1ae0ed2d50d07441c78e0364e66ee263..1f629b69d9b3a359e5ce5e791cee7b2bf4c0fe55 100644 (file)
@@ -11,7 +11,7 @@
     "template"
   ],
   "engines": {
-    "node": "^12.13.0 || ^14.0.0 || >= 16.0.0"
+    "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
   },
   "scripts": {
     "prepare": "husky install",