-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* lerna v49 * Upgrade package versions * Fix webview type issue * Add self published `@youssefhenna/react-native-reanimated2` for BottomSheet component * Fix type issue with Image component * Fix type issue with ProgressBar component * Fix some tests * Fixed maps broken tests * Fix final test * Use v2 of reanimated everywhere + update navigation * Replace BottomSheet with `@gorhom/bottom-sheet` * Reupgrade `react-native-reanimated` * Mapped snap points for usage with `@gorhom/bottom-sheet` * Fix deprecations in example app * Move away from `expo-yarn-workspaces` * Prepare ci to work on '49' branch * Packages to v49 * Upgrade jest-expo + fix tests * Add comment
- Loading branch information
1 parent
a5b3462
commit b07029d
Showing
23 changed files
with
1,206 additions
and
5,254 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import "react-native-get-random-values"; | ||
import { registerRootComponent } from "expo"; | ||
import App from "./src/App"; | ||
|
||
registerRootComponent(App); |
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,3 +1,23 @@ | ||
const { createMetroConfiguration } = require("expo-yarn-workspaces"); | ||
const { getDefaultConfig } = require("expo/metro-config"); | ||
const path = require("path"); | ||
|
||
module.exports = createMetroConfiguration(__dirname); | ||
// Follows https://docs.expo.dev/guides/monorepos/ | ||
|
||
// Find the project and workspace directories | ||
const projectRoot = __dirname; | ||
// This can be replaced with `find-yarn-workspace-root` | ||
const workspaceRoot = path.resolve(projectRoot, ".."); | ||
|
||
const config = getDefaultConfig(projectRoot); | ||
|
||
// 1. Watch all files within the monorepo | ||
config.watchFolders = [workspaceRoot]; | ||
// 2. Let Metro know where to resolve packages and in what order | ||
config.resolver.nodeModulesPaths = [ | ||
path.resolve(projectRoot, "node_modules"), | ||
path.resolve(workspaceRoot, "node_modules"), | ||
]; | ||
// 3. Force Metro to resolve (sub)dependencies only from the `nodeModulesPaths` | ||
config.resolver.disableHierarchicalLookup = true; | ||
|
||
module.exports = config; |
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
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
Oops, something went wrong.