vlt 1.0.0-rc.32 → 1.0.0-rc.34

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 (86) hide show
  1. package/README.md +69 -85
  2. package/{access-SQZRJLJA.js → access-SXQICNAN.js} +23 -12
  3. package/{bugs-BMZ5UERM.js → bugs-OOPMFRCI.js} +19 -17
  4. package/{build-LGQI6OGM.js → build-HDXI5OA7.js} +13 -9
  5. package/{cache-JWHNATAX.js → cache-RW4Y4XNQ.js} +19 -14
  6. package/cache-unzip-src-unzip.js +434 -428
  7. package/{chunk-6YXVQ5HC.js → chunk-2PLIV3N3.js} +1 -27
  8. package/{chunk-G6PG3AGN.js → chunk-3SQ5Y324.js} +11 -8
  9. package/{chunk-ZUP6UTME.js → chunk-4RZDJQ5U.js} +42 -61
  10. package/{chunk-M2WD7IBO.js → chunk-4ZXA6RLP.js} +1 -1
  11. package/{chunk-R44FR7BY.js → chunk-7NHXV6AH.js} +439 -433
  12. package/{chunk-SIXXDCBI.js → chunk-CCQYIYTA.js} +7 -7
  13. package/{chunk-FXDRM4ZO.js → chunk-CLVRCGOZ.js} +247 -235
  14. package/{chunk-YCQTLBWF.js → chunk-CNSTFT7U.js} +1 -1
  15. package/{chunk-7XE7OES7.js → chunk-D5CP6O6G.js} +3 -3
  16. package/{chunk-YQXDHMHG.js → chunk-E5YE7UTZ.js} +3167 -2991
  17. package/chunk-E74WGW5C.js +49 -0
  18. package/{chunk-DFNHGGGV.js → chunk-EFWPI6IY.js} +1 -1
  19. package/{chunk-5UXEBLLT.js → chunk-EHEVBLDB.js} +68 -7
  20. package/{chunk-JBVLIV37.js → chunk-EQ633HIM.js} +14 -13
  21. package/{chunk-DM3WGEVB.js → chunk-F2FKLPZD.js} +7 -7
  22. package/chunk-FAG776ZD.js +137 -0
  23. package/{chunk-HQ4US6G3.js → chunk-FWKQ7YDF.js} +1049 -980
  24. package/chunk-HB7CKTYO.js +75 -0
  25. package/{chunk-KRGA5VLT.js → chunk-ICJRCXSG.js} +31 -27
  26. package/{chunk-FBTBHRPG.js → chunk-LCDBW6IT.js} +1 -1
  27. package/{chunk-IAKUGHGT.js → chunk-MT76WHSM.js} +1 -1
  28. package/{chunk-3TVABXAG.js → chunk-MU7Y4R5E.js} +3 -3
  29. package/{chunk-JKAZKVQU.js → chunk-PW6S6AIO.js} +15 -11
  30. package/{chunk-DI2CYYXF.js → chunk-U6DM3ROE.js} +706 -442
  31. package/chunk-UBLFPJHV.js +40 -0
  32. package/{chunk-SDBTQF2Y.js → chunk-UCD3RJYG.js} +5 -5
  33. package/{chunk-XFQ2EH5D.js → chunk-VM2RMMY4.js} +3 -3
  34. package/{chunk-DIKKTUBV.js → chunk-VZ7UNZHR.js} +3 -3
  35. package/{chunk-2V4AQPBR.js → chunk-WP6CYBPM.js} +81 -46
  36. package/{chunk-LEX7YPHR.js → chunk-WXMYKCQW.js} +118 -92
  37. package/{chunk-LRPTCGTW.js → chunk-XA47WS4N.js} +11 -15
  38. package/{chunk-NLFBANVO.js → chunk-Y7CQIZ7Y.js} +106 -150
  39. package/{ci-FQJANSQW.js → ci-MTYU2K2A.js} +14 -10
  40. package/cli-package.json +6 -2
  41. package/{config-4KQTTXJH.js → config-6NXV2BXW.js} +15 -13
  42. package/{config-LRL3N7TN.js → config-TVAXCTQO.js} +13 -11
  43. package/{create-KN6AXEA6.js → create-LXI5DCDW.js} +24 -19
  44. package/{deprecate-P26WHVFB.js → deprecate-2AQBL5XT.js} +22 -14
  45. package/{devtools-6NFQDW4L.js → devtools-HGLF4KAO.js} +82 -28
  46. package/{dist-tag-FA2BT7SA.js → dist-tag-BFSYLRIH.js} +16 -9
  47. package/{docs-OAPIY4SC.js → docs-ADPJ4B4C.js} +19 -17
  48. package/{exec-CVZGHJZS.js → exec-GMS54RAC.js} +24 -19
  49. package/{exec-cache-3AHODVRN.js → exec-cache-R5LVZL5Z.js} +22 -17
  50. package/{exec-local-I4OJX76E.js → exec-local-TVCLZGIM.js} +17 -14
  51. package/{help-QFIQSPNS.js → help-6CECUD6C.js} +5 -4
  52. package/{init-QLADIAP5.js → init-XXFLGYVP.js} +12 -10
  53. package/{install-B7CU2BLC.js → install-6KMXYSF5.js} +27 -12
  54. package/{list-OTFV3LOM.js → list-RUO3SUKY.js} +20 -15
  55. package/{login-LG2ZOIDQ.js → login-6I2CGO7I.js} +23 -9
  56. package/{logout-KUI773AM.js → logout-JTU4BJKH.js} +19 -8
  57. package/{pack-C55TTBIQ.js → pack-NCWH2TUA.js} +17 -13
  58. package/package.json +2 -2
  59. package/{ping-VNUOC26G.js → ping-4MEAC2WD.js} +17 -10
  60. package/{pkg-H4RJEBK5.js → pkg-ENSKG6G7.js} +13 -11
  61. package/{profile-DIJ5JUSE.js → profile-62YHNFSO.js} +16 -8
  62. package/{publish-XF2TRBPH.js → publish-PPY724N2.js} +58 -23
  63. package/{query-BGP5JMJ7.js → query-NLWXKOOT.js} +61 -15
  64. package/registry-QGI44LG4.js +117 -0
  65. package/registry-client-package.json +6 -2
  66. package/registry-client-src-revalidate.js +1245 -977
  67. package/{repo-NCEHK7KB.js → repo-BFRAXIVU.js} +19 -17
  68. package/{reporter-OB6SNHOZ.js → reporter-2XBYWAVU.js} +3 -2
  69. package/{run-ZNJJYEJF.js → run-7O65747G.js} +17 -14
  70. package/{run-exec-F5OV7MVN.js → run-exec-2OYWHL6K.js} +19 -14
  71. package/security-archive-src-update-expired.js +16 -11
  72. package/setup-MMIDAIJI.js +181 -0
  73. package/{src-M3WI7TSB.js → src-OK3KHDYR.js} +25 -17
  74. package/{token-KXCVRJGF.js → token-VLVXUW54.js} +20 -9
  75. package/{uninstall-33SUWR6K.js → uninstall-TAG6QIAG.js} +15 -11
  76. package/{unpublish-7AZPBZF2.js → unpublish-Y4L5J2IA.js} +17 -9
  77. package/{update-2EQF6IKZ.js → update-RYH4RKBS.js} +14 -10
  78. package/{version-HFYI3SEX.js → version-COHB32ON.js} +12 -10
  79. package/{view-C5OT36OB.js → view-P7U4MF43.js} +18 -14
  80. package/vlr.js +1 -1
  81. package/vlrx.js +1 -1
  82. package/vlt.js +1 -1
  83. package/vlx.js +1 -1
  84. package/vlxl.js +1 -1
  85. package/{whoami-KKFV3XR6.js → whoami-47MVFMZC.js} +19 -8
  86. package/chunk-FXIBCUIM.js +0 -73
package/README.md CHANGED
@@ -8,99 +8,83 @@
8
8
  ![Discord Server Status](https://img.shields.io/discord/1093366081067954178?logo=discord&label=Discord)
9
9
  [![Socket Security Status](https://socket.dev/api/badge/npm/package/vlt)](https://socket.dev/npm/package/vlt)
10
10
 
11
- **Develop. Run. Distribute.**
11
+ vlt delivers the tools and infrastructure developers need to
12
+ streamline package management, scale efficiently, and secure a faster,
13
+ more tailored web experience.
12
14
 
13
- This is the source monorepo for the [vlt](https://www.vlt.sh) package
14
- manager.
15
+ ## Getting Started
15
16
 
16
- ### Documentation
17
+ ### Installation
17
18
 
18
- Full documentation, startup guides & API references can be found at
19
- [docs.vlt.sh](https://docs.vlt.sh).
19
+ vlt requires Node.js 22.22 or later. Install the CLI with the official
20
+ install script:
20
21
 
21
- #### Development
22
+ ```bash
23
+ curl -fsSL https://install.vlt.sh | bash
24
+ ```
25
+
26
+ ### Configure a registry
27
+
28
+ Sign up or log in at [vlt.io](https://www.vlt.io), then run the
29
+ onboarding wizard:
22
30
 
23
31
  ```bash
24
- # clone the repo
25
- git clone git@github.com:vltpkg/vltpkg.git
26
- cd vltpkg
32
+ vlt setup
33
+ ```
34
+
35
+ The wizard authenticates with your account and configures the registry
36
+ aliases used by `vlt install` and `vlx`. You can instead
37
+ [configure another registry directly](https://docs.vlt.sh/cli/registries).
27
38
 
28
- # install deps
39
+ ### Install and run
40
+
41
+ In an existing JavaScript project:
42
+
43
+ ```bash
44
+ # Install dependencies from package.json
29
45
  vlt install
30
46
 
31
- # run the locally built cli
32
- vlr vlt # OR ./node_modules/.bin/vlt
47
+ # Add a dependency
48
+ vlt install lodash
49
+
50
+ # Run a package.json script
51
+ vlt run test
52
+
53
+ # Execute a package without installing it as a dependency
54
+ vlx cowsay "hello from vlt"
33
55
  ```
34
56
 
35
- See the [contributing guide](./CONTRIBUTING.md) for more information
36
- on how to build and develop the various workspaces.
37
-
38
- ### Contributors
39
-
40
- <a href="https://github.com/vltpkg/vltpkg/graphs/contributors">
41
- <img src="https://contrib.rocks/image?repo=vltpkg/vltpkg" />
42
- </a>
43
-
44
- ### Licenses
45
-
46
- Below you can find a complete table of each workspace available in
47
- this repository and its corresponding license:
48
-
49
- #### Reusable Client Internals (`src/*`)
50
-
51
- | Workspace Name | License | Downloads |
52
- | -------------------------------------------------- | ----------------------------------------------------- | --------------------------------------------------------------------------------- |
53
- | [@vltpkg/cache](./src/cache) | [BSD-2-Clause-Patent](./src/cache/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/cache?logo=npm) |
54
- | [@vltpkg/cache-unzip](./src/cache-unzip) | [BSD-2-Clause-Patent](./src/cache-unzip/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/cache-unzip?logo=npm) |
55
- | [@vltpkg/cli-sdk](./src/cli-sdk) | [BSD-2-Clause-Patent](./src/cli-sdk/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/cli-sdk?logo=npm) |
56
- | [@vltpkg/cmd-shim](./src/cmd-shim) | [BSD-2-Clause-Patent](./src/cmd-shim/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/cmd-shim?logo=npm) |
57
- | [@vltpkg/config](./src/config) | [BSD-2-Clause-Patent](./src/config/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/config?logo=npm) |
58
- | [@vltpkg/dep-id](./src/dep-id) | [BSD-2-Clause-Patent](./src/dep-id/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/dep-id?logo=npm) |
59
- | [@vltpkg/dot-prop](./src/dot-prop) | [MIT](./src/dot-prop/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/dot-prop?logo=npm) |
60
- | [@vltpkg/dss-breadcrumb](./src/dss-breadcrumb) | [BSD-2-Clause-Patent](./src/dss-breadcrumb/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/dss-breadcrumb?logo=npm) |
61
- | [@vltpkg/dss-parser](./src/dss-parser) | [BSD-2-Clause-Patent](./src/dss-parser/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/dss-parser?logo=npm) |
62
- | [@vltpkg/error-cause](./src/error-cause) | [BSD-2-Clause-Patent](./src/error-cause/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/error-cause?logo=npm) |
63
- | [@vltpkg/fast-split](./src/fast-split) | [BSD-2-Clause-Patent](./src/fast-split/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/fast-split?logo=npm) |
64
- | [@vltpkg/git](./src/git) | [ISC](./src/git/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/git?logo=npm) |
65
- | [@vltpkg/git-scp-url](./src/git-scp-url) | [BSD-2-Clause-Patent](./src/git-scp-url/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/git-scp-url?logo=npm) |
66
- | [@vltpkg/graph](./src/graph) | [BSD-2-Clause-Patent](./src/graph/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/graph?logo=npm) |
67
- | [@vltpkg/graph-run](./src/graph-run) | [BSD-2-Clause-Patent](./src/graph-run/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/graph-run?logo=npm) |
68
- | [@vltpkg/init](./src/init) | [BSD-2-Clause-Patent](./src/init/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/init?logo=npm) |
69
- | [@vltpkg/keychain](./src/keychain) | [BSD-2-Clause-Patent](./src/keychain/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/keychain?logo=npm) |
70
- | [@vltpkg/output](./src/output) | [BSD-2-Clause-Patent](./src/output/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/output?logo=npm) |
71
- | [@vltpkg/package-info](./src/package-info) | [BSD-2-Clause-Patent](./src/package-info/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/package-info?logo=npm) |
72
- | [@vltpkg/package-json](./src/package-json) | [BSD-2-Clause-Patent](./src/package-json/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/package-json?logo=npm) |
73
- | [@vltpkg/pick-manifest](./src/pick-manifest) | [BSD-2-Clause-Patent](./src/pick-manifest/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/pick-manifest?logo=npm) |
74
- | [@vltpkg/promise-spawn](./src/promise-spawn) | [ISC](./src/promise-spawn/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/promise-spawn?logo=npm) |
75
- | [@vltpkg/query](./src/query) | [BSD-2-Clause-Patent](./src/query/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/query?logo=npm) |
76
- | [@vltpkg/registry-client](./src/registry-client) | [BSD-2-Clause-Patent](./src/registry-client/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/registry-client?logo=npm) |
77
- | [@vltpkg/rollback-remove](./src/rollback-remove) | [BSD-2-Clause-Patent](./src/rollback-remove/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/rollback-remove?logo=npm) |
78
- | [@vltpkg/run](./src/run) | [BSD-2-Clause-Patent](./src/run/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/run?logo=npm) |
79
- | [@vltpkg/satisfies](./src/satisfies) | [BSD-2-Clause-Patent](./src/satisfies/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/satisfies?logo=npm) |
80
- | [@vltpkg/security-archive](./src/security-archive) | [BSD-2-Clause-Patent](./src/security-archive/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/security-archive?logo=npm) |
81
- | [@vltpkg/semver](./src/semver) | [BSD-2-Clause-Patent](./src/semver/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/semver?logo=npm) |
82
- | [@vltpkg/spec](./src/spec) | [BSD-2-Clause-Patent](./src/spec/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/spec?logo=npm) |
83
- | [@vltpkg/tar](./src/tar) | [BSD-2-Clause-Patent](./src/tar/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/tar?logo=npm) |
84
- | [@vltpkg/types](./src/types) | [BSD-2-Clause-Patent](./src/types/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/types?logo=npm) |
85
- | [@vltpkg/url-open](./src/url-open) | [BSD-2-Clause-Patent](./src/url-open/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/url-open?logo=npm) |
86
- | [@vltpkg/vlt-json](./src/vlt-json) | [BSD-2-Clause-Patent](./src/vlt-json/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/vlt-json?logo=npm) |
87
- | [@vltpkg/vlx](./src/vlx) | [BSD-2-Clause-Patent](./src/vlx/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/vlx?logo=npm) |
88
- | [@vltpkg/which](./src/which) | [ISC](./src/which/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/which?logo=npm) |
89
- | [@vltpkg/workspaces](./src/workspaces) | [BSD-2-Clause-Patent](./src/workspaces/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/workspaces?logo=npm) |
90
- | [@vltpkg/xdg](./src/xdg) | [BSD-2-Clause-Patent](./src/xdg/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/xdg?logo=npm) |
91
-
92
- #### Infrastructure (`infra/*`)
93
-
94
- | Workspace Name | License | Downloads |
95
- | ---------------------------------------- | ------------------------------------------------- | ----------------------------------------------------------------------- |
96
- | [@vltpkg/benchmark](./infra/benchmark) | [BSD-2-Clause-Patent](./infra/benchmark/LICENSE) | N/A |
97
- | [@vltpkg/infra-build](./infra/build) | [BSD-2-Clause-Patent](./infra/build/LICENSE) | N/A |
98
- | [vlt](./infra/cli) | [BSD-2-Clause-Patent](./infra/cli/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/vlt?logo=npm) |
99
- | [@vltpkg/cli-js](./infra/cli-js) | [BSD-2-Clause-Patent](./infra/cli-js/LICENSE) | ![NPM Downloads](https://img.shields.io/npm/dm/@vltpkg/cli-js?logo=npm) |
100
- | [@vltpkg/smoke-test](./infra/smoke-test) | [BSD-2-Clause-Patent](./infra/smoke-test/LICENSE) | N/A |
101
-
102
- #### Documentation (`www/*`)
103
-
104
- | Workspace Name | License |
105
- | -------------------------- | ----------------------------------------- |
106
- | [@vltpkg/docs](./www/docs) | [BSD-2-Clause-Patent](./www/docs/LICENSE) |
57
+ vlt does not run dependency lifecycle scripts during installation.
58
+ Review packages that require scripts and build the approved ones
59
+ explicitly:
60
+
61
+ ```bash
62
+ vlt query ':scripts'
63
+ vlt build
64
+ ```
65
+
66
+ ## Documentation
67
+
68
+ Visit [docs.vlt.sh](https://docs.vlt.sh/cli) for guides, migration
69
+ instructions, configuration, and the complete command reference.
70
+
71
+ ## Community
72
+
73
+ Report bugs in
74
+ [GitHub Issues](https://github.com/vltpkg/vltpkg/issues), ask
75
+ questions and share ideas in
76
+ [GitHub Discussions](https://github.com/vltpkg/vltpkg/discussions), or
77
+ chat with the community on
78
+ [Discord](https://discord.com/invite/qdbXTqxZzZ). Please follow the
79
+ [Code of Conduct](https://github.com/vltpkg/vltpkg/blob/main/CODE_OF_CONDUCT.md)
80
+ in all community spaces.
81
+
82
+ ## Contributing
83
+
84
+ Contributions are welcome. Read the
85
+ [contributing guide](https://github.com/vltpkg/vltpkg/blob/main/CONTRIBUTING.md)
86
+ before opening a pull request.
87
+
88
+ ## License
89
+
90
+ [BSD-2-Clause-Patent](./LICENSE)
@@ -9,16 +9,22 @@ globalThis.setInterval = _vlt_setInterval;
9
9
  globalThis.clearInterval = _vlt_clearInterval;
10
10
  import {createRequire as _vlt_createRequire} from "node:module";
11
11
  var require = _vlt_createRequire(import.meta.filename);
12
+ import {
13
+ resolveRegistry
14
+ } from "./chunk-FAG776ZD.js";
12
15
  import {
13
16
  commandUsage
14
- } from "./chunk-FBTBHRPG.js";
17
+ } from "./chunk-LCDBW6IT.js";
15
18
  import {
16
19
  RegistryClient
17
- } from "./chunk-DI2CYYXF.js";
18
- import "./chunk-YCQTLBWF.js";
19
- import "./chunk-R44FR7BY.js";
20
- import "./chunk-2V4AQPBR.js";
21
- import "./chunk-6YXVQ5HC.js";
20
+ } from "./chunk-U6DM3ROE.js";
21
+ import "./chunk-CNSTFT7U.js";
22
+ import "./chunk-7NHXV6AH.js";
23
+ import "./chunk-PW6S6AIO.js";
24
+ import "./chunk-E74WGW5C.js";
25
+ import "./chunk-WP6CYBPM.js";
26
+ import "./chunk-UBLFPJHV.js";
27
+ import "./chunk-2PLIV3N3.js";
22
28
  import "./chunk-XNLSTHDK.js";
23
29
  import {
24
30
  error
@@ -26,11 +32,15 @@ import {
26
32
  import "./chunk-PZLD7RTK.js";
27
33
 
28
34
  // ../../src/cli-sdk/src/commands/access.ts
35
+ var needsRegistry = true;
29
36
  var usage = () => commandUsage({
30
37
  command: "access",
31
38
  usage: "<command> [<args>]",
32
39
  description: `Set or get access levels for published packages
33
- and manage team-based package permissions.`,
40
+ and manage team-based package permissions.
41
+
42
+ Target a specific configured registry by alias with
43
+ \`vlt registry <alias> access <subcommand>\`.`,
34
44
  subcommands: {
35
45
  "list packages": {
36
46
  usage: "[<scope|user|org>]",
@@ -113,7 +123,7 @@ var listPackages = async (conf, args) => {
113
123
  });
114
124
  }
115
125
  const rc = new RegistryClient(conf.options);
116
- const registryUrl = new URL(conf.options.registry);
126
+ const registryUrl = new URL(await resolveRegistry(conf));
117
127
  const scope = entity ?? getDefaultScope(conf);
118
128
  const url = new URL(
119
129
  `-/org/${encodeURIComponent(scope)}/package`,
@@ -137,7 +147,7 @@ var getStatus = async (conf, args) => {
137
147
  });
138
148
  }
139
149
  const rc = new RegistryClient(conf.options);
140
- const registryUrl = new URL(conf.options.registry);
150
+ const registryUrl = new URL(await resolveRegistry(conf));
141
151
  const url = new URL(
142
152
  `-/package/${encodePkgName(pkg)}/access`,
143
153
  registryUrl
@@ -168,7 +178,7 @@ var setStatus = async (conf, args) => {
168
178
  });
169
179
  }
170
180
  const rc = new RegistryClient(conf.options);
171
- const registryUrl = new URL(conf.options.registry);
181
+ const registryUrl = new URL(await resolveRegistry(conf));
172
182
  const url = new URL(
173
183
  `-/package/${encodePkgName(pkg)}/access`,
174
184
  registryUrl
@@ -206,7 +216,7 @@ var grant = async (conf, args) => {
206
216
  }
207
217
  const pkgName = pkg ?? getDefaultPkgName(conf);
208
218
  const rc = new RegistryClient(conf.options);
209
- const registryUrl = new URL(conf.options.registry);
219
+ const registryUrl = new URL(await resolveRegistry(conf));
210
220
  const url = new URL(
211
221
  `-/team/${encodeURIComponent(scope)}/${encodeURIComponent(team)}/package`,
212
222
  registryUrl
@@ -245,7 +255,7 @@ var revoke = async (conf, args) => {
245
255
  }
246
256
  const pkgName = pkg ?? getDefaultPkgName(conf);
247
257
  const rc = new RegistryClient(conf.options);
248
- const registryUrl = new URL(conf.options.registry);
258
+ const registryUrl = new URL(await resolveRegistry(conf));
249
259
  const url = new URL(
250
260
  `-/team/${encodeURIComponent(scope)}/${encodeURIComponent(team)}/package`,
251
261
  registryUrl
@@ -288,6 +298,7 @@ var getDefaultPkgName = (conf) => {
288
298
  };
289
299
  export {
290
300
  command,
301
+ needsRegistry,
291
302
  usage,
292
303
  views
293
304
  };
@@ -11,37 +11,39 @@ import {createRequire as _vlt_createRequire} from "node:module";
11
11
  var require = _vlt_createRequire(import.meta.filename);
12
12
  import {
13
13
  require_lib
14
- } from "./chunk-FXDRM4ZO.js";
14
+ } from "./chunk-CLVRCGOZ.js";
15
15
  import {
16
16
  createHostContextsMap
17
- } from "./chunk-XFQ2EH5D.js";
17
+ } from "./chunk-VM2RMMY4.js";
18
18
  import {
19
19
  Query,
20
20
  actual
21
- } from "./chunk-YQXDHMHG.js";
21
+ } from "./chunk-E5YE7UTZ.js";
22
22
  import {
23
23
  SecurityArchive
24
- } from "./chunk-DM3WGEVB.js";
24
+ } from "./chunk-F2FKLPZD.js";
25
25
  import {
26
26
  PackageInfoClient
27
- } from "./chunk-LEX7YPHR.js";
28
- import "./chunk-HQ4US6G3.js";
29
- import "./chunk-KRGA5VLT.js";
30
- import "./chunk-IAKUGHGT.js";
31
- import {
32
- Spec2 as Spec
33
- } from "./chunk-JKAZKVQU.js";
27
+ } from "./chunk-WXMYKCQW.js";
28
+ import "./chunk-FWKQ7YDF.js";
29
+ import "./chunk-ICJRCXSG.js";
30
+ import "./chunk-MT76WHSM.js";
34
31
  import "./chunk-HTOTG4TS.js";
35
32
  import {
36
33
  commandUsage
37
- } from "./chunk-FBTBHRPG.js";
38
- import "./chunk-DI2CYYXF.js";
34
+ } from "./chunk-LCDBW6IT.js";
35
+ import "./chunk-U6DM3ROE.js";
39
36
  import {
40
37
  urlOpen
41
- } from "./chunk-YCQTLBWF.js";
42
- import "./chunk-R44FR7BY.js";
43
- import "./chunk-2V4AQPBR.js";
44
- import "./chunk-6YXVQ5HC.js";
38
+ } from "./chunk-CNSTFT7U.js";
39
+ import "./chunk-7NHXV6AH.js";
40
+ import {
41
+ Spec2 as Spec
42
+ } from "./chunk-PW6S6AIO.js";
43
+ import "./chunk-E74WGW5C.js";
44
+ import "./chunk-WP6CYBPM.js";
45
+ import "./chunk-UBLFPJHV.js";
46
+ import "./chunk-2PLIV3N3.js";
45
47
  import "./chunk-XNLSTHDK.js";
46
48
  import {
47
49
  error
@@ -11,20 +11,22 @@ import {createRequire as _vlt_createRequire} from "node:module";
11
11
  var require = _vlt_createRequire(import.meta.filename);
12
12
  import {
13
13
  build
14
- } from "./chunk-YQXDHMHG.js";
15
- import "./chunk-DM3WGEVB.js";
16
- import "./chunk-KRGA5VLT.js";
17
- import "./chunk-IAKUGHGT.js";
18
- import "./chunk-JKAZKVQU.js";
14
+ } from "./chunk-E5YE7UTZ.js";
15
+ import "./chunk-F2FKLPZD.js";
16
+ import "./chunk-ICJRCXSG.js";
17
+ import "./chunk-MT76WHSM.js";
19
18
  import "./chunk-HTOTG4TS.js";
20
19
  import {
21
20
  commandUsage
22
- } from "./chunk-FBTBHRPG.js";
23
- import "./chunk-R44FR7BY.js";
24
- import "./chunk-2V4AQPBR.js";
21
+ } from "./chunk-LCDBW6IT.js";
22
+ import "./chunk-7NHXV6AH.js";
23
+ import "./chunk-PW6S6AIO.js";
24
+ import "./chunk-E74WGW5C.js";
25
+ import "./chunk-WP6CYBPM.js";
26
+ import "./chunk-UBLFPJHV.js";
25
27
  import {
26
28
  isErrorWithCause
27
- } from "./chunk-6YXVQ5HC.js";
29
+ } from "./chunk-2PLIV3N3.js";
28
30
  import "./chunk-XNLSTHDK.js";
29
31
  import {
30
32
  error
@@ -70,6 +72,7 @@ var views = {
70
72
  };
71
73
  }
72
74
  };
75
+ var needsRegistry = true;
73
76
  var usage = () => commandUsage({
74
77
  command: "build",
75
78
  usage: ["[query]", "[--target=<query>]"],
@@ -121,6 +124,7 @@ var command = async (conf) => {
121
124
  };
122
125
  export {
123
126
  command,
127
+ needsRegistry,
124
128
  usage,
125
129
  views
126
130
  };
@@ -11,32 +11,35 @@ import {createRequire as _vlt_createRequire} from "node:module";
11
11
  var require = _vlt_createRequire(import.meta.filename);
12
12
  import {
13
13
  prettyBytes
14
- } from "./chunk-LRPTCGTW.js";
14
+ } from "./chunk-XA47WS4N.js";
15
15
  import {
16
16
  stderr,
17
17
  stdout
18
- } from "./chunk-5UXEBLLT.js";
18
+ } from "./chunk-EHEVBLDB.js";
19
19
  import "./chunk-G2YT2GWF.js";
20
- import "./chunk-NLFBANVO.js";
20
+ import "./chunk-Y7CQIZ7Y.js";
21
21
  import {
22
22
  ViewClass
23
23
  } from "./chunk-RXNA2XCX.js";
24
24
  import "./chunk-WGDTG44V.js";
25
- import "./chunk-DFNHGGGV.js";
26
- import "./chunk-IAKUGHGT.js";
27
- import {
28
- Spec2 as Spec
29
- } from "./chunk-JKAZKVQU.js";
25
+ import "./chunk-EFWPI6IY.js";
26
+ import "./chunk-MT76WHSM.js";
27
+ import "./chunk-FAG776ZD.js";
30
28
  import {
31
29
  commandUsage
32
- } from "./chunk-FBTBHRPG.js";
30
+ } from "./chunk-LCDBW6IT.js";
33
31
  import {
34
32
  CacheEntry
35
- } from "./chunk-DI2CYYXF.js";
36
- import "./chunk-YCQTLBWF.js";
37
- import "./chunk-R44FR7BY.js";
38
- import "./chunk-2V4AQPBR.js";
39
- import "./chunk-6YXVQ5HC.js";
33
+ } from "./chunk-U6DM3ROE.js";
34
+ import "./chunk-CNSTFT7U.js";
35
+ import "./chunk-7NHXV6AH.js";
36
+ import {
37
+ Spec2 as Spec
38
+ } from "./chunk-PW6S6AIO.js";
39
+ import "./chunk-E74WGW5C.js";
40
+ import "./chunk-WP6CYBPM.js";
41
+ import "./chunk-UBLFPJHV.js";
42
+ import "./chunk-2PLIV3N3.js";
40
43
  import "./chunk-XNLSTHDK.js";
41
44
  import {
42
45
  error
@@ -119,6 +122,7 @@ var usageDef = {
119
122
  }
120
123
  }
121
124
  };
125
+ var needsRegistry = true;
122
126
  var usage = () => commandUsage(usageDef);
123
127
  var command = async (conf) => {
124
128
  const [sub, ...args] = conf.positionals;
@@ -306,6 +310,7 @@ var add = async (conf, specs, view2) => {
306
310
  export {
307
311
  CacheView,
308
312
  command,
313
+ needsRegistry,
309
314
  usage,
310
315
  views
311
316
  };