fix: 移除 playwright devDep 解决 Chromium 版本冲突

rebrowser-playwright@1.52 需要 chromium-1169,但 playwright@1.58 的存在
导致 CLI 安装了 chromium-1208,补丁不兼容导致 session closed 崩溃。
移除 playwright,让 rebrowser-playwright 安装正确版本的浏览器。
This commit is contained in:
2026-03-01 11:54:35 +08:00
parent a767400400
commit 2538a19e98
3 changed files with 2 additions and 36 deletions
+1 -33
View File
@@ -22,7 +22,6 @@
"@types/express": "^5.0.0",
"@types/node": "^22.0.0",
"pino-pretty": "^13.0.0",
"playwright": "^1.58.2",
"tsup": "^8.0.0",
"typescript": "^5.7.0",
"vitest": "^3.0.0"
@@ -2791,38 +2790,6 @@
"pathe": "^2.0.1"
}
},
"node_modules/playwright": {
"version": "1.58.2",
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.58.2.tgz",
"integrity": "sha512-vA30H8Nvkq/cPBnNw4Q8TWz1EJyqgpuinBcHET0YVJVFldr8JDNiU9LaWAE1KqSkRYazuaBhTpB5ZzShOezQ6A==",
"dev": true,
"license": "Apache-2.0",
"dependencies": {
"playwright-core": "1.58.2"
},
"bin": {
"playwright": "cli.js"
},
"engines": {
"node": ">=18"
},
"optionalDependencies": {
"fsevents": "2.3.2"
}
},
"node_modules/playwright-core": {
"version": "1.58.2",
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.58.2.tgz",
"integrity": "sha512-yZkEtftgwS8CsfYo7nm0KE8jsvm6i/PTgVtB8DL726wNf6H2IMsDuxCpJj59KDaxCtSnrWan2AeDqM7JBaultg==",
"dev": true,
"license": "Apache-2.0",
"bin": {
"playwright-core": "cli.js"
},
"engines": {
"node": ">=18"
}
},
"node_modules/postcss": {
"version": "8.5.6",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz",
@@ -3749,6 +3716,7 @@
"integrity": "sha512-w+N7Hifpc3gRjZ63vYBXA56dvvRlNWRczTdmCBBa+CotUzAPf5b7YMdMR/8CQoeYE5LX3W4wj6RYTgonm1b9DA==",
"dev": true,
"license": "MIT",
"peer": true,
"dependencies": {
"esbuild": "^0.27.0",
"fdir": "^6.5.0",