-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Add cra-kitchen-sink and crna-getstorybook #1259
Conversation
Currently knobs show up, but editing the knobs does not update the URL properly
- add centered to test-cra - add all to cra-storybook
Codecov Report
@@ Coverage Diff @@
## master #1259 +/- ##
=======================================
Coverage 13.73% 13.73%
=======================================
Files 207 207
Lines 4638 4638
Branches 513 601 +88
=======================================
Hits 637 637
+ Misses 3557 3480 -77
- Partials 444 521 +77
Continue to review full report at Codecov.
|
Both of the test issues sound like npm problems to me: https://travis-ci.org/storybooks/storybook/builds/241926871#L781:
This is typically when you have two copies of React, probably as a result of linking packages. https://travis-ci.org/storybooks/storybook/builds/241926871#L812
I think this is due to multiple copies of My feeling is the lerna approach is not working properly in terms of deduping. |
Can we just do away with the file dependencies all together then? |
I'm not sure, I think previously (npm<5) they were solving these multiple loading problems because they installed our packages "properly" into |
@shilman RN is giving me serious headaches, let's split this back up into two and fix the non-RN stuff now. |
Ok, I think I have diagnosed both problems. Ultimately (everything?) is due to the switch to npm@5 and the change to linking rather than "installing" local dependencies.
|
Starting over to focus on cra-storybook only |
Issue: #1220 #1218
What I did
Combined two broken PR's into one super-broken PR just so it's all in one place: #1219
#1224
cra-storybook
=>cra-kitchen-sink
notes
,info
,knobs
,options
,centered
addon examples tocra-kitchen-sink
.react-native-vanilla
=>react-native-getstorybook
(which used to work on my machine, but no longer does)crna-getstorybook
(which used to work on my machine, but no longer does)react-native-getstorybook
to use lerna bootstrappingHow to test
For
react-native
:react-native run-ios
For
crna
:npm run ios
What I need
test-cra
intocra-kitchen-sink
react-native