nextvm registry
Search and publish modules to the NextVM module registry.
Synopsis
bash
nextvm registry:search <query> [--limit <n>]
nextvm registry:publish <module-path> [--token <token>] [--dry-run]registry:search
Search the registry for modules by name, description, or tag.
bash
nextvm registry:search banking
nextvm registry:search "vehicle keys" --limit 5| Option | Default | Description |
|---|---|---|
--limit <n> | 10 | Max number of results |
Example output
ℹ Searching registry for "banking"...
@nextvm/banking 0.0.1 Accounts, transfers, audit trail
@community/atm-banking 1.2.0 ATM blips + cash withdrawals
@community/banking-cards 0.4.1 Debit/credit card system
Found 3 result(s).registry:publish
Publish a built module to the registry. Requires:
- The module has been built (
nextvm build) package.jsonhasname,version,description- A valid registry token (env var
NEXTVM_REGISTRY_TOKENor--token)
bash
nextvm registry:publish modules/banking
nextvm registry:publish modules/banking --dry-run| Option | Default | Description |
|---|---|---|
--token <token> | $NEXTVM_REGISTRY_TOKEN | Auth token |
--dry-run | off | Validate + pack without uploading |
What it does
- Reads
modules/<name>/package.json - Verifies
dist/andfxmanifest.luaexist - Packs the module into a tarball (
.tgz) - Computes SHA-256 checksum
- POSTs to the registry endpoint with the token
- Prints the published version URL
Example
ℹ Publishing @community/atm-banking@1.2.0...
→ Packing modules/atm-banking → 24.1 KB
→ Checksum: sha256-1a2b3c...
→ Uploading...
✓ Published https://registry.nextvm.dev/p/atm-banking/1.2.0See also
@nextvm/registrypackage reference- PLA Compliance — what you can and can't publish