-
-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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 support for [email protected] #6560
Conversation
This pull request is automatically deployed with Now. Latest deployment for this branch: https://monorepo-git-feature-support-cra-baseurl.storybook.now.sh |
0251278
to
910322f
Compare
910322f
to
c122019
Compare
Wow amazing @mrmckeb |
Codecov Report
@@ Coverage Diff @@
## next #6560 +/- ##
==========================================
+ Coverage 40.69% 40.82% +0.13%
==========================================
Files 616 616
Lines 8534 8541 +7
Branches 600 595 -5
==========================================
+ Hits 3473 3487 +14
+ Misses 4972 4962 -10
- Partials 89 92 +3
Continue to review full report at Codecov.
|
This is ready for review @ndelangen, I'd just like to hold off merging until I can test with the final release. |
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.
LGTM, thanks for taking care of this 🎖
but this changes is not working for latest CRA app:
This is my component
I got this error when I start storybook
|
@pavinthan, can you share a reproduction of this issue? I can take a look for you :) |
@pavinthan it should be fixed with #9324 |
@mrmckeb I'm really very sorry becase I did not check this, I just skiped and thanks for your actions guys 🙏 🙏 🙏 // cc @Hypnosphi |
No problem, thanks for the feedback! |
Issue: facebook/create-react-app#6656
What I did
create-react-app@3
is likely to be released next week, and adds support forbaseUrl
intsconfig.json
andjsconfig.json
files. Users will be told thatNODE_PATH
is deprecated, although it'll still work for now.We want to make sure that users that do remove
NODE_PATH
don't find that their Storybook no longer works as expected.How to test
This can be tested by installing alongside the latest
next
release with the--typescript
flag.https://www.npmjs.com/package/create-react-app/v/3.0.0-next.68
After installation, add the property
baseUrl
with the valuesrc
to the project'stsconfig.json
.