@vltpkg/cli-js 0.0.0-7

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 (128) hide show
  1. package/LICENSE +15 -0
  2. package/README.md +10 -0
  3. package/cache-unzip-src-unzip.js +7896 -0
  4. package/cache-unzip-src-unzip.js.map +7 -0
  5. package/chunk-36Z4IEW5.js +1010 -0
  6. package/chunk-36Z4IEW5.js.map +7 -0
  7. package/chunk-433RK6QP.js +72 -0
  8. package/chunk-433RK6QP.js.map +7 -0
  9. package/chunk-457WPPV5.js +969 -0
  10. package/chunk-457WPPV5.js.map +7 -0
  11. package/chunk-66GJ6BNX.js +2666 -0
  12. package/chunk-66GJ6BNX.js.map +7 -0
  13. package/chunk-AYOLWFFJ.js +10972 -0
  14. package/chunk-AYOLWFFJ.js.map +7 -0
  15. package/chunk-GQLKOYXI.js +1451 -0
  16. package/chunk-GQLKOYXI.js.map +7 -0
  17. package/chunk-GU2E2KHZ.js +152 -0
  18. package/chunk-GU2E2KHZ.js.map +7 -0
  19. package/chunk-H75RQSUK.js +5413 -0
  20. package/chunk-H75RQSUK.js.map +7 -0
  21. package/chunk-LJEVKV7R.js +36 -0
  22. package/chunk-LJEVKV7R.js.map +7 -0
  23. package/chunk-MF4RCNHU.js +71 -0
  24. package/chunk-MF4RCNHU.js.map +7 -0
  25. package/chunk-NM754OFF.js +1104 -0
  26. package/chunk-NM754OFF.js.map +7 -0
  27. package/chunk-OGUMFXHI.js +1136 -0
  28. package/chunk-OGUMFXHI.js.map +7 -0
  29. package/chunk-OKDQY2GQ.js +1866 -0
  30. package/chunk-OKDQY2GQ.js.map +7 -0
  31. package/chunk-OOZN2US4.js +61 -0
  32. package/chunk-OOZN2US4.js.map +7 -0
  33. package/chunk-OSVOPGNL.js +782 -0
  34. package/chunk-OSVOPGNL.js.map +7 -0
  35. package/chunk-PKKWJ5FM.js +11836 -0
  36. package/chunk-PKKWJ5FM.js.map +7 -0
  37. package/chunk-PPTEV6PS.js +27 -0
  38. package/chunk-PPTEV6PS.js.map +7 -0
  39. package/chunk-S7LRSSDW.js +40 -0
  40. package/chunk-S7LRSSDW.js.map +7 -0
  41. package/chunk-SJZXAMQQ.js +5233 -0
  42. package/chunk-SJZXAMQQ.js.map +7 -0
  43. package/chunk-TV2RDGWY.js +181 -0
  44. package/chunk-TV2RDGWY.js.map +7 -0
  45. package/chunk-V4TLWRQW.js +34 -0
  46. package/chunk-V4TLWRQW.js.map +7 -0
  47. package/chunk-VIE5PVDF.js +21788 -0
  48. package/chunk-VIE5PVDF.js.map +7 -0
  49. package/chunk-VO2MAWDF.js +53 -0
  50. package/chunk-VO2MAWDF.js.map +7 -0
  51. package/chunk-XCC42LF5.js +511 -0
  52. package/chunk-XCC42LF5.js.map +7 -0
  53. package/chunk-YS3ZYKCN.js +6499 -0
  54. package/chunk-YS3ZYKCN.js.map +7 -0
  55. package/chunk-ZLP22ACI.js +65 -0
  56. package/chunk-ZLP22ACI.js.map +7 -0
  57. package/chunk-ZSTAQQQN.js +2070 -0
  58. package/chunk-ZSTAQQQN.js.map +7 -0
  59. package/cli-package.json +104 -0
  60. package/config-M6ZTMEJC.js +184 -0
  61. package/config-M6ZTMEJC.js.map +7 -0
  62. package/devtools-PSS6DSS6.js +16681 -0
  63. package/devtools-PSS6DSS6.js.map +7 -0
  64. package/exec-5Q6ZP6JI.js +48 -0
  65. package/exec-5Q6ZP6JI.js.map +7 -0
  66. package/gui-667EH2M7.js +44 -0
  67. package/gui-667EH2M7.js.map +7 -0
  68. package/gui-assets/favicon.ico +0 -0
  69. package/gui-assets/fonts/courier-bold-italic.ttf +0 -0
  70. package/gui-assets/fonts/courier-bold.ttf +0 -0
  71. package/gui-assets/fonts/courier-italic.ttf +0 -0
  72. package/gui-assets/fonts/courier-regular.ttf +0 -0
  73. package/gui-assets/fonts/geist-mono.ttf +0 -0
  74. package/gui-assets/fonts/inter.ttf +0 -0
  75. package/gui-assets/images/folder.png +0 -0
  76. package/gui-assets/index.html +34 -0
  77. package/gui-assets/index.js +1573 -0
  78. package/gui-assets/index.js.map +7 -0
  79. package/gui-assets/main.css +1 -0
  80. package/help-JZ3VD6MH.js +24 -0
  81. package/help-JZ3VD6MH.js.map +7 -0
  82. package/init-4JOBGJ4C.js +24 -0
  83. package/init-4JOBGJ4C.js.map +7 -0
  84. package/install-I6UDMAKJ.js +53 -0
  85. package/install-I6UDMAKJ.js.map +7 -0
  86. package/install-exec-BGKORQDZ.js +27 -0
  87. package/install-exec-BGKORQDZ.js.map +7 -0
  88. package/list-NKJNNDAV.js +138 -0
  89. package/list-NKJNNDAV.js.map +7 -0
  90. package/login-5X5JKFYS.js +35 -0
  91. package/login-5X5JKFYS.js.map +7 -0
  92. package/logout-5NO6B4BW.js +35 -0
  93. package/logout-5NO6B4BW.js.map +7 -0
  94. package/package.json +25 -0
  95. package/pkg-CUX23YND.js +363 -0
  96. package/pkg-CUX23YND.js.map +7 -0
  97. package/query-XWAQ6U4O.js +126 -0
  98. package/query-XWAQ6U4O.js.map +7 -0
  99. package/registry-client-package.json +84 -0
  100. package/reporter-GV7DMKAK.js +17 -0
  101. package/reporter-GV7DMKAK.js.map +7 -0
  102. package/rollback-remove-src-remove.js +7397 -0
  103. package/rollback-remove-src-remove.js.map +7 -0
  104. package/run-GJDCKL7X.js +66 -0
  105. package/run-GJDCKL7X.js.map +7 -0
  106. package/run-exec-L3RGBBPL.js +39 -0
  107. package/run-exec-L3RGBBPL.js.map +7 -0
  108. package/source-ALZ2QHEZ.js +32 -0
  109. package/source-ALZ2QHEZ.js.map +7 -0
  110. package/src-XRLOORCU.js +92 -0
  111. package/src-XRLOORCU.js.map +7 -0
  112. package/token-JLM4D6QR.js +85 -0
  113. package/token-JLM4D6QR.js.map +7 -0
  114. package/uninstall-X72YAQHZ.js +53 -0
  115. package/uninstall-X72YAQHZ.js.map +7 -0
  116. package/vlix.js +13 -0
  117. package/vlix.js.map +7 -0
  118. package/vlr.js +13 -0
  119. package/vlr.js.map +7 -0
  120. package/vlrx.js +13 -0
  121. package/vlrx.js.map +7 -0
  122. package/vlt.js +13 -0
  123. package/vlt.js.map +7 -0
  124. package/vlx.js +13 -0
  125. package/vlx.js.map +7 -0
  126. package/whoami-CMKBD6ZT.js +45 -0
  127. package/whoami-CMKBD6ZT.js.map +7 -0
  128. package/yoga.wasm +0 -0
@@ -0,0 +1,48 @@
1
+ var global = globalThis;
2
+ import {setTimeout,clearTimeout,setImmediate,clearImmediate,setInterval,clearInterval} from "node:timers";
3
+ import {createRequire as _vlt_createRequire} from "node:module";
4
+ var require = _vlt_createRequire(import.meta.filename);
5
+ import {
6
+ ExecCommand
7
+ } from "./chunk-NM754OFF.js";
8
+ import {
9
+ exec,
10
+ execFG
11
+ } from "./chunk-OGUMFXHI.js";
12
+ import "./chunk-GU2E2KHZ.js";
13
+ import "./chunk-XCC42LF5.js";
14
+ import "./chunk-457WPPV5.js";
15
+ import "./chunk-SJZXAMQQ.js";
16
+ import "./chunk-OKDQY2GQ.js";
17
+ import "./chunk-GQLKOYXI.js";
18
+ import {
19
+ commandUsage
20
+ } from "./chunk-OOZN2US4.js";
21
+ import "./chunk-LJEVKV7R.js";
22
+ import "./chunk-ZSTAQQQN.js";
23
+ import "./chunk-VO2MAWDF.js";
24
+
25
+ // ../../src/cli-sdk/src/commands/exec.ts
26
+ var usage = () => commandUsage({
27
+ command: "exec",
28
+ usage: "[command]",
29
+ description: `Run an arbitrary command, with the local installed packages
30
+ first in the PATH. Ie, this will run your locally installed
31
+ package bins.
32
+
33
+ If no command is provided, then a shell is spawned in the
34
+ current working directory, with the locally installed package
35
+ bins first in the PATH.
36
+
37
+ Note that any vlt configs must be specified *before* the
38
+ command, as the remainder of the command line options are
39
+ provided to the exec process.`
40
+ });
41
+ var command = async (conf) => {
42
+ return await new ExecCommand(conf, exec, execFG).run();
43
+ };
44
+ export {
45
+ command,
46
+ usage
47
+ };
48
+ //# sourceMappingURL=exec-5Q6ZP6JI.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/cli-sdk/src/commands/exec.ts"],
4
+ "sourcesContent": ["import { exec, execFG } from '@vltpkg/run'\nimport { commandUsage } from '../config/usage.ts'\nimport { ExecCommand } from '../exec-command.ts'\nimport type { ExecResult } from '../exec-command.ts'\nimport type { CommandFn, CommandUsage } from '../index.ts'\n\nexport const usage: CommandUsage = () =>\n commandUsage({\n command: 'exec',\n usage: '[command]',\n description: `Run an arbitrary command, with the local installed packages\n first in the PATH. Ie, this will run your locally installed\n package bins.\n\n If no command is provided, then a shell is spawned in the\n current working directory, with the locally installed package\n bins first in the PATH.\n\n Note that any vlt configs must be specified *before* the\n command, as the remainder of the command line options are\n provided to the exec process.`,\n })\n\nexport const command: CommandFn<ExecResult> = async conf => {\n return await new ExecCommand(conf, exec, execFG).run()\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;AAMO,IAAM,QAAsB,MACjC,aAAa;AAAA,EACX,SAAS;AAAA,EACT,OAAO;AAAA,EACP,aAAa;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAWf,CAAC;AAEI,IAAM,UAAiC,OAAM,SAAQ;AAC1D,SAAO,MAAM,IAAI,YAAY,MAAM,MAAM,MAAM,EAAE,IAAI;AACvD;",
6
+ "names": []
7
+ }
@@ -0,0 +1,44 @@
1
+ var global = globalThis;
2
+ import {setTimeout,clearTimeout,setImmediate,clearImmediate,setInterval,clearInterval} from "node:timers";
3
+ import {createRequire as _vlt_createRequire} from "node:module";
4
+ var require = _vlt_createRequire(import.meta.filename);
5
+ import {
6
+ startGUI
7
+ } from "./chunk-AYOLWFFJ.js";
8
+ import "./chunk-MF4RCNHU.js";
9
+ import "./chunk-66GJ6BNX.js";
10
+ import "./chunk-ZLP22ACI.js";
11
+ import "./chunk-36Z4IEW5.js";
12
+ import "./chunk-OSVOPGNL.js";
13
+ import "./chunk-TV2RDGWY.js";
14
+ import "./chunk-V4TLWRQW.js";
15
+ import "./chunk-OGUMFXHI.js";
16
+ import "./chunk-GU2E2KHZ.js";
17
+ import "./chunk-XCC42LF5.js";
18
+ import "./chunk-457WPPV5.js";
19
+ import "./chunk-SJZXAMQQ.js";
20
+ import "./chunk-OKDQY2GQ.js";
21
+ import "./chunk-GQLKOYXI.js";
22
+ import {
23
+ commandUsage
24
+ } from "./chunk-OOZN2US4.js";
25
+ import "./chunk-LJEVKV7R.js";
26
+ import "./chunk-ZSTAQQQN.js";
27
+ import "./chunk-VO2MAWDF.js";
28
+
29
+ // ../../src/cli-sdk/src/commands/gui.ts
30
+ var views = async (_, __, conf) => {
31
+ await startGUI(conf);
32
+ };
33
+ var usage = () => commandUsage({
34
+ command: "gui",
35
+ usage: "",
36
+ description: "Launch a graphical user interface in a browser"
37
+ });
38
+ var command = async () => null;
39
+ export {
40
+ command,
41
+ usage,
42
+ views
43
+ };
44
+ //# sourceMappingURL=gui-667EH2M7.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/cli-sdk/src/commands/gui.ts"],
4
+ "sourcesContent": ["import { commandUsage } from '../config/usage.ts'\nimport type { CommandFn, CommandUsage } from '../index.ts'\nimport { startGUI } from '../start-gui.ts'\nimport type { ViewFn } from '../view.ts'\n\n// this command is only a view, it doesn't actually do anything at this time\nexport const views: ViewFn<null> = async (_, __, conf) => {\n await startGUI(conf)\n}\n\nexport const usage: CommandUsage = () =>\n commandUsage({\n command: 'gui',\n usage: '',\n description: 'Launch a graphical user interface in a browser',\n })\n\nexport const command: CommandFn = async () => null\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMO,IAAM,QAAsB,OAAO,GAAG,IAAI,SAAS;AACxD,QAAM,SAAS,IAAI;AACrB;AAEO,IAAM,QAAsB,MACjC,aAAa;AAAA,EACX,SAAS;AAAA,EACT,OAAO;AAAA,EACP,aAAa;AACf,CAAC;AAEI,IAAM,UAAqB,YAAY;",
6
+ "names": []
7
+ }
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,34 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <!-- The first thing in any HTML file should be the charset -->
5
+ <meta charset="utf-8" />
6
+
7
+ <!-- Make the page mobile compatible -->
8
+ <meta
9
+ name="viewport"
10
+ content="width=device-width, initial-scale=1" />
11
+
12
+ <!-- Allow installing the app to the homescreen -->
13
+ <meta name="mobile-web-app-capable" content="yes" />
14
+
15
+ <link rel="icon" href="/favicon.ico" />
16
+ <link rel="stylesheet" href="main.css" />
17
+ <title>vlt | Explorer</title>
18
+ </head>
19
+
20
+ <body>
21
+ <!-- Display a message if JS has been disabled on the browser. -->
22
+ <noscript
23
+ >If you're seeing this message, that means
24
+ <strong>JavaScript has been disabled on your browser</strong>,
25
+ please <strong>enable JS</strong> to make this app
26
+ work.</noscript
27
+ >
28
+
29
+ <!-- The app hooks into this div -->
30
+ <div id="app"></div>
31
+
32
+ <script src="index.js"></script>
33
+ </body>
34
+ </html>