Skip to content

Commit e55fde1

Browse files
committed
important: update sharp to latest and remove resolution override from package.json and Dockerfile
1 parent 86b32ee commit e55fde1

File tree

3 files changed

+154
-253
lines changed

3 files changed

+154
-253
lines changed

docker/Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ FROM base AS build
1414
COPY package.json yarn.lock ./
1515
RUN yarn install --frozen-lockfile
1616

17-
# override sharp 0.32.6 with 0.33.3, fails without this
18-
RUN yarn remove sharp
19-
RUN yarn add --ignore-engines [email protected]
20-
2117
COPY . .
2218

2319
ARG ARG_SITE_URL_ARM64

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"react-grid-gallery": "^1.0.1",
5656
"react-image-lightbox": "^5.1.4",
5757
"reading-time": "^1.5.0",
58-
"sharp": "0.32.6",
58+
"sharp": "0.33.5",
5959
"tailwind-clip-path": "^1.0.0",
6060
"tailwind-merge": "^2.5.5",
6161
"zod": "^3.23.4"
@@ -85,9 +85,6 @@
8585
"tailwindcss": "^3.4.15",
8686
"typescript": "^5.7.2"
8787
},
88-
"resolutions": {
89-
"sharp": "0.32.6"
90-
},
9188
"packageManager": "[email protected]",
9289
"engines": {
9390
"node": ">=v22.9.0"

0 commit comments

Comments
 (0)