-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: detect entry path and show in error messages (#461)
### Summary This adds detection of correct entry points based on the `source` field in `package.json`. Currently it's shown in the error message when the entries are incorrectly configured. In future, we may automatically update the `package.json` fields to point to the correct paths. <img width="691" alt="image" src="https://github.com/callstack/react-native-builder-bob/assets/1174278/3a122970-98bd-474e-bc23-ef93c871a7db"> <img width="656" alt="image" src="https://github.com/callstack/react-native-builder-bob/assets/1174278/5b7becc5-b19f-43a3-aebe-a2e047563c7b"> ### Test plan Tested in React Navigation monorepo.
- Loading branch information
Showing
4 changed files
with
100 additions
and
21 deletions.
There are no files selected for viewing
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