From f0364cb4da18b2498a83a64a87698408a31ace89 Mon Sep 17 00:00:00 2001 From: Wentao Kuang Date: Wed, 1 Nov 2023 15:01:11 +1300 Subject: [PATCH] Fix the imports --- packages/cli/src/cli/config/action.import.ts | 2 +- packages/cli/src/cog/builder.ts | 4 ++-- packages/cli/src/cog/cutline.ts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/cli/src/cli/config/action.import.ts b/packages/cli/src/cli/config/action.import.ts index d06984842..ec059ee2b 100644 --- a/packages/cli/src/cli/config/action.import.ts +++ b/packages/cli/src/cli/config/action.import.ts @@ -17,7 +17,7 @@ import fetch from 'node-fetch'; import { invalidateCache } from '../util.js'; import { Q, Updater } from './config.update.js'; import { FeatureCollection } from 'geojson'; -import { CogJobJson } from '@basemaps/shared/src/cog/types.js'; +import { CogJobJson } from '@basemaps/shared/build/cog/types.js'; const PublicUrlBase = Env.isProduction() ? 'https://basemaps.linz.govt.nz/' : 'https://dev.basemaps.linz.govt.nz/'; diff --git a/packages/cli/src/cog/builder.ts b/packages/cli/src/cog/builder.ts index 6994ed300..7f178b9a2 100644 --- a/packages/cli/src/cog/builder.ts +++ b/packages/cli/src/cog/builder.ts @@ -5,8 +5,8 @@ import { CogTiff, TiffTag, TiffTagGeo } from '@cogeotiff/core'; import pLimit, { LimitFunction } from 'p-limit'; import { basename } from 'path'; import { Cutline } from './cutline.js'; // -import { ProjectionLoader } from '@basemaps/geo/src/proj/projection.loader.js'; -import { CogBuilderMetadata, SourceMetadata } from '@basemaps/shared/src/cog/types.js'; +import { ProjectionLoader } from '@basemaps/geo/build/proj/projection.loader.js'; +import { CogBuilderMetadata, SourceMetadata } from '@basemaps/shared/build/cog/types.js'; export const InvalidProjectionCode = 32767; diff --git a/packages/cli/src/cog/cutline.ts b/packages/cli/src/cog/cutline.ts index 6e0fc2f0b..654b75cf3 100644 --- a/packages/cli/src/cog/cutline.ts +++ b/packages/cli/src/cog/cutline.ts @@ -10,8 +10,8 @@ import { union, } from '@linzjs/geojson'; import { FeatureCollection } from 'geojson'; -import { AlignedLevel, CoveringFraction } from '@basemaps/shared/src/cog/constants.js'; -import { CogJob, FeatureCollectionWithCrs, SourceMetadata } from '@basemaps/shared/src/cog/types.js'; +import { AlignedLevel, CoveringFraction } from '@basemaps/shared/build/cog/constants.js'; +import { CogJob, FeatureCollectionWithCrs, SourceMetadata } from '@basemaps/shared/build/cog/types.js'; /** Padding to always apply to image boundies */ const PixelPadding = 200;