-
-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: generate script not found with bun and reanimated warnings on ex…
…po 52 (#651) * fix: generate script sometimes not found with bun * v8.4.3-alpha.0 * fix: reanimated warnings * v8.4.3-alpha.1 * fix: example app * fix: remove references to v6 and watcher * fix: lock
- Loading branch information
Showing
20 changed files
with
175 additions
and
795 deletions.
There are no files selected for viewing
8 changes: 5 additions & 3 deletions
8
examples/expo-example/app.config.js → examples/expo-example/app.config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
/** @type{import("expo/config").ExpoConfig} */ | ||
module.exports = { | ||
import type { ExpoConfig } from 'expo/config'; | ||
|
||
export default { | ||
name: 'Expo Example', | ||
slug: 'expo-example', | ||
web: { | ||
bundler: 'metro', | ||
}, | ||
userInterfaceStyle: 'automatic', | ||
}; | ||
newArchEnabled: true, | ||
} satisfies ExpoConfig; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"npmClient": "yarn", | ||
"registry": "https://registry.npmjs.org", | ||
"version": "8.4.2" | ||
"version": "8.4.3-alpha.1" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
3fbf0c2
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.
@dannyhw Nice, glad to have the watcher removed, it may be better to have it integrated with "metro" to rebuild the file because metro already does watching.
3fbf0c2
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.
I would recommend that you just use
app.json
for the example to keep it simpler, IDEs like VSCode and WebStorm will typecheck it already3fbf0c2
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 we don’t need the watcher because require.context already reacts to files being added and removed. The watcher has been unused since v7 basically, just cleaning up the code here. WithStorybook now handles generating imports on metro startup.