MissingFromCatalog
When this happens
- ✓ Instance is in a Catalog version group
- ✓ One catalog (or zero, implicit
"default") exists in the project - ✘ Instance's dependency is not defined in any catalog
- ✘ Instance does not use the
catalog:protocol - ! Fix: add dependency to the catalog and replace specifier with
catalog:
The specifier added to the catalog is the unique value when all instances are identical, or the highest semver when all instances are semver.
Severity
Configurable via severity on a Catalog version group.
| Value | Effect |
|---|---|
"fix" | Default. Add the dependency to the catalog and replace the instance's specifier with `catalog:`. Reported as an error in lint until fixed. |
"warn" | Skip the fix; show as warning. Does not affect exit code. |
"error" | Skip the fix; show as error. Exits 1. |