Bumps version from 0.2.0 to 0.3.0. All changes since 0.2.0:
Bug Fixes
- Nested token declarations no longer crash the linter. Nested YAML like
colors: { background: { light: '#fff' } }is now parsed correctly with dot-separated paths (e.g.colors.background.light). (#103, @vikks) - Non-string YAML values no longer crash the linter. Spacing values like
unit: 8(parsed as a number by YAML) previously causedraw.match is not a function. The type guard inparseDimensionPartsnow handles this. (#79, @SyedaQurratAI) Fixes #106. - Boolean YAML scalars in component props no longer crash the linter. (#94)
lint --format markdownnow renders the report correctly instead of printing[object Object]. (#95)- Tailwind v4 export handles digit-prefixed token names. (#72, @Bortlesboat)
- Removed stale dependencies (
ink,react, etc.) and fixed lint scripts. (#98)
Features
- Unknown top-level key warnings. The linter now reports a warning when the frontmatter contains keys not recognized by the spec. (#84, @ryo-manba)
- Nested token support. Colors, spacing, and rounded tokens support arbitrary nesting depth with dot-separated symbol table paths. (#103, @vikks)
Docs
- Added PHILOSOPHY.md. (#99)
- Documented Windows/PowerShell
npxinvocation. (#104, @mvanhorn) - Updated color spec to document all supported CSS color formats. (#96)
Contributors
Thank you to the contributors who made this release possible:
- @vikks (#103)
- @SyedaQurratAI (#79)
- @ryo-manba (#84)
- @Bortlesboat (#72)
- @mvanhorn (#104)