-
-
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
Fix webpack overriding && Add an example with local file dependencies #965
Conversation
for testing a non-linked example based on create-react-app
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.
🎉 🎉
examples/test-cra/package.json
Outdated
"version": "0.1.0", | ||
"private": true, | ||
"devDependencies": { | ||
"@kadira/storybook": "file:../../packages/react-storybook", |
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 cool to have direct dependencies on the file system! 💯
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.
This is to be able to do an actual npm install without linking via lerna.
So when everything is installed flat things should work as expected.
}, | ||
"dependencies": { | ||
"react": "^15.4.2", | ||
"react-dom": "^15.4.2" |
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 we be on ^15.5.4
as the latest version published?
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.
Yeah for some reason npm-check-updates
is no longer helping me with this 😞
but was not transpiring them correctly. MOVE jest cache directory to subdirectory `.cache`
☁️ Nx Cloud ReportCI is running/has finished running commands for commit eb2eb55. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 1 targetSent with 💌 from NxCloud. |
Issue: -can't find it-
What I did
Fixed a few prepublish stuff
Fixed the babelconfig so it loads presets from included 'node_modules'
How to test
npm install
cd examples/test-cra
npm run storybook
This should result in a successful storybook being launched, and no messages in the terminal about presets not being loaded.