Skip to content

v0.1.3: feat: resolver files (#16)

Choose a tag to compare

@bennypowers bennypowers released this 12 Mar 10:11
· 40 commits to main since this release
f4d7fda

What's Changed

Resolver Document Support

All CLI commands (list, search, validate, convert) now process DTCG resolver documents referenced in .config/design-tokens.yaml. Source files listed in resolver documents are automatically discovered and included.

Improvements

  • Deduplicate resolved files by path to prevent duplicate tokens when the same file appears in both config files and resolver sources
  • Exclude resolver-derived sources from --in-place conversion to prevent accidental rewriting of dependency files
  • Return errors for unrecognized resolver entry shapes instead of silently skipping them
  • Strip fragment identifiers from $ref file paths (e.g., palette.json#/brandpalette.json)
  • Decode JSON Pointer escaping in resolver set references per RFC 6901