Skip to content

Choose a tag to compare

@dgesteves-release dgesteves-release released this 16 Oct 09:57
· 78 commits to main since this release
9603f20

onsystem 0.8.0 reads more of the design system you actually use, reports more of the hardcoded styling agents write, and checks Codex edits. It is a minor release: code that passed can get new findings, so run onsystem check . --update-baseline once after upgrading if you use a baseline.

  • More findings, safer fixes: Tailwind white and black are reported, class strings kept in variables in the same file are followed, and icon-only asChild links are checked. A background is never fixed to a token where the text on it would stop standing out in dark mode.
  • Zero config reads more of your design system: an installed package named like one (@acme/ui) that publishes its .tsx sources, and the folders npx shadcn add copies other registries' code into, read-only next to components/ui. init writes those registry folders into the config.
  • exclude now adds to the defaults (tests, stories, mocks and .d.ts files stay out) and leaves out the same files in check, at a monorepo root and in the ESLint plugin.
  • check and check_ui read only JS and TS files, so check $(git diff --name-only) no longer parses CSS or Markdown as TSX, and --require-design-system fails when nothing was checked.
  • The plugin's hook now checks edits in Codex, which installs the Claude Code plugin and runs its hook on apply_patch.

onsystem's GitHub Action at 0.8.0. Pin it with uses: dgesteves/onsystem@v0.8.0, or use @v0 to follow each release.

Release notes: https://github.com/dgesteves/onsystem/releases/tag/onsystem%400.8.0