Skip to content

Commit

Permalink
important: update sharp to latest and remove resolution override from…
Browse files Browse the repository at this point in the history
… package.json and Dockerfile
  • Loading branch information
nemanjam committed Dec 21, 2024
1 parent 86b32ee commit e55fde1
Show file tree
Hide file tree
Showing 3 changed files with 154 additions and 253 deletions.
4 changes: 0 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ FROM base AS build
COPY package.json yarn.lock ./
RUN yarn install --frozen-lockfile

# override sharp 0.32.6 with 0.33.3, fails without this
RUN yarn remove sharp
RUN yarn add --ignore-engines [email protected]

COPY . .

ARG ARG_SITE_URL_ARM64
Expand Down
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"react-grid-gallery": "^1.0.1",
"react-image-lightbox": "^5.1.4",
"reading-time": "^1.5.0",
"sharp": "0.32.6",
"sharp": "0.33.5",
"tailwind-clip-path": "^1.0.0",
"tailwind-merge": "^2.5.5",
"zod": "^3.23.4"
Expand Down Expand Up @@ -85,9 +85,6 @@
"tailwindcss": "^3.4.15",
"typescript": "^5.7.2"
},
"resolutions": {
"sharp": "0.32.6"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=v22.9.0"
Expand Down
Loading

0 comments on commit e55fde1

Please sign in to comment.