59 Commits

Author SHA1 Message Date
Filipp Riabchun
f152c0dcb6 Merge branch 'master' into ndelangen/upgrade-react 2017-09-30 06:21:30 -07:00
Norbert de Langen
02c6198a8b UPGRADE react & friends && UPGRADE other dependencies 2017-09-29 23:36:38 +02:00
hypnos
2f53feb64a Use yarn workspaces on master 2017-09-29 23:00:47 +03:00
hypnos
bf830237d2 Fix master detection 2017-09-24 13:56:27 +03:00
hypnos
74c324df80 Add prompt in default mode 2017-09-24 13:55:40 +03:00
Norbert de Langen
c73265b0c5
ADD branches cleanup script 2017-09-24 10:29:33 +02:00
Norbert de Langen
6e1ddabb56 REMOVE the say command after bootstrapping 2017-09-06 18:02:28 +02:00
Norbert de Langen
a3abd052a8 FIX failing scripts exiting with 0 2017-09-06 17:47:21 +02:00
Norbert de Langen
d0b752d8d3 FIX linting after prettier upgrade 2017-09-06 00:54:12 +02:00
Norbert de Langen
55a2b9a0df IMPROVE confirm message 2017-08-23 23:16:40 +02:00
Norbert de Langen
30e7c3779b ADD a confirmation step when doing the reset task, it will NOT ask when --reset is set 2017-08-23 21:16:08 +02:00
Norbert de Langen
f84623d86b ADD .vscode and .idea to gitignore, but whitelist them from being removed with git clean 2017-08-23 20:08:16 +02:00
Norbert de Langen
1843196549 ADD crna-kitchen-sink bootstrap command 2017-08-23 08:30:15 +02:00
Norbert de Langen
879928d9af Merge branch 'master' into improve-bootstrap-command
# Conflicts:
#	.circleci/config.yml
2017-08-23 08:25:07 +02:00
Norbert de Langen
de7777e16c SWITCH to normal node for bootstrap script && CHANGE circleCI to use new bootstrap script 2017-08-21 01:03:34 +02:00
Norbert de Langen
c85776a605 WIP 2017-08-20 23:48:27 +02:00
Norbert de Langen
02e0950968 ADD build-packs 2017-08-19 22:31:09 +02:00
Norbert de Langen
31f83aa7c4 Merge branch 'master' into improve-bootstrap-command 2017-07-26 14:04:51 +02:00
Norbert de Langen
995266780d FIX hoist-internals: remove existing folder/link before linking 2017-07-25 10:18:26 +02:00
Michael Shilman
63fe6e9fa3 Don't hoist private packages 2017-07-24 14:58:17 -07:00
Norbert de Langen
9fafeab4cb CHANGE hoist-internals script to be less verbose 2017-07-23 21:49:14 +02:00
Norbert de Langen
4f4b9e4a8b set as default bootstrap command && add core as default 2017-07-23 21:41:25 +02:00
Norbert de Langen
27edf5efa1 Merge branch 'master' into improve-bootstrap-command 2017-07-23 12:30:25 +02:00
Norbert de Langen
273d6f78a9 Improved colourmap visibility 2017-07-21 10:48:12 +02:00
Norbert de Langen
dab697bfd6 ADD storybook logo for inside terminal for future CLI or easteregg 2017-07-21 07:54:46 +02:00
Norbert de Langen
3be8c8d561 CLEANUP && improve hoist internals script 2017-07-19 23:26:21 +02:00
Norbert de Langen
299a53ac72 SWITCH to circleci over travisCI && CHANGE lerna bootstrap procedure:
- Use yarn for installation
- Hoist all dependencies to root
- Hoist known packages to root

- Test storyshots in cra-kitchen-sink
2017-07-19 08:01:50 +02: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
Norbert de Langen
369ac5580e ADD a CLI for bootstrapping 2017-06-08 09:24:12 +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
bd016f236a ADD docs scripts 2017-05-26 14:02:54 +02:00
Norbert de Langen
2bcaae9d81 FIX linting 2017-05-18 09:14:29 +02:00
Norbert de Langen
51ad5d5e8d Single source of truth for LICENCE for all packages 2017-05-16 08:16:22 +02:00
Darek Rossman
2ac8cf3077 Do not ignore story.js in prepublish
This is causing an issue with addons-info as it ends up ignoring `Story.js` during compilation. Seems there are case-similar files in other addon packages called `story.js` that were supposed to be ignored from output... However, this seems like the quickest fix that doesn't really have an impact on other packages.
2017-04-28 08:58:01 -04:00
Norbert de Langen
3f86f6cc59 FIX republish script so it exits with !0 if babel fails 2017-04-27 23:59:23 +02:00
Norbert de Langen
7ccb773e72 FIX an issue where a test in a package was using async-await
but was not transpiring them correctly.

MOVE jest cache directory to subdirectory `.cache`
2017-04-27 22:33:36 +02:00
Norbert de Langen
e50dbd1cdf FIX webpack overriding && CLEANUP && ADD example
for testing a non-linked example based on create-react-app
2017-04-27 21:08:13 +02:00
UsulPro
4845e21a73 Update --ignore flag in prepublish script
stories -> stories/ to ignore only folders
added test.js
2017-04-24 19:04:42 +07:00
UsulPro
df4117fb7b Add --copy-files flag 2017-04-24 17:33:46 +07:00
UsulPro
2965d6d78b Switch to the only prepublish.js script
use ./scripts/prepublish.js as a prepublish script for all packages
2017-04-24 17:33:46 +07:00
Norbert de Langen
33ba266ece ADD travis 2017-03-30 00:00:55 +02:00
Norbert de Langen
ac9948dc48 ADD & MOVE react-storybook 2017-03-29 18:08:26 +02:00
Muhammed Thanish
add2e2ae2d Serve the storybook favicon 2016-09-21 15:59:31 +05:30
Arunoda Susiripala
bb426b899d Update defaults to match create-react-app (#342)
* Match default setup same as create-react-app.

* Stop pre-building the manager
This allow us to customize the manager dynamically.

* Update manager for the production build.

* Remove building source-maps.

* Fix lint issues.

* Improve static file handling.

* Update dev docs.

* Use dist directory for the manager's source.

* Add support for stage-0.

* Replace raw loader with the css loader in production CSS handling.

* Remove specific babel plugins since we support stage-0.
2016-08-01 15:30:21 +05:30
Muhammed Thanish
8f91067549 Fix prepublish script 2016-07-18 14:03:59 +05:30
Aruna Herath
8e0458961a Wrote prepublish in javascript
This allows storybook to be built in windows too.
2016-07-13 17:18:27 +05:30
TigerC10
d21dad1252 Switching to stage-0 support 2016-06-03 12:23:24 -05:00
Arunoda Susiripala
49335e7ec3 Update scripts to make them compatible with linux. 2016-05-11 04:16:29 +05:30
Arunoda Susiripala
279ede38fa Optimize production build compute time.
We simply avoid building the manager code in the production build
Uglifying, already uglified code takes a lot of time.
We we avoid that by simply copying the manager code comes with
React Storybook to the build output directly bypassing webpack.
2016-05-06 17:14:05 +05:30
Arunoda Susiripala
738d65dfd4 Optimize the final build. 2016-05-05 14:44:48 +05:30