Skip to content

Commit

Permalink
feat(cli)!: Remove the old cog creation, serve, and sprites cli. BM-879
Browse files Browse the repository at this point in the history
… (#2978)

#### Motivation
We have the new cogify working fine in the argo workflow with all bug
fixed. We don't need this old one, should deprecate it and archive to
make the cli package looks much cleaner.

#### Modification
- Remove all the cog creation cli
- Remove sprites cli - this now in the package/sprites
- Still keeps some old cog types for job.json as we not reprocess all
the old imagery yet.
- Still need to keep cog creation log for the create-overview cli. We
should move this cli in to cogify in the future.

#### Checklist


- [ ] Tests updated
- [ ] Docs updated
- [ ] Issue linked in Title
  • Loading branch information
Wentao-Kuang authored Oct 17, 2023
1 parent 7a5165d commit 895b762
Show file tree
Hide file tree
Showing 28 changed files with 18 additions and 2,757 deletions.
2 changes: 1 addition & 1 deletion packages/bathymetry/src/bathy.maker.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Gdal } from '@basemaps/cli';
import { Gdal } from '@basemaps/cli/build/gdal/gdal.js';
import { GdalCommand } from '@basemaps/cli/build/gdal/gdal.command.js';
import { Bounds, Epsg, Tile, TileMatrixSet } from '@basemaps/geo';
import { fsa, LogType, s3ToVsis3 } from '@basemaps/shared';
Expand Down
4 changes: 0 additions & 4 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
"@basemaps/geo": "^6.44.0",
"@basemaps/server": "^6.46.0",
"@basemaps/shared": "^6.46.0",
"@basemaps/sprites": "^6.41.0",
"@basemaps/tiler": "^6.44.0",
"@basemaps/tiler-sharp": "^6.45.0",
"@chunkd/fs": "^10.0.2",
Expand All @@ -52,12 +51,10 @@
"@cotar/core": "^5.4.0",
"@cotar/tar": "^5.4.1",
"@linzjs/geojson": "^6.43.0",
"@octokit/core": "^4.0.5",
"@rushstack/ts-command-line": "^4.3.13",
"ansi-colors": "^4.1.1",
"deep-diff": "^1.0.2",
"flatgeobuf": "^3.23.1",
"get-port": "^6.1.2",
"node-fetch": "^3.2.3",
"p-limit": "^4.0.0",
"pretty-json-log": "^1.0.0",
Expand All @@ -66,7 +63,6 @@
},
"devDependencies": {
"@types/deep-diff": "^1.0.1",
"@types/proj4": "^2.5.2",
"@types/sharp": "^0.31.0"
},
"publishConfig": {
Expand Down
Empty file removed packages/cli/src/cli/base.cli.ts
Empty file.
105 changes: 0 additions & 105 deletions packages/cli/src/cli/cogify/__tests__/batch.job.test.ts

This file was deleted.

69 changes: 0 additions & 69 deletions packages/cli/src/cli/cogify/__tests__/semver.test.ts

This file was deleted.

Loading

0 comments on commit 895b762

Please sign in to comment.