Skip to content

Commit d94d44c

Browse files
committed
fix(cloudflare): Make @cloudflare/workers-types an optional peer dependency
1 parent c6760c4 commit d94d44c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/cloudflare/package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,14 @@
5151
"dependencies": {
5252
"@sentry/core": "9.3.0"
5353
},
54-
"optionalDependencies": {
54+
"peerDependencies": {
5555
"@cloudflare/workers-types": "^4.x"
5656
},
57+
"peerDependenciesMeta": {
58+
"@cloudflare/workers-types": {
59+
"optional": true
60+
}
61+
},
5762
"devDependencies": {
5863
"@cloudflare/workers-types": "^4.20240725.0",
5964
"@types/node": "^18.19.1",

0 commit comments

Comments
 (0)