chromatic
Visual Testing for Storybook
Last updated a month ago by ghengeveld .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install chromatic 
SYNC missed versions from official npm registry.

Chromatic CLI

Publishes your Storybook to Chromatic and kicks off tests if they're enabled.

Tested with Chromatic

Documentation

???? See the Chromatic CLI docs.

Contributing

Contributions of any kind are welcome! We're available to chat via the Intercom widget on the documentation site.

Compatibility & versioning

Compatibility is guaranteed between this package and Chromatic like so:

  • Production Chromatic ensures it’s compatible with what’s on npm
  • What's on the master branch is equal to what's published on npm
  • This package ensures it’s compatible with production Chromatic

To facilitate upgrading in the future, removing and adding features, this is the process:

  • Any new features will have to be on Chromatic production before they could be used in this package
  • We can add feature flags to be able to test new functionality
  • Chromatic production can not remove any features this package depends on until after the usage has been removed from this package in addition to a grace period to allow users to upgrade

Publishing a new version to npm

Before publishing, make sure you've done the following:

  • yarn build
  • Updated CHANGELOG.md
  • Committed and pushed everything
  • Decide on the proper semver bump (major/minor/patch)
npm version <major|minor|patch|prerelease> [--preid <tag>]
git push --follow-tags
npm publish [--tag <tag>]

Doing an alpha (or beta) release

For the first alpha release, bump the version like so (depending on the semver bump):

npm version <premajor|preminor|prepatch> --preid alpha

For consecutive alpha releases on the same version:

npm version prerelease --preid=alpha

Then push and publish:

git push --follow-tags
npm publish --tag alpha

Doing a final release

npm version <major|minor|patch>
git push --follow-tags
npm publish

And finally, remove the alpha tag, if any:

npm dist-tag rm chromatic alpha

Current Tags

  • 5.3.0-alpha.1                                ...           alpha (12 days ago)
  • 5.2.0                                ...           latest (a month ago)

33 Versions

  • 5.3.0-alpha.1                                ...           12 days ago
  • 5.3.0-alpha.0                                ...           12 days ago
  • 5.2.0                                ...           a month ago
  • 5.2.0-beta.0                                ...           2 months ago
  • 5.1.0                                ...           3 months ago
  • 5.1.0-alpha.4                                ...           3 months ago
  • 5.1.0-alpha.3                                ...           3 months ago
  • 5.1.0-alpha.2                                ...           3 months ago
  • 5.1.0-alpha.1                                ...           3 months ago
  • 5.1.0-alpha.0                                ...           3 months ago
  • 5.0.0                                ...           4 months ago
  • 5.0.0-beta.8                                ...           4 months ago
  • 5.0.0-beta.7                                ...           4 months ago
  • 5.0.0-beta.6                                ...           4 months ago
  • 5.0.0-beta.5                                ...           4 months ago
  • 5.0.0-beta.4                                ...           4 months ago
  • 5.0.0-beta.3                                ...           5 months ago
  • 5.0.0-beta.2                                ...           5 months ago
  • 5.0.0-beta.1                                ...           5 months ago
  • 5.0.0-beta.0                                ...           5 months ago
  • 5.0.0-alpha.4                                ...           5 months ago
  • 5.0.0-alpha.3                                ...           5 months ago
  • 5.0.0-alpha.2                                ...           5 months ago
  • 5.0.0-alpha.1                                ...           5 months ago
  • 5.0.0-alpha.0                                ...           5 months ago
  • 4.0.3                                ...           5 months ago
  • 4.0.2                                ...           6 months ago
  • 4.0.1                                ...           6 months ago
  • 4.0.0                                ...           6 months ago
  • 4.0.0-alpha.2                                ...           7 months ago
  • 4.0.0-alpha.1                                ...           7 months ago
  • 4.0.0-alpha.0                                ...           7 months ago
  • 0.1.0                                ...           5 years ago
Downloads
Today 1
This Week 44
This Month 296
Last Day 14
Last Week 114
Last Month 283
Dependencies (38)

Copyright 2014 - 2016 © taobao.org |