Skip to content

Commit

Permalink
Merge pull request #749 from storybooks/switch-to-monorepo
Browse files Browse the repository at this point in the history
Switch to monorepo
  • Loading branch information
ndelangen authored Apr 14, 2017
2 parents d0efb70 + 2df4be7 commit 69a3b94
Show file tree
Hide file tree
Showing 603 changed files with 45,544 additions and 4,043 deletions.
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
dist
build
coverage
node_modules
27 changes: 0 additions & 27 deletions .eslintrc

This file was deleted.

28 changes: 28 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
module.exports = {
extends: [
'./node_modules/eslint-config-airbnb-base/rules/es6.js',
],
plugins: [
'prettier',
],
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module',
},
env: {
es6: true,
node: true,
},
rules: {
strict: 0,
'prettier/prettier': ['warn', {
printWidth: 100,
tabWidth: 2,
bracketSpacing: true,
trailingComma: 'all',
singleQuote: true,
}],
quotes: ['warn', 'single'],
'arrow-parens': ['warn', 'as-needed'],
},
}
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@ node_modules
.idea
npm-shrinkwrap.json
dist
.tern-port
*.DS_Store
*.lerna_backup
build
yarn.lock
2 changes: 0 additions & 2 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
docs
src
.babelrc
13 changes: 12 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
language: node_js
cache:
yarn: true
directories:
- node_modules
notifications:
email: false
node_js:
- "5"
- "node"
before_install: ./scripts/travis/before_install.sh
after_success: ./scripts/travis/after_success.sh
script: npm run lint && npm run test
git:
depth: 1
36 changes: 6 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,8 @@
# React Storybook [![Build Status](https://travis-ci.org/storybooks/react-storybook.svg?branch=master)](https://travis-ci.org/storybooks/react-storybook) [![npm version](https://badge.fury.io/js/%40kadira%2Fstorybook.svg)](https://badge.fury.io/js/%40kadira%2Fstorybook) [![Storybook Slack](https://storybooks-slackin.herokuapp.com/badge.svg)](https://storybooks-slackin.herokuapp.com/)
# storybooks mono repo

React Storybook is a UI development environment for your React components. With it, you can visualize different states of your UI components and develop them interactively.
[![Greenkeeper badge](https://badges.greenkeeper.io/storybooks/mono.svg)](https://greenkeeper.io/)
[![Build Status](https://travis-ci.org/storybooks/mono.svg?branch=master)](https://travis-ci.org/storybooks/mono)
[![CodeFactor](https://www.codefactor.io/repository/github/storybooks/mono/badge)](https://www.codefactor.io/repository/github/storybooks/mono)
[![BCH compliance](https://bettercodehub.com/edge/badge/storybooks/mono)](https://bettercodehub.com/results/storybooks/mono)

![React Storybook Screenshot](docs/demo.gif)

React Storybook runs outside of your app. So you can develop UI components in isolation without worrying about app specific dependencies and requirements.

## Getting Started

```js
npm i -g getstorybook
cd my-react-app
getstorybook
```

For more information visit: https://getstorybook.io

---

React Storybook also comes with a lot of [addons](https://getstorybook.io/docs/addons/introduction) and a great API to customize as you wish. You can also build a [static version](https://getstorybook.io/docs/basics/exporting-storybook) of your storybook and deploy it anywhere you want.

Here are some featured storybooks that you can reference to see how Storybook works:

* [Demo of React Dates](http://airbnb.io/react-dates/) - [source](https://github.com/airbnb/react-dates)
* [Demo of React Native Web](http://necolas.github.io/react-native-web/storybook/) - [source](https://github.com/necolas/react-native-web)

## Docs

* [Basics](https://getstorybook.io/docs/basics/introduction)
* [Configurations](https://getstorybook.io/docs/configurations/default-config)
* [Addons](https://getstorybook.io/docs/addons/introduction)
experiment of a mono repo
38 changes: 0 additions & 38 deletions dist/client/index.js

This file was deleted.

16 changes: 0 additions & 16 deletions dist/client/manager/index.js

This file was deleted.

80 changes: 0 additions & 80 deletions dist/client/manager/preview.js

This file was deleted.

112 changes: 0 additions & 112 deletions dist/client/manager/provider.js

This file was deleted.

Loading

0 comments on commit 69a3b94

Please sign in to comment.