Skip to content

Commit

Permalink
Update and enforce latest sharp and gatsby-sharp pkgs to solve deploy…
Browse files Browse the repository at this point in the history
… errors (#1553)

fix: added resolutions for working sharp and gatsby-sharp pkgs
  • Loading branch information
dmitrymatio authored Dec 14, 2023
1 parent 98fd408 commit 96031a1
Show file tree
Hide file tree
Showing 3 changed files with 265 additions and 167 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,9 @@
"cy:open": "cypress open",
"test:e2e": "start-server-and-test start http://localhost:9000 cy:open"
},
"resolutions": {
"sharp": "0.33.0",
"gatsby-sharp": "1.12.0"
},
"packageManager": "yarn@3.2.3"
}
2 changes: 1 addition & 1 deletion packages/gatsby-theme-aio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
"rehype-slug-custom-id": "^1.1.0",
"request": "^2.88.2",
"resize-observer-polyfill": "^1.5.1",
"sharp": "^0.31.0",
"sharp": "0.33.0",
"stream-http": "^3.2.0",
"styled-components": "^5.3.5",
"swiper": "^8.3.2",
Expand Down
Loading

0 comments on commit 96031a1

Please sign in to comment.