Skip to content

Commit 385dbfb

Browse files
committed
fix(deps): declare playwright-core as direct dependency
playwright-cli.js requires `playwright-core/lib/tools/cli-client/program` but only `playwright` is declared as a dependency. Under package managers that isolate transitives (pnpm with the default `isolated` linker), the require fails immediately on every install. Pinning `playwright-core` to the same version as `playwright` removes the dependency on hoisting and matches the existing transitive resolution. Fixes #396
1 parent 212b11d commit 385dbfb

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

package-lock.json

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
"@types/node": "^25.2.1"
2323
},
2424
"dependencies": {
25-
"playwright": "1.60.0-alpha-1777669338000"
25+
"playwright": "1.60.0-alpha-1777669338000",
26+
"playwright-core": "1.60.0-alpha-1777669338000"
2627
},
2728
"bin": {
2829
"playwright-cli": "playwright-cli.js"

0 commit comments

Comments
 (0)