Skip to content

Commit

Permalink
(fix): Try fixing cloudflare worker type issue with kv plugin (ardata…
Browse files Browse the repository at this point in the history
  • Loading branch information
AdiRishi authored Dec 5, 2023
1 parent d8c1b84 commit a2c7657
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/tough-pugs-fetch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@envelop/response-cache-cloudflare-kv': minor
---

Change @cloudflare/workers-types to an optional peer dependency of the package
7 changes: 6 additions & 1 deletion packages/plugins/response-cache-cloudflare-kv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,19 @@
},
"typings": "dist/typings/index.d.ts",
"peerDependencies": {
"@cloudflare/workers-types": "^4.20231121.0",
"@envelop/response-cache": "^6.1.1",
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0"
},
"peerDependenciesMeta": {
"@cloudflare/workers-types": {
"optional": true
}
},
"dependencies": {
"tslib": "^2.6.2"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20231025.0",
"@envelop/response-cache": "^6.1.1",
"jest-environment-miniflare": "^2.14.1",
"ts-jest": "29.1.1",
Expand Down
11 changes: 7 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a2c7657

Please sign in to comment.