feat: implement mobile reader

- implement mobile epub reader
This commit is contained in:
2026-06-20 13:33:44 -05:00
parent 84c0497f21
commit 22ded87250
41 changed files with 3184 additions and 1111 deletions
+25
View File
@@ -0,0 +1,25 @@
const { getDefaultConfig } = require("expo/metro-config");
const path = require("path");
const projectRoot = __dirname;
const monorepoRoot = path.resolve(projectRoot, "..");
/**
* Expo SDK 52+ configures Metro for Yarn/npm/pnpm workspaces automatically
* when using expo/metro-config. This file keeps an explicit monorepo root so
* @cloud-reader/shared (packages/shared) resolves reliably in dev and on EAS.
*
* If you previously added manual watchFolders/nodeModulesPaths and things
* work, prefer this minimal config. After changes: npx expo start --clear
*
* @see https://docs.expo.dev/guides/monorepos/
*/
const config = getDefaultConfig(projectRoot);
config.watchFolders = [monorepoRoot];
config.resolver.nodeModulesPaths = [
path.resolve(projectRoot, "node_modules"),
path.resolve(monorepoRoot, "node_modules"),
];
module.exports = config;