Skip to content

v5.0.3

Latest

Choose a tag to compare

@ourpeter ourpeter released this 12 Jun 08:04
aa5f194

Tooling

  • Replaced ESLint + Prettier with Biome 2.4.16 for linting and formatting, aligning with the setup in website-components-react. npm run lint and npm run lint:fix now run biome check, and npm test runs both lint and typecheck.
  • The bulk of the diff (~125 files) is mechanical reformatting from the migration: import sorting and minor style differences between Prettier and Biome. No functional changes.
  • Pre-commit hooks (husky + lint-staged) now run Biome instead of ESLint.

Fixed

  • Content: passing dangerouslySetInnerHTML no longer throws at runtime — the component previously forwarded both children and dangerouslySetInnerHTML to the same element, which React rejects. It now renders the injected HTML when provided, falling back to children otherwise.

Dependencies

  • Updated in-range dev dependencies: @types/node, @wayke-se/ecom-web 2.1.1, esbuild 0.28.1.
  • Removed ESLint, Prettier and all related plugins (dev dependencies only).

Notes

  • No changes to the public API or peer dependencies. Safe to update from 5.0.2.
  • For contributors: if your editor formats with Prettier, switch the default formatter for this repo to the Biome extension