Releases: google-labs-code/design.md
Releases · google-labs-code/design.md
0.1.1
Release Notes: @google/design.md v0.1.1
This is a patch release updating the documentation to correctly reflect the available CLI commands.
📝 Documentation Updates
- Updated Command References: Replaced documentation for the outdated
tailwindcommand with the correctexportcommand. - Clarified Interoperability: Documented how to use
exportto generate both Tailwind CSS themes and DTCG tokens:npx @google/design.md export --format tailwind DESIGN.md > tailwind.theme.json npx @google/design.md export --format dtcg DESIGN.md > tokens.json
0.1.0: chore: packaging for release (#11)
Release Notes: @google/design.md v0.1.0
We are excited to announce the initial open-source release of @google/design.md, an agent-first CLI and linter for the DESIGN.md format. This tool bridges the gap between design systems and code by providing a formal, machine-readable way to validate and compile design tokens documented in markdown.
🚀 Features
- Design System Linter: Validates
DESIGN.mdfiles against the formal spec, catching unresolved references, circular dependencies, and invalid token values. - Spec Generator: Generates human-readable specification documentation from the core schema.
- Agent-First Design: Deterministic JSON output and silent execution modes optimized for AI agents performing design system maintenance.
🛠 Improvements & Fixes
- Clean JSON Output: Purged debug logging to ensure output is pure JSON and safe for piping to other tools or AI agents.
- Windows Shell Compatibility: Added
designmdbinary alias to prevent Windows from confusing the.mdextension with a file association. - Startup Reliability: Resolved module loading issues that could cause crashes on import.
- Self-Contained Package: Optimized the package to be self-contained, reducing install size and avoiding dependency conflicts.
📦 Installation
Install globally via npm or bun:
npm install -g @google/design.md
# or
bun add -g @google/design.mdOr run directly via npx:
npx @google/design.md lint DESIGN.md(Windows users: use npx designmd if file extension associations cause issues).