diff --git a/packages/cogify/src/cogify/gdal.command.ts b/packages/cogify/src/cogify/gdal.command.ts index a0b6d4ebf..b2244a95d 100644 --- a/packages/cogify/src/cogify/gdal.command.ts +++ b/packages/cogify/src/cogify/gdal.command.ts @@ -1,4 +1,4 @@ -import { RGBA } from '@basemaps/config/src/color.js'; +import { RGBA } from '@basemaps/config'; import { Epsg, EpsgCode, TileMatrixSets } from '@basemaps/geo'; import { urlToString } from '@basemaps/shared'; diff --git a/packages/cogify/src/cogify/parsers.ts b/packages/cogify/src/cogify/parsers.ts index 42af7b161..c4b1234c7 100644 --- a/packages/cogify/src/cogify/parsers.ts +++ b/packages/cogify/src/cogify/parsers.ts @@ -1,6 +1,6 @@ import { pathToFileURL } from 'node:url'; -import { parseRgba, RGBA } from '@basemaps/config/src/color.js'; +import { parseRgba, RGBA } from '@basemaps/config'; import { fsa } from '@basemaps/shared'; import { Type } from 'cmd-ts'; diff --git a/packages/cogify/src/cogify/stac.ts b/packages/cogify/src/cogify/stac.ts index 5837fdbc5..fc83d6f25 100644 --- a/packages/cogify/src/cogify/stac.ts +++ b/packages/cogify/src/cogify/stac.ts @@ -1,6 +1,6 @@ import { createHash } from 'node:crypto'; -import { RGBA } from '@basemaps/config/src/color.js'; +import { RGBA } from '@basemaps/config'; import { Tile } from '@basemaps/geo'; import { StacCollection, StacItem, StacLink } from 'stac-ts'; diff --git a/packages/cogify/src/tile.cover.ts b/packages/cogify/src/tile.cover.ts index 6f33d9521..7bc9622af 100644 --- a/packages/cogify/src/tile.cover.ts +++ b/packages/cogify/src/tile.cover.ts @@ -1,4 +1,4 @@ -import { RGBA } from '@basemaps/config/src/color.js'; +import { RGBA } from '@basemaps/config'; import { ConfigImageryTiff } from '@basemaps/config-loader'; import { BoundingBox, Bounds, EpsgCode, Projection, ProjectionLoader, TileId, TileMatrixSet } from '@basemaps/geo'; import { fsa, LogType, urlToString } from '@basemaps/shared'; diff --git a/packages/config/src/index.ts b/packages/config/src/index.ts index ee3e0bdd4..95a40b13f 100644 --- a/packages/config/src/index.ts +++ b/packages/config/src/index.ts @@ -7,7 +7,7 @@ export { } from './base.config.js'; export { base58, isBase58 } from './base58.js'; export { ensureBase58, sha256base58 } from './base58.node.js'; -export { parseHex, parseRgba } from './color.js'; +export { parseHex, parseRgba, RGBA } from './color.js'; export { ConfigBase as BaseConfig } from './config/base.js'; export { ConfigBundle } from './config/config.bundle.js'; export { ConfigImagery, ConfigImageryOverview, ImageryBandType, ImageryDataType } from './config/imagery.js';