@basemaps/cli 8.0.0 → 8.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -34,7 +34,7 @@ export declare const Cli: Partial<import("cmd-ts/dist/cjs/argparser.js").Registe
34
34
  command: "import";
35
35
  args: {
36
36
  config: string;
37
- output: string;
37
+ output: string | undefined;
38
38
  target: string | undefined;
39
39
  commit: boolean;
40
40
  verbose: boolean;
@@ -90,6 +90,48 @@ export declare const Cli: Partial<import("cmd-ts/dist/cjs/argparser.js").Registe
90
90
  extraVerbose: boolean;
91
91
  };
92
92
  };
93
+ } | {
94
+ command: "vector";
95
+ args: {
96
+ command: "join";
97
+ args: {
98
+ fromFile: URL[];
99
+ filename: string;
100
+ tileMatrix: string;
101
+ title: string;
102
+ target: URL | undefined;
103
+ verbose: boolean;
104
+ extraVerbose: boolean;
105
+ };
106
+ } | {
107
+ command: "extract";
108
+ args: {
109
+ schema: URL;
110
+ cache: string;
111
+ tileMatrix: string;
112
+ verbose: boolean;
113
+ extraVerbose: boolean;
114
+ };
115
+ } | {
116
+ command: "create";
117
+ args: {
118
+ path: URL[];
119
+ fromFile: URL[] | undefined;
120
+ concurrency: number;
121
+ join: boolean;
122
+ verbose: boolean;
123
+ extraVerbose: boolean;
124
+ };
125
+ } | {
126
+ command: "analyse";
127
+ args: {
128
+ path: URL;
129
+ template: string;
130
+ target: URL;
131
+ verbose: boolean;
132
+ extraVerbose: boolean;
133
+ };
134
+ };
93
135
  }>>;
94
136
  } & import("cmd-ts/dist/cjs/helpdoc.js").Named & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive & import("cmd-ts/dist/cjs/helpdoc.js").Versioned> & import("cmd-ts/dist/cjs/helpdoc.js").PrintHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned> & import("cmd-ts/dist/cjs/argparser.js").Register & import("cmd-ts/dist/cjs/runner.js").Handling<{
95
137
  command: "config";
@@ -125,7 +167,7 @@ export declare const Cli: Partial<import("cmd-ts/dist/cjs/argparser.js").Registe
125
167
  command: "import";
126
168
  args: {
127
169
  config: string;
128
- output: string;
170
+ output: string | undefined;
129
171
  target: string | undefined;
130
172
  commit: boolean;
131
173
  verbose: boolean;
@@ -181,6 +223,48 @@ export declare const Cli: Partial<import("cmd-ts/dist/cjs/argparser.js").Registe
181
223
  extraVerbose: boolean;
182
224
  };
183
225
  };
226
+ } | {
227
+ command: "vector";
228
+ args: {
229
+ command: "join";
230
+ args: {
231
+ fromFile: URL[];
232
+ filename: string;
233
+ tileMatrix: string;
234
+ title: string;
235
+ target: URL | undefined;
236
+ verbose: boolean;
237
+ extraVerbose: boolean;
238
+ };
239
+ } | {
240
+ command: "extract";
241
+ args: {
242
+ schema: URL;
243
+ cache: string;
244
+ tileMatrix: string;
245
+ verbose: boolean;
246
+ extraVerbose: boolean;
247
+ };
248
+ } | {
249
+ command: "create";
250
+ args: {
251
+ path: URL[];
252
+ fromFile: URL[] | undefined;
253
+ concurrency: number;
254
+ join: boolean;
255
+ verbose: boolean;
256
+ extraVerbose: boolean;
257
+ };
258
+ } | {
259
+ command: "analyse";
260
+ args: {
261
+ path: URL;
262
+ template: string;
263
+ target: URL;
264
+ verbose: boolean;
265
+ extraVerbose: boolean;
266
+ };
267
+ };
184
268
  }, {
185
269
  command: "config";
186
270
  value: {
@@ -211,6 +295,21 @@ export declare const Cli: Partial<import("cmd-ts/dist/cjs/argparser.js").Registe
211
295
  command: "topo";
212
296
  value: Promise<void>;
213
297
  };
298
+ } | {
299
+ command: "vector";
300
+ value: {
301
+ command: "join";
302
+ value: Promise<void>;
303
+ } | {
304
+ command: "extract";
305
+ value: Promise<void>;
306
+ } | {
307
+ command: "create";
308
+ value: Promise<void>;
309
+ } | {
310
+ command: "analyse";
311
+ value: Promise<void>;
312
+ };
214
313
  }> & {
215
314
  run(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<{
216
315
  command: "config";
@@ -242,5 +341,20 @@ export declare const Cli: Partial<import("cmd-ts/dist/cjs/argparser.js").Registe
242
341
  command: "topo";
243
342
  value: Promise<void>;
244
343
  };
344
+ } | {
345
+ command: "vector";
346
+ value: {
347
+ command: "join";
348
+ value: Promise<void>;
349
+ } | {
350
+ command: "extract";
351
+ value: Promise<void>;
352
+ } | {
353
+ command: "create";
354
+ value: Promise<void>;
355
+ } | {
356
+ command: "analyse";
357
+ value: Promise<void>;
358
+ };
245
359
  }>>;
246
360
  };
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { ConfigCli } from '@basemaps/cli-config';
3
3
  import { CogifyCli } from '@basemaps/cli-raster';
4
+ import { VectorCli } from '@basemaps/cli-vector';
4
5
  import { subcommands } from 'cmd-ts';
5
6
  export const Cli = subcommands({
6
7
  name: 'bmc',
@@ -8,6 +9,7 @@ export const Cli = subcommands({
8
9
  cmds: {
9
10
  config: ConfigCli,
10
11
  cogify: CogifyCli,
12
+ vector: VectorCli,
11
13
  },
12
14
  });
13
15
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,MAAM,CAAC,MAAM,GAAG,GAAG,WAAW,CAAC;IAC7B,IAAI,EAAE,KAAK;IACX,WAAW,EAAE,wBAAwB;IACrC,IAAI,EAAE;QACJ,MAAM,EAAE,SAAS;QACjB,MAAM,EAAE,SAAS;KAClB;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,MAAM,CAAC,MAAM,GAAG,GAAG,WAAW,CAAC;IAC7B,IAAI,EAAE,KAAK;IACX,WAAW,EAAE,wBAAwB;IACrC,IAAI,EAAE;QACJ,MAAM,EAAE,SAAS;QACjB,MAAM,EAAE,SAAS;QACjB,MAAM,EAAE,SAAS;KAClB;CACF,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@basemaps/cli",
3
- "version": "8.0.0",
3
+ "version": "8.2.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -31,6 +31,7 @@
31
31
  "external": [
32
32
  "sharp",
33
33
  "pino-pretty",
34
+ "node:sqlite",
34
35
  "lerc"
35
36
  ]
36
37
  }
@@ -40,9 +41,10 @@
40
41
  "node": ">=16.0.0"
41
42
  },
42
43
  "dependencies": {
43
- "@basemaps/cli-config": "^8.0.0",
44
- "@basemaps/cli-raster": "^8.0.0",
45
- "@basemaps/shared": "^8.0.0",
44
+ "@basemaps/cli-config": "^8.2.0",
45
+ "@basemaps/cli-raster": "^8.2.0",
46
+ "@basemaps/cli-vector": "^8.2.0",
47
+ "@basemaps/shared": "^8.2.0",
46
48
  "cmd-ts": "^0.13.0"
47
49
  },
48
50
  "publishConfig": {
@@ -51,5 +53,5 @@
51
53
  "files": [
52
54
  "build/"
53
55
  ],
54
- "gitHead": "852c7c8bcbe06d065de732f23a6ebc2dd6a19cfc"
56
+ "gitHead": "69195be692efa914369fa854d3bae16355dc0dc8"
55
57
  }