← All happo for npm releases

happo for npm release notes

The happo npm package: the CLI and its Storybook, Cypress and Playwright integrations.

6.10.0

New features

This version adds support for a --skip CLI argument (can be used with all integrations) and a --only CLI argument (Storybook only). These flags can be used to reduce the snapshots usage by running through a limited set of Happo examples. These arguments are defined as JSON arrays, with items following one of these structures:

{ "component": "Card" }
{ "component": "Card", "variant": "bordered" }
{ "storyFile": "./src/stories/Card.stories.js" }

The last format (using storyFile) is only supported for Storybook runs.

All changes

  • Add --only CLI flag for Storybook integration to render only stories matching a given list, complementing the existing --skip functionality [by @trotzig in #463]
  • Support storyFile items in --skip for Storybook integration, allowing entire story files to be skipped by path [by @trotzig in #460]
  • Adjust auto-chunking to account for skipped stories, ensuring chunk count scales proportionally when --skip is used [by @trotzig in #462]
  • Add release-with-ease dev dependency and release script for automated version management [by @trotzig in #465]

Need help?