@vltpkg/cli-js 1.0.3 → 1.0.4

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.
Files changed (69) hide show
  1. package/{access-5WETTBDZ.js → access-RYNHM3DJ.js} +1 -1
  2. package/{bugs-KONFLIQQ.js → bugs-ZHOC4U52.js} +6 -6
  3. package/{build-S7G2DU7I.js → build-HTM6Z7OQ.js} +3 -3
  4. package/{cache-Z4OIMLXQ.js → cache-74GIE5TO.js} +1 -1
  5. package/cache-unzip-src-unzip.js +23 -1
  6. package/{chunk-HNCE3YE5.js → chunk-2CLRMD5A.js} +947 -391
  7. package/{chunk-NXEH3NQZ.js → chunk-A2EWSQPE.js} +2 -2
  8. package/{chunk-UXIRAU5T.js → chunk-AIQ7Z62O.js} +1 -1
  9. package/{chunk-G7UPIJAP.js → chunk-AK3RSABL.js} +4 -4
  10. package/{chunk-XQSBCMSC.js → chunk-AMDP7LYB.js} +2 -2
  11. package/{chunk-5QJEOGEM.js → chunk-GXWZ5T4W.js} +1 -1
  12. package/{chunk-DYCF76WI.js → chunk-JOEHZSS7.js} +1 -1
  13. package/{chunk-TMBNGWXK.js → chunk-MZIM7X37.js} +3 -3
  14. package/{chunk-LZGKX7JI.js → chunk-OR5LSCSK.js} +75 -67
  15. package/{chunk-FFOXTPQA.js → chunk-PDLEQEZ3.js} +124 -75
  16. package/{chunk-W2Q5EIMH.js → chunk-R55OHZ2R.js} +3 -3
  17. package/{chunk-5UPPEUG2.js → chunk-RB6SUM6U.js} +3 -3
  18. package/chunk-SKQHW56B.js +75 -0
  19. package/{chunk-5B23EKN4.js → chunk-WNDUKE42.js} +20 -13
  20. package/{chunk-UAAZW4N6.js → chunk-YRKCPGWZ.js} +2 -2
  21. package/{chunk-FWKQ7YDF.js → chunk-ZWKI5OSF.js} +118 -117
  22. package/{ci-RZZE375O.js → ci-XT7IAX2Y.js} +4 -4
  23. package/cli-package.json +1 -1
  24. package/{config-MDFY3ORD.js → config-B2LF4SJ7.js} +4 -4
  25. package/{config-LL3RLMZG.js → config-SRLA2XPZ.js} +4 -4
  26. package/{create-GVSDTOGQ.js → create-VKNML6FC.js} +8 -8
  27. package/{deprecate-T4TQLGXQ.js → deprecate-IM4HEDIP.js} +4 -4
  28. package/{devtools-HGLF4KAO.js → devtools-66MVSNF5.js} +30 -30
  29. package/{dist-tag-GO46UQUN.js → dist-tag-EKVJAQ66.js} +1 -1
  30. package/{docs-FJME563T.js → docs-4DHMAMOU.js} +6 -6
  31. package/{exec-M22KBPCK.js → exec-7C74Z3WB.js} +8 -8
  32. package/{exec-cache-3UNLDUAP.js → exec-cache-QTUCQWSA.js} +6 -6
  33. package/{exec-local-YHVO5RLU.js → exec-local-ZCNI2JHK.js} +5 -5
  34. package/{help-ZEWMLOJX.js → help-IKRPBT2R.js} +1 -1
  35. package/{init-4HPZY2KN.js → init-PCQ4YK7R.js} +4 -4
  36. package/{install-2TZIP4PJ.js → install-OAQ4K3XX.js} +5 -5
  37. package/{list-NFFXER43.js → list-WYBKBCZU.js} +5 -5
  38. package/{login-KV5YC5Z2.js → login-TTRCQ43Z.js} +1 -1
  39. package/{logout-I2VT3NAR.js → logout-3J77F4OO.js} +1 -1
  40. package/{pack-47ZKFSHI.js → pack-ZLFGYGVZ.js} +6 -6
  41. package/package.json +1 -1
  42. package/{ping-Q7Y7QV63.js → ping-IRLV5C4D.js} +1 -1
  43. package/{pkg-VTJS2ISJ.js → pkg-EKOQ4XKM.js} +5 -5
  44. package/{profile-YXZYVEUX.js → profile-7UBKGJBP.js} +1 -1
  45. package/{publish-CBN67KN2.js → publish-2ODYT4R2.js} +7 -7
  46. package/{query-U3QHF3ZE.js → query-ADSAKEK4.js} +5 -5
  47. package/registry-client-package.json +1 -1
  48. package/registry-client-src-revalidate.js +970 -392
  49. package/{repo-4UIQRBI7.js → repo-3THXRT64.js} +6 -6
  50. package/{reporter-DKZTTACW.js → reporter-6BFJCFVZ.js} +82 -82
  51. package/{run-5DUYI6GL.js → run-2QLSVP6M.js} +5 -5
  52. package/{run-exec-HPNBVAXH.js → run-exec-VYD2Q4BD.js} +5 -5
  53. package/{setup-23W5FQVW.js → setup-TDX5NXUN.js} +1 -1
  54. package/{src-2NB67FPG.js → src-AVMBIRBC.js} +5 -5
  55. package/{src-6OKPBJJT.js → src-SWL4UPPI.js} +1 -1
  56. package/{src-M5RRGKUM.js → src-X66SVM5T.js} +31 -11
  57. package/{token-SRCS5CRU.js → token-3RDRZ4AO.js} +1 -1
  58. package/{uninstall-JXHAFXZ2.js → uninstall-CNAFZTLA.js} +5 -5
  59. package/{unpublish-GRYB5KQH.js → unpublish-7YHQQYZG.js} +1 -1
  60. package/{update-GDLL4ER6.js → update-3W27EZWN.js} +4 -4
  61. package/{version-JVG4CI4L.js → version-K37LT6GZ.js} +4 -4
  62. package/{view-ABQLVL4L.js → view-ZVAYKUL2.js} +9 -9
  63. package/vlr.js +1 -1
  64. package/vlrx.js +1 -1
  65. package/vlt.js +1 -1
  66. package/vlx.js +1 -1
  67. package/vlxl.js +1 -1
  68. package/{whoami-RCCZ7BXI.js → whoami-IOUW56D6.js} +1 -1
  69. package/chunk-RNJSI3NZ.js +0 -75
@@ -26,7 +26,7 @@ import "./chunk-WP6CYBPM.js";
26
26
  import "./chunk-4KCU2KZL.js";
27
27
  import {
28
28
  RegistryClient
29
- } from "./chunk-HNCE3YE5.js";
29
+ } from "./chunk-2CLRMD5A.js";
30
30
  import "./chunk-HAYXR3MW.js";
31
31
  import "./chunk-E74WGW5C.js";
32
32
  import "./chunk-LPIBYUMT.js";
@@ -11,12 +11,12 @@ import {createRequire as _vlt_createRequire} from "node:module";
11
11
  var require = _vlt_createRequire(import.meta.filename);
12
12
  import {
13
13
  loadCommand
14
- } from "./chunk-RNJSI3NZ.js";
14
+ } from "./chunk-SKQHW56B.js";
15
15
  import {
16
16
  Config
17
- } from "./chunk-NXEH3NQZ.js";
18
- import "./chunk-G7UPIJAP.js";
19
- import "./chunk-FWKQ7YDF.js";
17
+ } from "./chunk-A2EWSQPE.js";
18
+ import "./chunk-AK3RSABL.js";
19
+ import "./chunk-ZWKI5OSF.js";
20
20
  import {
21
21
  indent,
22
22
  outputCommand,
@@ -30,7 +30,7 @@ import {
30
30
  } from "./chunk-VB3IWNHX.js";
31
31
  import "./chunk-T4GYDWUJ.js";
32
32
  import "./chunk-WGDTG44V.js";
33
- import "./chunk-FFOXTPQA.js";
33
+ import "./chunk-PDLEQEZ3.js";
34
34
  import "./chunk-OCJDISSI.js";
35
35
  import "./chunk-XU5SMHXP.js";
36
36
  import {
@@ -27,7 +27,7 @@ import {
27
27
  setRuntimeToken,
28
28
  setToken,
29
29
  userAgent
30
- } from "./chunk-HNCE3YE5.js";
30
+ } from "./chunk-2CLRMD5A.js";
31
31
  import "./chunk-HAYXR3MW.js";
32
32
  import "./chunk-E74WGW5C.js";
33
33
  import "./chunk-LPIBYUMT.js";
@@ -33,10 +33,10 @@ import {
33
33
  sep
34
34
  } from "node:path";
35
35
 
36
- // ../../node_modules/.vlt/~npm~tar@7.5.20/node_modules/tar/dist/esm/header.js
36
+ // ../../node_modules/.vlt/~npm~tar@7.5.22/node_modules/tar/dist/esm/header.js
37
37
  import { posix as pathModule } from "node:path";
38
38
 
39
- // ../../node_modules/.vlt/~npm~tar@7.5.20/node_modules/tar/dist/esm/large-numbers.js
39
+ // ../../node_modules/.vlt/~npm~tar@7.5.22/node_modules/tar/dist/esm/large-numbers.js
40
40
  var encode = (num, buf) => {
41
41
  if (!Number.isSafeInteger(num)) {
42
42
  throw Error("cannot encode number outside of javascript safe integer range");
@@ -117,7 +117,7 @@ var pos = (buf) => {
117
117
  var onesComp = (byte) => (255 ^ byte) & 255;
118
118
  var twosComp = (byte) => (255 ^ byte) + 1 & 255;
119
119
 
120
- // ../../node_modules/.vlt/~npm~tar@7.5.20/node_modules/tar/dist/esm/types.js
120
+ // ../../node_modules/.vlt/~npm~tar@7.5.22/node_modules/tar/dist/esm/types.js
121
121
  var isCode = (c) => name.has(c);
122
122
  var normalFsTypes = /* @__PURE__ */ new Set([
123
123
  "0",
@@ -172,7 +172,7 @@ var name = /* @__PURE__ */ new Map([
172
172
  ]);
173
173
  var code = new Map(Array.from(name).map((kv) => [kv[1], kv[0]]));
174
174
 
175
- // ../../node_modules/.vlt/~npm~tar@7.5.20/node_modules/tar/dist/esm/header.js
175
+ // ../../node_modules/.vlt/~npm~tar@7.5.22/node_modules/tar/dist/esm/header.js
176
176
  var notNegative = (n) => n === void 0 || n < 0 ? void 0 : n;
177
177
  var Header = class {
178
178
  cksumValid = false;
@@ -379,7 +379,7 @@ var encDate = (buf, off, size, date) => date === void 0 ? false : encNumber(buf,
379
379
  var NULLS = new Array(156).join("\0");
380
380
  var encString = (buf, off, size, str) => str === void 0 ? false : (buf.write(str + NULLS, off, size, "utf8"), str.length !== Buffer.byteLength(str) || str.length > size);
381
381
 
382
- // ../../node_modules/.vlt/~npm~tar@7.5.20/node_modules/tar/dist/esm/pax.js
382
+ // ../../node_modules/.vlt/~npm~tar@7.5.22/node_modules/tar/dist/esm/pax.js
383
383
  import { basename } from "node:path";
384
384
  var Pax = class _Pax {
385
385
  atime;
@@ -541,13 +541,33 @@ var findTarDir = (path, tarDir) => {
541
541
  };
542
542
 
543
543
  // ../../src/tar/src/unpack.ts
544
- var unzip = async (input) => new Promise(
545
- (res, rej) => (
546
- /* c8 ignore start */
547
- unzipCB(input, (er, result) => er ? rej(er) : res(result))
548
- )
549
- /* c8 ignore stop */
544
+ var MAX_DECOMPRESSION_RATIO = 1e3;
545
+ var defaultMaxUnpackedBytes = 2 * 1024 * 1024 * 1024;
546
+ var parseMaxUnpackedBytes = (raw) => {
547
+ const n = Number(raw);
548
+ return Number.isFinite(n) && n >= 1 ? Math.floor(n) : defaultMaxUnpackedBytes;
549
+ };
550
+ var maxUnpackedBytes = parseMaxUnpackedBytes(
551
+ process.env.VLT_TAR_MAX_UNPACKED_BYTES
550
552
  );
553
+ var unzip = async (input) => {
554
+ const max = Math.min(
555
+ maxUnpackedBytes,
556
+ input.length * MAX_DECOMPRESSION_RATIO
557
+ );
558
+ return new Promise(
559
+ (res, rej) => unzipCB(input, { maxOutputLength: max }, (er, result) => {
560
+ if (!er) return res(result);
561
+ return rej(
562
+ er.code === "ERR_BUFFER_TOO_LARGE" ? error("tarball exceeds maximum unpacked size", {
563
+ found: input.length,
564
+ max,
565
+ cause: er
566
+ }) : er
567
+ );
568
+ })
569
+ );
570
+ };
551
571
  var exists = async (path) => {
552
572
  try {
553
573
  await lstat(path);
@@ -25,7 +25,7 @@ import {
25
25
  normalizeRegistryKey,
26
26
  registryBase,
27
27
  setToken
28
- } from "./chunk-HNCE3YE5.js";
28
+ } from "./chunk-2CLRMD5A.js";
29
29
  import "./chunk-HAYXR3MW.js";
30
30
  import "./chunk-E74WGW5C.js";
31
31
  import "./chunk-LPIBYUMT.js";
@@ -11,12 +11,12 @@ import {createRequire as _vlt_createRequire} from "node:module";
11
11
  var require = _vlt_createRequire(import.meta.filename);
12
12
  import {
13
13
  parseRemoveArgs
14
- } from "./chunk-UXIRAU5T.js";
14
+ } from "./chunk-AIQ7Z62O.js";
15
15
  import {
16
16
  uninstall
17
- } from "./chunk-LZGKX7JI.js";
18
- import "./chunk-5B23EKN4.js";
19
- import "./chunk-FFOXTPQA.js";
17
+ } from "./chunk-OR5LSCSK.js";
18
+ import "./chunk-WNDUKE42.js";
19
+ import "./chunk-PDLEQEZ3.js";
20
20
  import "./chunk-OCJDISSI.js";
21
21
  import {
22
22
  commandUsage
@@ -62,7 +62,7 @@ var usage = () => commandUsage({
62
62
  var views = {
63
63
  json: (i) => i.graph.toJSON(),
64
64
  human: lazyView(
65
- async () => (await import("./reporter-DKZTTACW.js")).InstallReporter
65
+ async () => (await import("./reporter-6BFJCFVZ.js")).InstallReporter
66
66
  )
67
67
  };
68
68
  var command = async (conf) => {
@@ -21,7 +21,7 @@ import {
21
21
  import "./chunk-WP6CYBPM.js";
22
22
  import {
23
23
  RegistryClient
24
- } from "./chunk-HNCE3YE5.js";
24
+ } from "./chunk-2CLRMD5A.js";
25
25
  import "./chunk-HAYXR3MW.js";
26
26
  import "./chunk-E74WGW5C.js";
27
27
  import "./chunk-LPIBYUMT.js";
@@ -11,9 +11,9 @@ import {createRequire as _vlt_createRequire} from "node:module";
11
11
  var require = _vlt_createRequire(import.meta.filename);
12
12
  import {
13
13
  update
14
- } from "./chunk-LZGKX7JI.js";
15
- import "./chunk-5B23EKN4.js";
16
- import "./chunk-FFOXTPQA.js";
14
+ } from "./chunk-OR5LSCSK.js";
15
+ import "./chunk-WNDUKE42.js";
16
+ import "./chunk-PDLEQEZ3.js";
17
17
  import "./chunk-OCJDISSI.js";
18
18
  import {
19
19
  commandUsage
@@ -59,7 +59,7 @@ var views = {
59
59
  graph: i.graph.toJSON()
60
60
  }),
61
61
  human: lazyView(
62
- async () => (await import("./reporter-DKZTTACW.js")).InstallReporter
62
+ async () => (await import("./reporter-6BFJCFVZ.js")).InstallReporter
63
63
  )
64
64
  };
65
65
  var command = async (conf) => {
@@ -11,18 +11,18 @@ import {createRequire as _vlt_createRequire} from "node:module";
11
11
  var require = _vlt_createRequire(import.meta.filename);
12
12
  import {
13
13
  createHostContextsMap
14
- } from "./chunk-TMBNGWXK.js";
14
+ } from "./chunk-MZIM7X37.js";
15
15
  import {
16
16
  Query,
17
17
  actual
18
- } from "./chunk-LZGKX7JI.js";
19
- import "./chunk-5B23EKN4.js";
18
+ } from "./chunk-OR5LSCSK.js";
19
+ import "./chunk-WNDUKE42.js";
20
20
  import {
21
21
  is,
22
22
  isClean,
23
23
  minimatch,
24
24
  spawn
25
- } from "./chunk-FFOXTPQA.js";
25
+ } from "./chunk-PDLEQEZ3.js";
26
26
  import "./chunk-OCJDISSI.js";
27
27
  import {
28
28
  commandUsage
@@ -14,14 +14,14 @@ import {
14
14
  } from "./chunk-DBANBIL2.js";
15
15
  import {
16
16
  PackageInfoClient
17
- } from "./chunk-G7UPIJAP.js";
18
- import "./chunk-FWKQ7YDF.js";
17
+ } from "./chunk-AK3RSABL.js";
18
+ import "./chunk-ZWKI5OSF.js";
19
19
  import {
20
20
  SecurityArchive
21
- } from "./chunk-5B23EKN4.js";
22
- import "./chunk-FFOXTPQA.js";
21
+ } from "./chunk-WNDUKE42.js";
22
+ import "./chunk-PDLEQEZ3.js";
23
23
  import {
24
- joinDepIDTuple
24
+ getId
25
25
  } from "./chunk-OCJDISSI.js";
26
26
  import {
27
27
  commandUsage
@@ -241,8 +241,8 @@ var views = {
241
241
  };
242
242
  }
243
243
  };
244
- var createFakeNode = (name, version) => ({
245
- id: joinDepIDTuple(["registry", "", `${name}@${version}`]),
244
+ var createFakeNode = (spec, name, version, options) => ({
245
+ id: getId(spec, { name, version }),
246
246
  name,
247
247
  version,
248
248
  confused: false,
@@ -255,7 +255,7 @@ var createFakeNode = (name, version) => ({
255
255
  dev: false,
256
256
  optional: false,
257
257
  graph: {},
258
- options: {},
258
+ options,
259
259
  /* c8 ignore next 5 - stub methods for NodeLike interface */
260
260
  toJSON: () => ({}),
261
261
  toString: () => `${name}@${version}`,
@@ -309,7 +309,7 @@ var command = async (conf) => {
309
309
  const version = manifest.version;
310
310
  if (name && version) {
311
311
  try {
312
- const node = createFakeNode(name, version);
312
+ const node = createFakeNode(spec, name, version, conf.options);
313
313
  const archive = await SecurityArchive.start({
314
314
  nodes: [node]
315
315
  });
package/vlr.js CHANGED
@@ -12,7 +12,7 @@ import {createRequire as _vlt_createRequire} from "node:module";
12
12
  var require = _vlt_createRequire(import.meta.filename);
13
13
  import {
14
14
  run
15
- } from "./chunk-5QJEOGEM.js";
15
+ } from "./chunk-GXWZ5T4W.js";
16
16
  import "./chunk-PZLD7RTK.js";
17
17
 
18
18
  // ../build/src/bins/vlr.ts
package/vlrx.js CHANGED
@@ -12,7 +12,7 @@ import {createRequire as _vlt_createRequire} from "node:module";
12
12
  var require = _vlt_createRequire(import.meta.filename);
13
13
  import {
14
14
  run
15
- } from "./chunk-5QJEOGEM.js";
15
+ } from "./chunk-GXWZ5T4W.js";
16
16
  import "./chunk-PZLD7RTK.js";
17
17
 
18
18
  // ../build/src/bins/vlrx.ts
package/vlt.js CHANGED
@@ -12,7 +12,7 @@ import {createRequire as _vlt_createRequire} from "node:module";
12
12
  var require = _vlt_createRequire(import.meta.filename);
13
13
  import {
14
14
  run
15
- } from "./chunk-5QJEOGEM.js";
15
+ } from "./chunk-GXWZ5T4W.js";
16
16
  import "./chunk-PZLD7RTK.js";
17
17
 
18
18
  // ../build/src/bins/vlt.ts
package/vlx.js CHANGED
@@ -12,7 +12,7 @@ import {createRequire as _vlt_createRequire} from "node:module";
12
12
  var require = _vlt_createRequire(import.meta.filename);
13
13
  import {
14
14
  run
15
- } from "./chunk-5QJEOGEM.js";
15
+ } from "./chunk-GXWZ5T4W.js";
16
16
  import "./chunk-PZLD7RTK.js";
17
17
 
18
18
  // ../build/src/bins/vlx.ts
package/vlxl.js CHANGED
@@ -12,7 +12,7 @@ import {createRequire as _vlt_createRequire} from "node:module";
12
12
  var require = _vlt_createRequire(import.meta.filename);
13
13
  import {
14
14
  run
15
- } from "./chunk-5QJEOGEM.js";
15
+ } from "./chunk-GXWZ5T4W.js";
16
16
  import "./chunk-PZLD7RTK.js";
17
17
 
18
18
  // ../build/src/bins/vlxl.ts
@@ -19,7 +19,7 @@ import "./chunk-XU5SMHXP.js";
19
19
  import "./chunk-WP6CYBPM.js";
20
20
  import {
21
21
  RegistryClient
22
- } from "./chunk-HNCE3YE5.js";
22
+ } from "./chunk-2CLRMD5A.js";
23
23
  import "./chunk-HAYXR3MW.js";
24
24
  import "./chunk-E74WGW5C.js";
25
25
  import "./chunk-LPIBYUMT.js";
package/chunk-RNJSI3NZ.js DELETED
@@ -1,75 +0,0 @@
1
- var global = globalThis;
2
- import {Buffer} from "node:buffer";
3
- import {setTimeout as _vlt_setTimeout,clearTimeout as _vlt_clearTimeout,setImmediate as _vlt_setImmediate,clearImmediate as _vlt_clearImmediate,setInterval as _vlt_setInterval,clearInterval as _vlt_clearInterval} from "node:timers";
4
- globalThis.setTimeout = _vlt_setTimeout;
5
- globalThis.clearTimeout = _vlt_clearTimeout;
6
- globalThis.setImmediate = _vlt_setImmediate;
7
- globalThis.clearImmediate = _vlt_clearImmediate;
8
- globalThis.setInterval = _vlt_setInterval;
9
- globalThis.clearInterval = _vlt_clearInterval;
10
- import {createRequire as _vlt_createRequire} from "node:module";
11
- var require = _vlt_createRequire(import.meta.filename);
12
- import {
13
- error
14
- } from "./chunk-WZWDS3W4.js";
15
- import {
16
- __glob
17
- } from "./chunk-PZLD7RTK.js";
18
-
19
- // import("./commands/**/*.ts") in ../../src/cli-sdk/src/load-command.ts
20
- var globImport_commands_ts = __glob({
21
- "./commands/access.ts": () => import("./access-5WETTBDZ.js"),
22
- "./commands/bugs.ts": () => import("./bugs-KONFLIQQ.js"),
23
- "./commands/build.ts": () => import("./build-S7G2DU7I.js"),
24
- "./commands/cache.ts": () => import("./cache-Z4OIMLXQ.js"),
25
- "./commands/ci.ts": () => import("./ci-RZZE375O.js"),
26
- "./commands/config.ts": () => import("./config-MDFY3ORD.js"),
27
- "./commands/create.ts": () => import("./create-GVSDTOGQ.js"),
28
- "./commands/deprecate.ts": () => import("./deprecate-T4TQLGXQ.js"),
29
- "./commands/dist-tag.ts": () => import("./dist-tag-GO46UQUN.js"),
30
- "./commands/docs.ts": () => import("./docs-FJME563T.js"),
31
- "./commands/exec-cache.ts": () => import("./exec-cache-3UNLDUAP.js"),
32
- "./commands/exec-local.ts": () => import("./exec-local-YHVO5RLU.js"),
33
- "./commands/exec.ts": () => import("./exec-M22KBPCK.js"),
34
- "./commands/help.ts": () => import("./help-ZEWMLOJX.js"),
35
- "./commands/init.ts": () => import("./init-4HPZY2KN.js"),
36
- "./commands/install.ts": () => import("./install-2TZIP4PJ.js"),
37
- "./commands/install/reporter.ts": () => import("./reporter-DKZTTACW.js"),
38
- "./commands/list.ts": () => import("./list-NFFXER43.js"),
39
- "./commands/login.ts": () => import("./login-KV5YC5Z2.js"),
40
- "./commands/logout.ts": () => import("./logout-I2VT3NAR.js"),
41
- "./commands/pack.ts": () => import("./pack-47ZKFSHI.js"),
42
- "./commands/ping.ts": () => import("./ping-Q7Y7QV63.js"),
43
- "./commands/pkg.ts": () => import("./pkg-VTJS2ISJ.js"),
44
- "./commands/profile.ts": () => import("./profile-YXZYVEUX.js"),
45
- "./commands/publish.ts": () => import("./publish-CBN67KN2.js"),
46
- "./commands/query.ts": () => import("./query-U3QHF3ZE.js"),
47
- "./commands/registry.ts": () => import("./registry-CZPFR3OF.js"),
48
- "./commands/repo.ts": () => import("./repo-4UIQRBI7.js"),
49
- "./commands/run-exec.ts": () => import("./run-exec-HPNBVAXH.js"),
50
- "./commands/run.ts": () => import("./run-5DUYI6GL.js"),
51
- "./commands/setup.ts": () => import("./setup-23W5FQVW.js"),
52
- "./commands/token.ts": () => import("./token-SRCS5CRU.js"),
53
- "./commands/uninstall.ts": () => import("./uninstall-JXHAFXZ2.js"),
54
- "./commands/unpublish.ts": () => import("./unpublish-GRYB5KQH.js"),
55
- "./commands/update.ts": () => import("./update-GDLL4ER6.js"),
56
- "./commands/version.ts": () => import("./version-JVG4CI4L.js"),
57
- "./commands/view.ts": () => import("./view-ABQLVL4L.js"),
58
- "./commands/whoami.ts": () => import("./whoami-RCCZ7BXI.js")
59
- });
60
-
61
- // ../../src/cli-sdk/src/load-command.ts
62
- var loadCommand = async (command) => {
63
- try {
64
- return await globImport_commands_ts(`./commands/${command}.ts`);
65
- } catch (e) {
66
- throw error("Could not load command", {
67
- found: command,
68
- cause: e
69
- });
70
- }
71
- };
72
-
73
- export {
74
- loadCommand
75
- };