Skip to content

Commit

Permalink
Update to latest oxygen-worker-types (#1494)
Browse files Browse the repository at this point in the history
* Bump oxygen-workers-types

* Changesets

* Changesets
  • Loading branch information
frandiox authored Nov 8, 2023
1 parent 8fce70d commit 9b4f453
Show file tree
Hide file tree
Showing 8 changed files with 45 additions and 20 deletions.
5 changes: 5 additions & 0 deletions .changeset/bright-cameras-do.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/remix-oxygen': patch
---

Change peer dependency of `@shopify/oxygen-workers-types` to allow for `^4.0.0` versions.
16 changes: 16 additions & 0 deletions .changeset/eleven-rivers-check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
'skeleton': patch
---

In TypeScript projects, when updating to the latest `@shopify/remix-oxygen` adapter release, please update also to the latest version of `@shopify/oxygen-workers-types`:

```diff
"devDependencies": {
"@remix-run/dev": "2.1.0",
"@remix-run/eslint-config": "2.1.0",
- "@shopify/oxygen-workers-types": "^3.17.3",
+ "@shopify/oxygen-workers-types": "^4.0.0",
"@shopify/prettier-config": "^1.1.2",
...
},
```
2 changes: 1 addition & 1 deletion examples/customer-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"devDependencies": {
"@remix-run/dev": "2.1.0",
"@shopify/oxygen-workers-types": "^3.17.2",
"@shopify/oxygen-workers-types": "^4.0.0",
"@shopify/prettier-config": "^1.1.2",
"@types/eslint": "^8.4.10",
"@types/react": "^18.2.22",
Expand Down
32 changes: 18 additions & 14 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions packages/remix-oxygen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
],
"devDependencies": {
"@remix-run/server-runtime": "^2.1.0",
"@shopify/oxygen-workers-types": "^3.17.3"
"@shopify/oxygen-workers-types": "^4.0.0"
},
"peerDependencies": {
"@remix-run/server-runtime": "^2.1.0",
"@shopify/oxygen-workers-types": "^3.17.3"
"@shopify/oxygen-workers-types": "^3.17.3 || ^4.0.0"
}
}
2 changes: 1 addition & 1 deletion templates/demo-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@remix-run/dev": "2.1.0",
"@remix-run/eslint-config": "2.1.0",
"@shopify/eslint-plugin": "^42.0.1",
"@shopify/oxygen-workers-types": "^3.17.3",
"@shopify/oxygen-workers-types": "^4.0.0",
"@shopify/prettier-config": "^1.1.2",
"@tailwindcss/forms": "^0.5.3",
"@tailwindcss/typography": "^0.5.9",
Expand Down
2 changes: 1 addition & 1 deletion templates/hello-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"devDependencies": {
"@remix-run/dev": "2.1.0",
"@shopify/oxygen-workers-types": "^3.17.3",
"@shopify/oxygen-workers-types": "^4.0.0",
"@shopify/prettier-config": "^1.1.2",
"@types/eslint": "^8.4.10",
"@types/react": "^18.2.22",
Expand Down
2 changes: 1 addition & 1 deletion templates/skeleton/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"devDependencies": {
"@remix-run/dev": "2.1.0",
"@remix-run/eslint-config": "2.1.0",
"@shopify/oxygen-workers-types": "^3.17.3",
"@shopify/oxygen-workers-types": "^4.0.0",
"@shopify/prettier-config": "^1.1.2",
"@total-typescript/ts-reset": "^0.4.2",
"@types/eslint": "^8.4.10",
Expand Down

0 comments on commit 9b4f453

Please sign in to comment.