1328 Commits

Author SHA1 Message Date
Norbert de Langen
4a2bc9333a v3.0.0-rc.2 2017-05-27 13:46:50 +02:00
Norbert de Langen
67d902f237 FIX listing for markdown 2017-05-26 11:21:46 +02:00
Norbert de Langen
8d5c4bacf8 FIX linting 2017-05-26 09:36:45 +02:00
Norbert de Langen
f88dfc37ea v3.0.0-rc.0 2017-05-25 18:28:23 +02:00
Norbert de Langen
d293261051 ADD a global to storyshots to make it work for series with info addon 2017-05-25 17:36:31 +02:00
Tom Coleman
3618a1aa17 This was a mistake, should not have been included
See https://github.com/storybooks/storybook/issues/995#issuecomment-303733775
2017-05-25 09:59:44 +10:00
Michael Shilman
f5237574cd v3.0.0-alpha.5 2017-05-24 08:59:26 +10:00
Norbert de Langen
a593145cd0 FIX a few things 2017-05-23 20:56:54 +02:00
Norbert de Langen
abac423ed4 Merge branch 'master' into component-with-ref-example 2017-05-23 00:41:09 +02:00
Norbert de Langen
57809215f6 v3.0.0-alpha.4 2017-05-23 00:09:21 +02:00
Norbert de Langen
8e9809823f v3.0.0-alpha.3 2017-05-23 00:08:11 +02:00
Tom Coleman
0644b216b3 Added some docs 2017-05-22 15:27:45 +10:00
Tom Coleman
b915b54397 Added a snapshotWithOptions test body and example
See for instance https://github.com/storybooks/storybook/pull/896/ -- it's a common problem to need mocked nodes. 

This solution is probably a bit of a bandaid, as large projects would probably want to set options per-story, this is a lot better than nothing in the meantime.
2017-05-22 15:25:58 +10:00
Tom Coleman
b00d4a43f1 Added some documentation about the test option 2017-05-21 21:10:36 +10:00
Tom Coleman
a92f352470 Allow passing a test function to storyshots
See https://github.com/storybooks/storybook/issues/1034
2017-05-21 21:10:34 +10:00
Tom Coleman
b5d7247128 Set up test-cra app to use storyshots
A few things involved:

1. Remove dependencies from storyshots

Storyshots wants to plugin to the version used by the app, not have its own version. So it should probably use a peer dep; however as some deps are optional (i.e. react vs react-native) this will lead to confusing warnings to the user.

This seems like an OK approach until we hear differently from users.

2. Update test-cra's react-scripts to get it's Jest version up to date

3. Add a `mode` option to storyshots to avoid it auto-detecting if `@storybooks/react[-native]` is installed (this was breaking Jest run from the top-level).

4. Ensure that travis installs the `test-cra` properly
2017-05-21 20:44:59 +10:00
Norbert de Langen
6f4566cde9 v3.0.0-alpha.2 2017-05-20 21:04:36 +02:00
Denis Evgrafov
4da63d1359 Update README.md 2017-05-20 11:41:32 +03:00
Norbert de Langen
a81757b333 v3.0.0-alpha.1 2017-05-19 22:40:47 +02:00
Norbert de Langen
24544af38d FIX linting 2017-05-19 00:21:13 +02:00
Norbert de Langen
22a92882b4 FIX linting 2017-05-18 22:40:11 +02:00
Norbert de Langen
22b4b94aa0 FIX linting 2017-05-18 19:48:47 +02:00
Norbert de Langen
d55bc6ad4b FIX linting 2017-05-18 18:33:51 +02:00
Norbert de Langen
09747c667b Merge branch 'master' into eslint-strict
# Conflicts:
#	addons/centered/package.json
#	addons/graphql/package.json
#	addons/info/package.json
#	addons/knobs/package.json
#	addons/links/.storybook/config.js
#	addons/notes/package.json
#	addons/notes/src/index.js
#	addons/notes/src/register.js
#	addons/options/src/manager/index.js
#	addons/storyshots/src/index.js
#	addons/storyshots/stories/required_with_context/Button.stories.js
#	addons/storyshots/stories/required_with_context/Welcome.js
#	app/react-native/package.json
#	app/react-native/src/manager/index.js
#	lib/channel-postmessage/package.json
#	lib/channel-postmessage/src/index.js
#	lib/channel-websocket/package.json
#	lib/channel-websocket/src/index.js
#	lib/cli/generators/METEOR/index.js
#	lib/cli/generators/REACT/template/stories/Welcome.js
#	lib/cli/generators/REACT_SCRIPTS/index.js
#	lib/cli/generators/WEBPACK_REACT/template/stories/Welcome.js
#	packages/react-storybook/src/server/track_usage.js
#	packages/storybook-ui/src/modules/ui/components/layout/usplit.js
#	scripts/prepublish.js
2017-05-17 23:41:09 +02:00
Norbert de Langen
bf7db99e6d v3.0.0-alpha.0 2017-05-17 21:49:25 +02:00
Norbert de Langen
f7570d2710 FIX review comment 2017-05-17 12:17:30 +02:00
Norbert de Langen
9596ea1ca0 FIX a few bithound listing issues 2017-05-17 09:18:50 +02:00
Norbert de Langen
33197654ad MOVE & RENAME and storyshots && CHANGE “React Storybook” > “Storybook” 2017-05-17 09:04:22 +02:00