233 Commits

Author SHA1 Message Date
Tom Coleman
e894c33056 Don't try to access the devtools hook if we are cross-origin
This throws an exception and kills storybook in non-standard cases (like Chromatic's live mode). cc @ndelangen -- I think you saw this.
2018-04-26 12:09:07 +10:00
Baldvin Mar Smarason
fc74d39eb4 Suppress verbose build output 2018-04-25 10:24:02 -07:00
Hypnosphi
c64125f81a Extract preview html template to core (React) 2018-04-19 03:00:48 +03:00
Hypnosphi
aca74d1536 Extract preview html template to core 2018-04-18 03:04:28 +03:00
Hypnosphi
38966ff52d Extract manager html template to core 2018-04-16 02:20:59 +03:00
Igor
211a083b3d
Merge branch 'master' into move-server-config-to-core 2018-04-03 14:49:53 +03:00
igor-dv
4f2008172c Remove "LinkTo" from the react/demo/Welcome.js 2018-04-03 13:44:27 +03:00
igor-dv
1cb7f58995 Remove more redundant things 2018-04-03 11:02:48 +03:00
Hypnosphi
b9d9df8e14 Merge remote-tracking branch 'origin/master' into split-chunks
# Conflicts:
#	app/angular/src/server/config/webpack.config.prod.js
#	app/mithril/src/server/config/webpack.config.prod.js
#	app/polymer/src/server/config/webpack.config.prod.js
#	app/react/src/server/config/webpack.config.prod.js
#	app/vue/src/server/config/webpack.config.prod.js
2018-04-03 01:47:25 +03:00
igor-dv
a1a91dd4b2 Merge remote-tracking branch 'origin/master' into move-server-config-to-core
# Conflicts:
#	addons/storyshots/package.json
#	lib/core/package.json
2018-04-02 18:02:33 +03:00
Filipp Riabchun
a81564dbeb
Merge branch 'master' into no-unsafe-methods 2018-04-02 15:08:03 +03:00
Hypnosphi
31dd196f74 Fix HtmlWebpackPlugin error 2018-04-01 01:47:12 +03:00
Hypnosphi
cdb7cab87b Stop using deprecated React methods 2018-03-30 20:28:20 +03:00
Hypnosphi
032e8c0800 Split vendor and runtime chunk in static builds 2018-03-29 23:37:28 +03:00
Hypnosphi
bbc0c0c30e Use published fork of react-dev-utils 2018-03-29 16:51:34 +03:00
Daniel Duan
5a888157be
Merge branch 'master' into move-server-config-to-core 2018-03-26 18:28:11 -04:00
Igor
f217b9befd
Merge branch 'master' into move-server-config-to-core 2018-03-25 12:07:53 +03:00
Hypnosphi
6f31eb415e Revert named imports order change 2018-03-23 12:11:15 +03:00
Hypnosphi
9be830c69b Merge remote-tracking branch 'origin/master' into webpack-4
# Conflicts:
#	app/polymer/package.json
#	app/react/package.json
#	app/vue/package.json
#	lib/core/package.json
#	lib/core/src/server/config/defaults/webpack.config.js
#	yarn.lock
2018-03-23 12:10:42 +03:00
igor-dv
6125b1925b Move server/config to core 2018-03-22 17:48:15 +02:00
Tom Coleman
c1e359dedd Refactor all startup code into @storybook/core also 2018-03-22 21:16:27 +11:00
Hypnosphi
dff3cd6eae Use a temporary fork of react-dev-utils 2018-03-21 00:57:43 +03:00
Norbert de Langen
233306851e
Merge branch 'master' into webpack-4 2018-03-20 17:09:56 +01:00
Filipp Riabchun
5a81b746f0
Merge branch 'master' into tmeasday/add-options-to-story-store 2018-03-20 14:50:11 +03:00
Tom Coleman
7324d17156 Bind window access if window is defined; add addons channel access too 2018-03-20 13:17:43 +11:00
Hypnosphi
19bf35f0e8 Revert "Use optimization.splitChunks & optimization.runtimeChunks to split vendor, webpack runtime, and user code chunks"
This reverts commit ea61da5
2018-03-09 23:18:00 +02:00
Hypnosphi
ea61da50c4 Use optimization.splitChunks & optimization.runtimeChunks to split vendor, webpack runtime, and user code chunks 2018-03-09 23:09:01 +02:00
Hypnosphi
120a273147 Migrate all apps to Webpack 4 2018-03-05 02:06:58 +03:00
Hypnosphi
276c56ff41 Use WatchMissingNodeModulesPlugin from react-dev-utils package 2018-03-04 14:29:43 +03:00
Hypnosphi
262ff53ecb Initial move to Webpack 4 2018-03-04 12:55:08 +03:00
Tom Coleman
6c68af02c5 Renamed options -> parameters 2018-03-01 15:23:33 +11:00
Tom Coleman
e0fd41fa00 Added global addOptions and chapter.addOptions 2018-03-01 14:11:51 +11:00
Tom Coleman
c10b3b5b53 Fix issue with incorrect context 2018-03-01 14:10:47 +11:00
Tom Coleman
9bd9463b99 Add options to stories in the story store, and render them in app layers 2018-03-01 14:10:46 +11:00
Hypnosphi
def1e04dbb Cleanup dependencies 2018-02-25 03:53:03 +03:00
Daniel Duan
b2c11f29c3 add lang attribute for frame 2018-02-23 14:50:19 -05:00
Tom Coleman
a72d1d809a Added __STORYBOOK_CLIENT_API so external tools can access the storybook 2018-02-23 12:00:38 +11:00
Hypnosphi
1a550e912b Include more paths into linting 2018-02-17 23:32:26 +03:00
Hypnosphi
398ff2639e eslint: remove unused disable directives 2018-02-17 20:35:37 +03:00
Hypnosphi
50591f5758 Fix React-Native by moving managerPath export to server.js 2018-02-08 23:27:42 +03:00
igor
7af0e56266 Move WatchMissingNodeModulesPlugin to core 2018-02-07 17:35:36 +02:00
igor
2dd0f214d6 Move build.js and index.js to core as build-dev.js and build-static.js 2018-02-07 15:47:37 +02:00
Igor
b01e3cb10d
Merge branch 'master' into build-storybook-watch-mode 2018-01-31 09:35:58 +02:00
Xiangyun Chi
a8823e2e4c add watch mode for build-storybook 2018-01-29 16:50:21 +00:00
Norbert de Langen
243366c168
Merge branch 'master' into ndelangen/add-dirname 2018-01-26 12:38:58 +01:00
Hypnosphi
bdb1d2a397 Improve dotenv file support 2018-01-24 00:41:29 +03:00
Norbert de Langen
88de0a5eab
Merge branch 'master' into ndelangen/add-dirname 2018-01-22 19:57:15 +01:00
Norbert de Langen
f48dfff8f7
REFACTOR to use babel-macro instead of webpack __dirname injection
This is more reliable and powerful
2018-01-22 19:46:46 +01:00
Hypnosphi
3116a1da0a Pass default webpack config as third argument in Full Control Mode 2018-01-21 17:10:00 +03:00
Norbert de Langen
f7f4194e3e
Merge branch 'master' into move-more-things-to-core 2018-01-20 10:38:10 +01:00