Skip to content

Commit

Permalink
build: upgrade sharp to 0.33.0 (#3032)
Browse files Browse the repository at this point in the history
#### Motivation

Windows builds seem to not be working, due to a error with sharp builds

#### Modification

upgrade sharp to latest version

#### Checklist

_If not applicable, provide explanation of why._

- [ ] Tests updated
- [ ] Docs updated
- [ ] Issue linked in Title
  • Loading branch information
blacha authored Dec 11, 2023
1 parent 618cc51 commit 00c6c9f
Show file tree
Hide file tree
Showing 8 changed files with 1,303 additions and 4,196 deletions.
5,477 changes: 1,296 additions & 4,181 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions packages/bathymetry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@
"multihashes": "^4.0.2",
"ulid": "^2.3.0"
},
"peerDependencies": {
"mapnik": "^4.4.0"
},
"devDependencies": {
"@types/mapnik": "^3.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN apt-get update
RUN apt-get install -y nodejs

# Install sharp TODO update this when we change sharp versions
RUN npm install sharp@0.32.6
RUN npm install sharp@0.33.0

# Install the landing assets
COPY ./basemaps-landing*.tgz /app/
Expand Down
3 changes: 1 addition & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@
"zod": "^3.17.3"
},
"devDependencies": {
"@types/deep-diff": "^1.0.1",
"@types/sharp": "^0.32.0"
"@types/deep-diff": "^1.0.1"
},
"publishConfig": {
"access": "public"
Expand Down
3 changes: 1 addition & 2 deletions packages/lambda-tiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"p-limit": "^4.0.0",
"path-to-regexp": "^6.1.0",
"pixelmatch": "^5.1.0",
"sharp": "^0.32.6"
"sharp": "^0.33.0"
},
"bundle": {
"entry": "src/index.ts",
Expand All @@ -54,7 +54,6 @@
"@chunkd/source-memory": "^10.0.0",
"@types/aws-lambda": "^8.10.75",
"@types/pixelmatch": "^5.0.0",
"@types/sharp": "^0.32.0",
"pretty-json-log": "^1.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@basemaps/landing": "^7.0.0"
},
"dependencies": {
"sharp": "^0.32.6"
"sharp": "^0.33.0"
},
"devDependencies": {
"@basemaps/config": "^7.0.0",
Expand Down
5 changes: 2 additions & 3 deletions packages/sprites/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,9 @@
"dependencies": {
"@mapbox/shelf-pack": "^3.2.0",
"cmd-ts": "^0.12.1",
"sharp": "^0.32.6"
"sharp": "^0.33.0"
},
"devDependencies": {
"@types/mapbox__shelf-pack": "^3.0.1",
"@types/sharp": "^0.32.0"
"@types/mapbox__shelf-pack": "^3.0.1"
}
}
4 changes: 1 addition & 3 deletions packages/tiler-sharp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,11 @@
"dependencies": {
"@basemaps/geo": "^7.0.0",
"@basemaps/tiler": "^7.0.0",
"@linzjs/metrics": "^7.0.0",
"sharp": "^0.32.6"
"@linzjs/metrics": "^7.0.0"
},
"devDependencies": {
"@types/pixelmatch": "^5.2.3",
"@types/pngjs": "^6.0.0",
"@types/sharp": "^0.32.0",
"pixelmatch": "^5.1.0",
"pngjs": "^6.0.0"
},
Expand Down

0 comments on commit 00c6c9f

Please sign in to comment.