1 Using kumori.systems Artifacts (public registry)
This tutorial shows how to consume artifacts published under the default public registry selector: kumori.systems/....
Conceptually, it works like any other dependency:
- Add a dependency in
kumori.mod.json - Download it (
kdsl mod downloadorkdsl mod dep ... --download) - Import a package from that module
- Reference the artifact in a service or deployment
1.1 Add a dependency from the public index
Example: add kumori.systems/verdaccio@1.0.0 (this module is used in the CLI tests).
Resulting kumori.mod.json entry:
1.2 Import a package and reference an artifact
Once downloaded, you can import one of the module’s packages. With an alias, the import starts with that alias:
Then, reference artifacts from that package using package.ArtifactName.
A minimal deployment shape looks like this:
The actual package path (
component,service, etc.) and artifact name depend on the specific module you depend on. After downloading, inspect the module sources under your cache location (default:.kumori/mod/) to see what packages/artifacts it exports.
1.3 Registry configuration (what makes kumori.systems special)
kumori.systemsis the default registry selector, so most users don’t need extra setup.- If you want to inspect or add registries manually, see: