Skip to content

Commit 5a55eee

Browse files
authored
chore: revert "chore: only allow pnpm using devEngines (#20201)" (#21178)
1 parent 3aa7527 commit 5a55eee

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

package.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@
55
"engines": {
66
"node": "^20.19.0 || >=22.12.0"
77
},
8-
"devEngines": {
9-
"packageManager": {
10-
"name": "pnpm",
11-
"onFail": "error"
12-
}
13-
},
148
"homepage": "https://vite.dev/",
159
"repository": {
1610
"type": "git",
@@ -24,6 +18,7 @@
2418
"vite"
2519
],
2620
"scripts": {
21+
"preinstall": "npx only-allow pnpm",
2722
"postinstall": "simple-git-hooks",
2823
"format": "prettier --write --cache .",
2924
"lint": "eslint --cache .",

0 commit comments

Comments
 (0)