Authoring packages
Authoring packages
Guides for package and catalog authors: writing a pkg.yaml, validating it,
and publishing a catalog to a registry. For the complete manifest schema, see
the pkg.yaml schema reference.
Define how a tool is fetched and installed.
Lint manifests with nem author lint.
Pack and push a catalog to a registry.
Push archives and sources into a registry.
Catalog structure
A catalog is a directory with a pkgs/ folder that holds one subdirectory per
package, each containing a single pkg.yaml manifest:
my-catalog/
├── pkgs/
│ ├── ripgrep/
│ │ └── pkg.yaml
│ └── kubectl/
│ └── pkg.yaml
└── README.mdThe directory name under pkgs/ is the package name used with nem use. A
catalog carries no code — only manifests.