]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
chore: add devEngines field
authorHaoqun Jiang <haoqunjiang@gmail.com>
Wed, 9 Apr 2025 12:56:13 +0000 (20:56 +0800)
committerHaoqun Jiang <haoqunjiang@gmail.com>
Wed, 9 Apr 2025 12:56:13 +0000 (20:56 +0800)
For now it's not very useful except for preventing `npm install` from
running on the project.

Renovate doesn't pick this field up yet, but it's fine as we are using
a semver range here.

package.json

index 75128467ca530918c2c342f93358b7fc29fcc895..d37ef35178dd2bf12842337b344115dfd37136dc 100644 (file)
   "engines": {
     "node": ">=v18.3.0"
   },
+  "devEngines": {
+    "packageManager": {
+      "name": "pnpm",
+      "onFail": "download",
+      "version": ">= 10.7.1"
+    }
+  },
   "scripts": {
     "prepare": "husky",
     "format": "prettier --write .",