-
-
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
React native - Use Core #4942
React native - Use Core #4942
Conversation
…anager-preset in rn
Codecov Report
@@ Coverage Diff @@
## next #4942 +/- ##
=========================================
+ Coverage 37.1% 37.64% +0.54%
=========================================
Files 648 642 -6
Lines 9524 9387 -137
Branches 1381 1334 -47
=========================================
Hits 3534 3534
+ Misses 5411 5293 -118
+ Partials 579 560 -19
Continue to review full report at Codecov.
|
Currently, when running an app with expo I am getting the babe6/babel7 mismatch... |
upgrading to sdk31 looks solving the babel issue, but there is something new now =/ |
…o solve 'schedule/tracking' issue
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.
So happy this is almost mergeable. Some minor nitpicks above, but otherwise it looks great to me.
@@ -22,6 +22,7 @@ if (process.argv[1].includes('getstorybook')) { | |||
.option('-N --use-npm', 'Use npm to install deps') | |||
.option('-p --parser <babel | babylon | flow>', 'jscodeshift parser') | |||
.option('-t --type <type>', 'Add Storybook for a specific project type') | |||
.option('-y --yes', 'Answer yes to all prompts') |
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.
Should this be a separate PR?
# Conflicts: # addons/ondevice-knobs/package.json # app/react-native/package.json
# Conflicts: # addons/ondevice-knobs/package.json # app/react-native/package.json
…ve as dependency to RN projects (always)
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.
Awesome!!!
Oops I am late. Yay !! Great Success 💥 |
🎉 |
Issue: #4879 #4011 #4852 #4332 #5249 #5309
RN was a bit behind for a long time with all the new features we did. In order to support all of the good things, we should reuse as much as possible from the core. Now when the manager and preview are separated it's much easier to do.
@Gongreg, we can maybe continue the #4752 here or create a new branch from this one.
Issues we can also finish for the breaking v5 release:
What I did
moved
src/manager
andsrc/preview
tosrc/client/*
so it will be similar to other appsdeleted all the webpack/babel/config related code from rn/server and replaced it with the
dev-server
from corechangeddev-server
to be able to run the webpack only for managerused
standalone
api to build storybook in a dev moderemoved
--secured
param (-s
) and used--https
like in other appsremoved build command (it was not doing anything).
TBD:
environment
parameter