-
-
Notifications
You must be signed in to change notification settings - Fork 157
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
@storybook/react-native/scripts/generate.js is breaking with latest storybook #660
Comments
If you make the file in your custom addon folder be preview.js does it work? You need either a register file or a preview file otherwise it wouldn't work even before 8.4.3 as far as i can tell |
That is also failing |
|
If you can create a reproduction then im happy to debug too |
Can you try to resolve ( |
Manually adding |
@satheshrgs-rksv you don't really need to commit the requires file though since its generated, is there a reason you would want to commit it? |
Got it, just noticed that it gets generated while doing |
Either way I will try to create an example and see if I see a similar problem, it should work for relative paths ideally. |
Hey @satheshrgs-rksv I fixed relative local addons in this version 8.4.4-alpha.0 if you could try it out that would be great 🙏 |
@dannyhw I have tested and it works, Thanks 🙏 |
fixed in 8.4.4 |
my main.ts file looks like this
After recently upgrading to latest 8.4.3 version,
./customAddon/theme
is being excluded from thestorybook.requires.ts
file. From my analysis, this is happening due to https://github.com/storybookjs/react-native/pull/612/files#diff-1582b6229d57d69f719432d26ae15f723fb028825d8a6eb465c0e2fc796c7be8R54 by @onmotion. Kindly suggest on steps to fix it. This is a local addon and i can't export itThe text was updated successfully, but these errors were encountered: