-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Fix webpack overriding && Add an example with local file dependencies #965
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
Conversation
for testing a non-linked example based on create-react-app
xavxyz
left a comment
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.
🎉 🎉
| "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`
|
View your CI Pipeline Execution ↗ for commit eb2eb55.
☁️ Nx Cloud last updated this comment at |
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 installcd examples/test-cranpm run storybookThis should result in a successful storybook being launched, and no messages in the terminal about presets not being loaded.