-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch to monorepo #749
Switch to monorepo #749
Changes from 250 commits
8451839
36f1041
e60ad36
a58fe9a
fba1264
853c4a0
00d60e5
48a10f4
6dd68a5
02eb940
7ecfff2
eb04f27
9ea3da1
41275c4
c8d527c
eefcd1e
3e99b38
fded1e3
59d0c54
f9618ba
aa39dc8
7e6f9f8
1a8e17f
d6ffe39
701fccb
7325c02
66fff66
d36054d
c0048ea
c71b0ed
b233e74
c158ae6
1a1227a
bc5e9cb
3366612
335af94
9e911ae
30ec048
dedf427
7076048
92e1df6
ec978ff
3efe69e
7b1372c
7cbb751
f2777d5
eb7edf8
651c9fa
c251480
8553988
7dba8db
cb6bf15
3192df9
01419da
3a9243f
4c7e7ad
6bcdfa3
c9a1ff4
b331a58
2df1568
ed018ca
3e8b004
f2b46bf
2ef2b88
e6bcc01
0f78800
358a22c
838df41
350fb85
c8582d8
0a2991e
bb8d676
708003b
582e865
c9fae57
deca5b5
3d7183c
03a5cd3
c4e73fd
a7a8521
db6fd64
9771120
7d742a3
e262686
a988579
9abfd6e
8abe594
bf06803
0736b07
f3db8c4
fda42d2
8a15996
97244a1
2236103
cb39e55
8354687
084d3ec
20eab47
9509a03
231e99e
bdb32e5
ccaafdf
25d2b01
f6221a8
5d5a3ce
b0275d5
57e56b3
f2fc4cd
ac9948d
f6d5c1f
7ad5ef1
e50269f
488c19b
1adc85a
33ba266
72a6af5
cbda34e
06fe5d7
6acba30
b3610d7
0ac020a
9618dce
c7636e8
cb49002
4ede743
11a47ce
e805b5f
dc8daec
66d7c93
5a203d3
8d5f6f6
3ab80bf
21c6efb
ce59c07
b1fab6b
ddd3b4e
3006ffc
b971846
557fbfa
7f4f170
f7fa07f
3e38843
ff5d73d
7d3daa6
2978279
3afde60
0cc00c8
dee595e
0a406f1
531d3ea
fb33dc9
06b0e90
76b407c
3dbf9e5
d2b6e26
013b0dc
c14a6fa
03c28f7
44502b9
e34a611
6600a48
e01f169
07191fd
61a77f5
23dbb24
1810a4c
3e4f7bc
f328a05
fc7e09b
9fbff56
e1c560b
f225cd0
8a87d44
b1147b7
145ff3d
471a8bb
1d5c310
7acc90a
346e767
5230fc6
d39a201
5751cfa
ec5a1f4
2d052b1
f6570ee
bc60796
2fe40bb
e6f53e9
7e0ced9
92b706d
226ae32
88d5be6
bb87ee9
3c4dc9a
ea74f8c
77e945d
8feb457
142b521
a3a0202
3e60b84
19963e1
65f8650
6ae05a5
00cef8c
9df71e0
ba97f0c
6dfb3e3
24c3ebc
a6ceaa2
f51cb7b
46df608
8ca9ed6
b5939cc
f15511d
3058c9d
544f909
962637c
91ddc15
687e21c
d702ed0
d9fee04
821a1ba
37f49b4
52c82f0
0106ba7
2b9bef0
dcfe159
d025d1c
139c709
7f2682b
b8fd38d
531d2e5
a7ef8d5
d284697
d07f57c
10d929d
1e643a9
959e96e
041b0b7
e363a8e
cd90206
513f337
b43dd06
6157617
47777c5
42b8eb3
14837bc
f9e9cbf
acc053d
2df4be7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
dist | ||
build | ||
coverage | ||
node_modules |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,29 @@ | ||
{ | ||
"extends": "airbnb", | ||
"rules": { | ||
# We use _ to define private variables and methods in clases | ||
"no-underscore-dangle": 0, | ||
# This seems to be buggy we don't want eslint to check this | ||
"import/no-extraneous-dependencies": 0, | ||
# This is a depricated rule. So we turned off it. | ||
"react/require-extension": 0, | ||
# We can write JSX in anyfile we want. | ||
"react/jsx-filename-extension": 0, | ||
# We don't like this rule. | ||
"arrow-body-style": 0, | ||
# We don't like this rule. We write arrow functions only when we needed. | ||
"prefer-arrow-callback": 0, | ||
# We don't need to write function names always. | ||
"func-names": 0, | ||
# propTypes can be object | ||
"react/forbid-prop-types": 0, | ||
}, | ||
"extends": [ | ||
"./node_modules/eslint-config-airbnb-base/rules/es6.js" | ||
], | ||
"plugins": [ | ||
"prettier" | ||
], | ||
"parser": "babel-eslint", | ||
"parserOptions": { | ||
"ecmaVersion": 6, | ||
"ecmaFeatures": { | ||
"experimentalObjectRestSpread": true | ||
} | ||
"sourceType": "module" | ||
}, | ||
"env": { | ||
"es6": true, | ||
"node": true | ||
}, | ||
"rules": { | ||
"strict": 0, | ||
"prettier/prettier": ["warn", { | ||
"printWidth": 100, | ||
"tabWidth": 2, | ||
"bracketSpacing": true, | ||
# "trailingComma": "es5", | ||
"singleQuote": true | ||
}], | ||
"quotes": ["warn", "single"], | ||
"arrow-parens": ["warn", "as-needed"] | ||
# "comma-dangle": ["warn", "always"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we want to remove this line? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,7 @@ node_modules | |
.idea | ||
npm-shrinkwrap.json | ||
dist | ||
.tern-port | ||
*.DS_Store | ||
*.lerna_backup | ||
build |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
docs | ||
src | ||
.babelrc |
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 |
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 |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to decide on this comma rule? I vote for
all
as a valueThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done