Skip to content

Commit

Permalink
declare optional peer deps in browser crawler package
Browse files Browse the repository at this point in the history
  • Loading branch information
B4nan authored Jun 11, 2024
1 parent 031c788 commit e058c6a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
12 changes: 12 additions & 0 deletions packages/browser-crawler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,17 @@
"ow": "^0.28.1",
"tslib": "^2.4.0",
"type-fest": "^4.0.0"
},
"peerDependencies": {
"playwright": "*",
"puppeteer": "*"
},
"peerDependenciesMeta": {
"playwright": {
"optional": true
},
"puppeteer": {
"optional": true
}
}
}
9 changes: 8 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -545,9 +545,16 @@ __metadata:
"@crawlee/types": "npm:3.10.4"
"@crawlee/utils": "npm:3.10.4"
ow: "npm:^0.28.1"
playwright: "npm:1.44.1"
tslib: "npm:^2.4.0"
type-fest: "npm:^4.0.0"
peerDependencies:
playwright: "*"
puppeteer: "*"
peerDependenciesMeta:
playwright:
optional: true
puppeteer:
optional: true
languageName: unknown
linkType: soft

Expand Down

0 comments on commit e058c6a

Please sign in to comment.