You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(pm): implement catalog protocol for dependency resolution
Add support for the `catalog:` dependency protocol, which allows
defining shared version specs in `.utoo.toml` and referencing them
from package.json via `catalog:` or `catalog:<name>`.
Key changes:
- Parse `catalog:` as `PackageSpec::Local { protocol: Catalog }` in spec parser
- Resolve catalog specs inline in `process_dependency` (same pattern as workspace/git)
- Add `Catalogs` type and `resolve_catalog_spec` to ruborist spec module
- Normalize default catalog keys ("" / "default") at config build time
- Add catalog-aware lock freshness check in `deps_match` closure
- Add `catalogs` field to `BuildDepsConfig` and `BuildDepsOptions`
- Add e2e test fixture and test cases for catalog resolution
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments