Skip to content
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: generate script not found with bun and reanimated warnings on expo 52 #651

Draft
wants to merge 5 commits into
base: next
Choose a base branch
from

Conversation

dannyhw
Copy link
Member

@dannyhw dannyhw commented Nov 13, 2024

Issue:

What I did

How to test

Please explain how to test your changes and consider the following questions

  • Does this need a new example in examples/expo-example?
  • Does this need an update to the documentation?

If your answer is yes to any of these, please make sure to include it in your PR.

@dannyhw dannyhw changed the title fix: generate script sometimes not found with bun fix: generate script not found with bun and reanimated warnings on expo 52 Nov 13, 2024
@@ -50,7 +50,7 @@ export const MobileAddonsPanel = forwardRef<MobileAddonsPanelRef, { storyId?: st
return {
maxHeight: height - animatedPosition.value - insets.bottom,
};
}, [animatedPosition.value, height, insets.bottom]);
}, [animatedPosition, height, insets.bottom]);
Copy link
Member Author

@dannyhw dannyhw Nov 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the fix for reanimated warnings

@@ -25,7 +25,8 @@
"exports": {
".": "./dist/index.js",
"./metro/withStorybook": "./dist/metro/withStorybook.js",
"./preview": "./dist/preview.js"
"./preview": "./dist/preview.js",
"./scripts/generate": "./scripts/generate.js"
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 the not found fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant