Michael Shilman
8e6df76a2e
Tweaked Welcome message and snapshot to fix the build
2017-06-26 15:28:03 +10:00
Michael Shilman
b20e6f5091
Remove package-lock.json
2017-06-23 01:03:45 +10:00
Michael Shilman
f496deba0b
Create @storybook/react/demo
exports
2017-06-22 15:05:19 +10:00
Tom Coleman
b04849bc6e
Use a pack -> install technique to recreate local packages
...
As suggested by https://github.com/npm/npm/pull/15900 . This is a workaround until we get a better resolution of https://github.com/storybooks/storybook/issues/1286
2017-06-22 12:18:16 +10:00
Michael Shilman
e5041fa06a
Add package-lock.json
...
Per discussion with @tmeasday 😉
2017-06-22 11:17:16 +10:00
Michael Shilman
b6de6ac954
Add placeholder tests to react-kitchen-sink
2017-06-22 10:54:16 +10:00
Michael Shilman
83e9977701
Minor cleanup
2017-06-18 00:10:48 +10:00
Michael Shilman
600b9bd79c
Move demo components from @storybook/components
to @storybook/react
2017-06-17 23:49:04 +10:00
Michael Shilman
ed6d404a39
Update cra-kitchen-sink to use demo imports from @storybook/react
2017-06-17 23:02:08 +10:00
Michael Shilman
db5b5a6504
Fix prop-type warning in date knob
2017-06-17 19:46:16 +10:00
Michael Shilman
57f52b4993
Move broken date picker knob to the end
2017-06-17 19:29:45 +10:00
Michael Shilman
0664a7cd69
Add test cases to kitchen sink, fix object/boolean knobs
2017-06-17 18:36:25 +10:00
Norbert de Langen
59d4cc2b15
Merge branch 'master' into add-lib-components
...
# Conflicts:
# examples/cra-kitchen-sink/src/stories/Button.js
# examples/cra-kitchen-sink/src/stories/Welcome.js
2017-06-16 08:49:59 +02:00
Michael Shilman
3cb388c539
Remove package-lock.json files accidentally added
2017-06-15 15:25:14 +10:00
Michael Shilman
9571b40452
Redo CRA kitchen sink work in a single commit
...
- renamed project
- added `info`, `notes`, `centered`, `knobs` examples
2017-06-15 15:09:08 +10:00
Norbert de Langen
294923bac3
Use new common demo-components
2017-06-12 18:09:37 +02:00
Norbert de Langen
08f3f837d7
WIP
2017-06-12 08:47:44 +02:00
Norbert de Langen
a48f958bcd
FIX coverage by using jest projects over multiple npm scripts
2017-06-08 00:49:40 +02:00
Norbert de Langen
207eb44232
Merge branch 'master' into client-chunk-support
2017-06-07 18:03:51 +02:00
Norbert de Langen
a3af5b9e6f
Merge branch 'master' into client-chunk-support
2017-06-07 17:15:24 +02:00
Norbert de Langen
7c707f6de2
ADD webpack progressbar && show server ready message after webpack
...
FIX 'urlsFromAssets'
2017-06-07 16:48:52 +02:00
Norbert de Langen
bd13e5c548
Merge branch 'master' into master
2017-06-07 14:53:01 +02:00
Li0liQ
51fe09f0a3
Fixed links to storybook.js.org.
2017-06-07 22:29:17 +10:00
Tom Coleman
4a5dfbdf9a
Fixed linting errors
2017-06-07 22:24:54 +10:00
Tom Coleman
616a46dff3
Added more packages to deal with npm@5
2017-06-07 21:19:18 +10:00
Tom Coleman
8cef3d5c03
Separate out testing the RN app and the rest.
...
Although RN uses Jest for testing, it uses a Jest preset which messes with the environment. AFIACT it's not possible to selectively apply the environment to different tests so we just separate them.
2017-06-07 21:19:17 +10:00
Tom Coleman
fe2c868eec
Added a vanilla React Native example app.
...
For #1012 . Includes storyshots and the use of addon-options
2017-06-07 21:17:55 +10:00
Norbert de Langen
8216f66b04
REMOVE example from code & MOVE to cra-storybook example
2017-06-07 00:51:15 +02:00
Norbert de Langen
28a4b32323
CHANGE all package.jsons so they are uniformly sorted
2017-06-06 17:46:55 +02:00
Norbert de Langen
e4e639e0c2
FIX linting
2017-06-06 16:34:36 +02:00
Norbert de Langen
8fef4bb2d8
FIX linting
2017-06-05 00:58:23 +02:00
Norbert de Langen
81b4cb85dc
FIX unit tests snapshots && FIX linting
2017-06-03 23:03:19 +02:00
Norbert de Langen
da961dc508
FIX linting
2017-06-03 21:06:48 +02:00
Norbert de Langen
49bb8ea829
Merge branch 'master' into eslint-strict
2017-06-01 07:53:54 +02:00
Norbert de Langen
a61e0bc0d5
UPDATE cra-storybook example to latest
2017-06-01 07:16:41 +02:00
Norbert de Langen
af1b0c11d2
Merge branch 'master' into eslint-strict
...
# Conflicts:
# .eslintignore
# .travis.yml
# addons/actions/src/containers/ActionLogger/index.js
# addons/centered/package.json
# addons/graphql/package.json
# addons/info/src/components/PropTable.js
# addons/info/src/components/Props.js
# addons/knobs/package.json
# addons/knobs/src/components/Panel.js
# addons/notes/package.json
# addons/notes/src/index.js
# addons/notes/src/register.js
# addons/storyshots/package.json
# addons/storyshots/src/index.js
# app/react-native/package.json
# app/react/package.json
# examples/cra-storybook/package.json
# examples/cra-storybook/src/stories/Welcome.js
# examples/test-cra/src/stories/Button.js
# examples/test-cra/src/stories/Welcome.js
# lib/channel-postmessage/package.json
# lib/channel-websocket/package.json
# lib/cli/bin/generate.js
# lib/cli/generators/METEOR/index.js
# lib/cli/generators/REACT/index.js
# lib/cli/generators/REACT/template/stories/index.js
# lib/cli/generators/REACT_NATIVE/index.js
# lib/cli/generators/REACT_SCRIPTS/index.js
# lib/cli/generators/REACT_SCRIPTS/template/src/stories/Welcome.js
# lib/cli/generators/WEBPACK_REACT/index.js
# lib/cli/lib/helpers.js
# lib/cli/package.json
# package.json
2017-05-31 07:45:04 +02:00
Norbert de Langen
db3cd0b6eb
FIX spelling
2017-05-27 22:10:34 +02:00
Norbert de Langen
67d902f237
FIX listing for markdown
2017-05-26 11:21:46 +02: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
Norbert de Langen
6a41f71b0a
FIX postcss options missing && UPDATE dependencies
2017-05-21 19:38:34 +02:00
Norbert de Langen
c7e676ff3b
CHANGE to prop-types package for notes & test-cra
2017-05-21 14:16:21 +02: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
8b3f8556c2
update dependencies in cra-storybook
2017-05-20 17:59:34 +02:00
Norbert de Langen
0142e4b116
FIX linting
2017-05-19 01:04:48 +02:00
Norbert de Langen
03c56b446c
FIX linting
2017-05-19 00:43:58 +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
e03aa55b84
FIX linting
2017-05-18 21:54:50 +02:00
Norbert de Langen
d55bc6ad4b
FIX linting
2017-05-18 18:33:51 +02:00
Norbert de Langen
69b91f6e53
CHANGE folder structure && CHANGE package-names
2017-05-15 00:08:46 +02:00