diff --git a/package-lock.json b/package-lock.json index 1aa54f963..87244dbad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19637,6 +19637,7 @@ "version": "7.10.0", "license": "MIT", "dependencies": { + "lerc": "^4.0.4", "sharp": "^0.33.0" }, "bin": { diff --git a/packages/cli/package.json b/packages/cli/package.json index 348715ddd..9833b02d0 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -30,7 +30,8 @@ "outfile": "dist/index.cjs", "external": [ "sharp", - "pino-pretty" + "pino-pretty", + "lerc" ] } ], diff --git a/packages/cli/src/cli/server/action.serve.ts b/packages/cli/src/cli/server/action.serve.ts index 7baf3c0ee..7d11f6894 100644 --- a/packages/cli/src/cli/server/action.serve.ts +++ b/packages/cli/src/cli/server/action.serve.ts @@ -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; diff --git a/packages/server/package.json b/packages/server/package.json index c1942f506..c71297a0f 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -35,7 +35,8 @@ "executable": true, "external": [ "pino-pretty", - "sharp" + "sharp", + "lerc" ] } ], @@ -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",