Skip to content

Commit

Permalink
feat!(remix-cloudflare,remix-cloudflare-pages,remix-cloudflare-worker…
Browse files Browse the repository at this point in the history
…s): drop `@cloudflare/workers-types` v2 & v3 support
  • Loading branch information
MichaelDeBoey committed Mar 31, 2023
1 parent 8c6ecca commit 72b8129
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 12 deletions.
7 changes: 7 additions & 0 deletions .changeset/seven-queens-try.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@remix-run/cloudflare": major
"@remix-run/cloudflare-pages": major
"@remix-run/cloudflare-workers": major
---

drop `@cloudflare/workers-types` v2 & v3 support
4 changes: 2 additions & 2 deletions packages/remix-cloudflare-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
"@remix-run/cloudflare": "1.14.3"
},
"devDependencies": {
"@cloudflare/workers-types": "^3.4.0",
"@cloudflare/workers-types": "^4.20230307.0",
"@types/mime": "^2.0.3"
},
"peerDependencies": {
"@cloudflare/workers-types": "^3.0.0"
"@cloudflare/workers-types": "^4.0.0"
},
"engines": {
"node": ">=14"
Expand Down
4 changes: 2 additions & 2 deletions packages/remix-cloudflare-workers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
"@remix-run/cloudflare": "1.14.3"
},
"devDependencies": {
"@cloudflare/workers-types": "^3.4.0"
"@cloudflare/workers-types": "^4.20230307.0"
},
"peerDependencies": {
"@cloudflare/workers-types": "^2.0.0 || ^3.0.0"
"@cloudflare/workers-types": "^4.0.0"
},
"engines": {
"node": ">=14"
Expand Down
4 changes: 2 additions & 2 deletions packages/remix-cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
"@remix-run/server-runtime": "1.14.3"
},
"devDependencies": {
"@cloudflare/workers-types": "^3.4.0"
"@cloudflare/workers-types": "^4.20230307.0"
},
"peerDependencies": {
"@cloudflare/workers-types": "^2.0.0 || ^3.0.0"
"@cloudflare/workers-types": "^4.0.0"
},
"engines": {
"node": ">=14"
Expand Down
2 changes: 1 addition & 1 deletion templates/cloudflare-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
"@cloudflare/workers-types": "^3.18.0",
"@cloudflare/workers-types": "^4.20230307.0",
"@remix-run/dev": "*",
"@remix-run/eslint-config": "*",
"@types/react": "^18.0.25",
Expand Down
2 changes: 1 addition & 1 deletion templates/cloudflare-workers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
"@cloudflare/workers-types": "^3.18.0",
"@cloudflare/workers-types": "^4.20230307.0",
"@remix-run/dev": "*",
"@remix-run/eslint-config": "*",
"@types/react": "^18.0.25",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1570,10 +1570,10 @@
dependencies:
mime "^2.5.2"

"@cloudflare/workers-types@^3.4.0":
version "3.4.0"
resolved "https://registry.npmjs.org/@cloudflare/workers-types/-/workers-types-3.4.0.tgz"
integrity sha512-i/3czUrt6YqbOWl44OtIqd0cSZvEVXp/1oD/DZylC4PHZL3q/BhbamdEVeVhc/HPk4iD/7MZ2HGaIMO4Z4b12A==
"@cloudflare/workers-types@^4.20230307.0":
version "4.20230307.0"
resolved "https://registry.npmjs.org/@cloudflare/workers-types/-/workers-types-4.20230307.0.tgz#58a20fe167a5c48e20edba8e1fbfe4231bcfa223"
integrity sha512-Go968aDDcqONHQcUdgIiPRkPdT4QTzD0ecHJsI1u7ZiHPMOoZn+Dy7hYsdUJ5ldX9wTZDrICBM1rDKTRaDUitg==

"@colors/[email protected]":
version "1.5.0"
Expand Down

0 comments on commit 72b8129

Please sign in to comment.