77 Commits

Author SHA1 Message Date
Filipp Riabchun
ec3a54eac5
Merge branch 'master' into dd/hmr 2017-11-02 15:07:53 +03:00
Daniel Duan
cfb80dd9df #2081 add hmr to other rn app template 2017-11-01 22:57:26 -04:00
hypnos
735497714c Upgrade eslint-config-airbnb and make it pass 2017-11-02 04:40:48 +03:00
Daniel Duan
d917f2511e
Update storybook.js 2017-10-31 13:06:55 -04:00
Daniel Duan
43a09478d8 #2081 fix hmr in react-native template 2017-10-31 13:00:35 -04:00
Andrew Jones
50254ea2f3 Add index.js file for RN 0.49 2017-10-29 09:54:20 +00:00
kazuya kawaguchi
0dd7b95353
👕 refactor(eslint): fix lint errors 2017-10-09 02:53:45 +09:00
kazuya kawaguchi
56e3602cbf
improvement(cli): setup JSX configration for Vue 2017-10-09 01:40:48 +09:00
Norbert de Langen
d0b752d8d3 FIX linting after prettier upgrade 2017-09-06 00:54:12 +02:00
Michael Shilman
82a40aff7e Install @storybook/react-native in RN getstorybook 2017-08-26 00:41:26 -07:00
Pierrick PAUL
fded7874f8 Fix generators export
Correctly export `VUE` and `WEBPACK_REACT` generators
2017-08-23 21:43:42 +02:00
Norbert de Langen
c291483d9c Merge pull request #1714 from storybooks/cli-ensure-proptypes
CLI (React Native): ensure having an explicit dependency on `prop-types`
2017-08-23 07:16:10 +02:00
hypnos
a81b53fd13 Fix rest of lint errors 2017-08-23 03:44:20 +03:00
hypnos
2188121c53 CLI (React Native): ensure having an explicit dependency on prop-types 2017-08-23 02:45:50 +03:00
hypnos
4bcff45de0 Revert "CLI (React Native): ensure having an explicit dependency on prop-types"
This reverts commit cfc8bf070a1cd3635a31884012d13d114d1c2b6f.
2017-08-23 02:44:40 +03:00
hypnos
cfc8bf070a CLI (React Native): ensure having an explicit dependency on prop-types 2017-08-23 02:43:52 +03:00
hypnos
0e33495a95 Merge remote-tracking branch 'upstream/master' into stricter-lint-imports
# Conflicts:
#	examples/crna-kitchen-sink/storybook/stories/Button/index.android.js
#	examples/crna-kitchen-sink/storybook/stories/Button/index.ios.js
#	examples/crna-kitchen-sink/storybook/stories/CenterView/index.js
#	examples/crna-kitchen-sink/storybook/stories/Welcome/index.js
#	examples/react-native-vanilla/storybook/stories/Button/index.android.js
#	examples/react-native-vanilla/storybook/stories/Button/index.ios.js
#	examples/react-native-vanilla/storybook/stories/CenterView/index.js
#	examples/react-native-vanilla/storybook/stories/Welcome/index.js
#	lib/cli/generators/REACT_NATIVE/template/storybook/stories/Button/index.android.js
#	lib/cli/generators/REACT_NATIVE/template/storybook/stories/Button/index.ios.js
#	lib/cli/generators/REACT_NATIVE/template/storybook/stories/CenterView/index.js
#	lib/cli/generators/REACT_NATIVE/template/storybook/stories/Welcome/index.js
2017-08-22 23:23:25 +03:00
Michael Shilman
46211e99d5 Use prop-types for RN CLI instead of deprecated react PropTypes 2017-08-22 09:59:48 -07:00
hypnos
fb5e28fa01 Merge remote-tracking branch 'upstream/master' into stricter-lint-imports
# Conflicts:
#	examples/cra-kitchen-sink/src/__snapshots__/storyshots.test.js.snap
2017-08-19 14:37:56 +03:00
gustojs
3679a49a5a Emit a custom 'click' event
The story listens for a custom 'click' event emited from `MyButton.vue` component, but `MyButton.vue` lacks such a functionality. When the button is clicked, only an empty method is called.

The change I suggested is the less intrusive one, keeping the method code as opposite to removing it and emitting an event directly from the template.
2017-08-18 20:25:40 +02:00
hypnos
85aeb4ee72 Fix new errors 2017-08-18 19:10:28 +03:00
Filipp Riabchun
a9c19f3512 Merge branch 'master' into stricter-lint-imports 2017-08-18 13:21:53 +03:00
Norbert de Langen
4719ee38d3 Merge branch 'master' into fix-cra-detection 2017-08-18 11:44:26 +02:00
hypnos
2aede2cfca Revert an unintended change 2017-08-18 05:08:54 +03:00
hypnos
4344121d46 Promote import/extensions to error level as it has no violations 2017-08-18 05:07:15 +03:00
hypnos
cb92897063 Promote no-extraneous-dependencies to error level and make it pass 2017-08-18 04:35:25 +03:00
Filipp Riabchun
ef3a8746d0 Merge branch 'master' into cli-explicit-deps 2017-08-17 23:54:06 +03:00
hypnos
24df843309 Detect each latest version independently 2017-08-17 02:24:56 +03:00
Norbert de Langen
58b5d6d22f WIP 2017-08-16 21:58:17 +02:00
hypnos
1601322fdc CLI: Add explicit dependencies on used plugins 2017-08-13 23:03:59 +03:00
hypnos
07471781c7 Fix Create React (Native) App detection 2017-08-12 16:18:50 +03:00
pd4d10
df6b3049da Update template config for webpack react project (#1628)
* Update webpack.config.js

* Update webpack.config.js
2017-08-09 23:59:53 +03:00
René Herrmann
bb961b6fd1 Fixed border-radius typo in MyButton.vue 2017-08-02 13:48:20 +02:00
Michael Shilman
52ef042203 Make onDeviceUI default for RN getstorybook 2017-08-01 13:24:12 -07:00
Michael Shilman
8f10fce540 Use RN packager host by default in examples and also CLI templates 2017-08-01 11:13:11 -07:00
Michael Shilman
1c59065b39 Merge branch 'master' into release/3.2
# Conflicts:
#	addons/actions/package.json
#	addons/knobs/package.json
#	addons/storyshots/package.json
#	app/react-native/package.json
#	app/react/package.json
#	examples/cra-kitchen-sink/package.json
#	lerna.json
#	lib/ui/src/modules/ui/components/layout/index.js
2017-07-14 10:40:54 -07:00
Norbert de Langen
15540df990 CHANGE indentation rule eslint (prettier) 2017-07-08 22:57:21 +02:00
Norbert de Langen
96031cd552 Merge branch 'master' into add-app-vue
# Conflicts:
#	.gitignore
#	addons/knobs/package.json
#	addons/notes/package.json
#	lib/cli/package.json
2017-06-23 13:38:36 +02:00
Tom Coleman
928ea5e1c1 Ensure we add the correct version of react-dom
We need to use an equal version to the `react` version the app is using.

#1284
2017-06-23 14:07:16 +10:00
Michael Shilman
f496deba0b Create @storybook/react/demo exports 2017-06-22 15:05:19 +10:00
Alexandre BODIN
8145ac3414 Merge branch 'master' into add-app-vue 2017-06-18 18:00:46 +02:00
Michael Shilman
cd297c33e1 Export demo components from @storybook/react
We do this so we can have a uniform way to do this across frameworks
(e.g. RN, vue)
2017-06-17 22:50:44 +10:00
kazuya kawaguchi
3e12ba1f39
👕 refactor: tweak style guide
NOTE:
  Vue.js standard style
2017-06-17 14:05:56 +09:00
kazuya kawaguchi
82d44e8188
Merge branch 'add-app-vue' into getstorybook-support-for-vue 2017-06-16 22:48:18 +09:00
kazuya kawaguchi
9bd55bc9a4
🆙 update(cli): stories creating for vue 2017-06-16 22:47:24 +09:00
Norbert de Langen
84dca9ab16 Merge branch 'master' into add-parser-option-getstorybook 2017-06-16 14:39:53 +02: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
kazuya kawaguchi
ff5686143f
🆙 update(cli): getstorybook vue supporting 2017-06-16 03:19:56 +09:00
Augustin Le Fèvre
d3f0a9de26 Add --parser option to getstorybook 2017-06-15 15:51:09 +02:00
Michael Shilman
07db118e0a Fix typo 2017-06-15 08:04:21 +10:00