Skip to content

Conversation

@ndelangen
Copy link
Member

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.

for testing a non-linked example based on create-react-app
Copy link
Member

@xavxyz xavxyz left a 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",
Copy link
Member

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! 💯

Copy link
Member Author

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"
Copy link
Member

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?

Copy link
Member Author

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 😞

@ndelangen ndelangen merged commit 1e840db into master Apr 27, 2017
@ndelangen ndelangen deleted the webpack-babel-fixes branch April 27, 2017 22:32
@ndelangen ndelangen added the bug label May 27, 2017
@ndelangen ndelangen changed the title FIX webpack overriding && CLEANUP && ADD example Fix webpack overriding && Add an example with local file dependencies May 27, 2017
@nx-cloud
Copy link

nx-cloud bot commented Mar 7, 2024

View your CI Pipeline Execution ↗ for commit eb2eb55.

Command Status Duration Result
nx run-many -t build --parallel=3 ✅ Succeeded 1m 25s View ↗

☁️ Nx Cloud last updated this comment at 2025-05-30 07:47:22 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants