Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(server): Add lerc external into server package. #3348

Merged
merged 6 commits into from
Sep 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"outfile": "dist/index.cjs",
"external": [
"sharp",
"pino-pretty"
"pino-pretty",
"lerc"
]
}
],
Expand Down
1 change: 1 addition & 0 deletions packages/cli/src/cli/server/action.serve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {

const DefaultPort = 5000;

/** @deprecated 2024-09 Use the basemaps/server container directly now, and deprecate this later. */
export class CommandServe extends CommandLineAction {
config!: CommandLineStringParameter;
assets!: CommandLineStringParameter;
Expand Down
6 changes: 4 additions & 2 deletions packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
"executable": true,
"external": [
"pino-pretty",
"sharp"
"sharp",
"lerc"
]
}
],
Expand All @@ -47,7 +48,8 @@
"@basemaps/landing": "^7.0.0"
},
"dependencies": {
"sharp": "^0.33.0"
"sharp": "^0.33.0",
"lerc": "^4.0.4"
},
"devDependencies": {
"@basemaps/config": "^7.7.0",
Expand Down
Loading