fix: set minimal npm version to avoid peer: true

This commit is contained in:
Simon
2026-04-28 16:24:50 +08:00
parent 8d45ab8436
commit 820a2654ff
2 changed files with 4 additions and 2 deletions

3
package-lock.json generated
View File

@@ -44,7 +44,8 @@
"vite-plugin-css-injected-by-js": "^5.0.1" "vite-plugin-css-injected-by-js": "^5.0.1"
}, },
"engines": { "engines": {
"node": "^22.13.0 || >=24" "node": "^22.13.0 || >=24",
"npm": "^11.6.3"
} }
}, },
"node_modules/@1natsu/wait-element": { "node_modules/@1natsu/wait-element": {

View File

@@ -22,7 +22,8 @@
}, },
"homepage": "https://alibaba.github.io/page-agent/", "homepage": "https://alibaba.github.io/page-agent/",
"engines": { "engines": {
"node": "^22.13.0 || >=24" "node": "^22.13.0 || >=24",
"npm": "^11.6.3"
}, },
"scripts": { "scripts": {
"start": "npm run dev --workspace=@page-agent/website", "start": "npm run dev --workspace=@page-agent/website",