Background fixes & improvements
Run Tests on Branches / Detect Changes (push) Successful in 14s
Run Tests on Branches / Backend Tests (push) Has been skipped
Run Tests on Branches / Frontend Tests (push) Has been skipped
Run Tests on Branches / Frontend Mobile Tests (push) Successful in 1m52s

This commit is contained in:
Ichitux
2026-07-14 19:52:55 +02:00
parent 58c1fb5bb6
commit ff387e3d20
7 changed files with 45 additions and 6 deletions
+21
View File
@@ -0,0 +1,21 @@
const { getDefaultConfig } = require("expo/metro-config");
const path = require("path");
const projectRoot = __dirname;
const monorepoRoot = path.resolve(projectRoot, "../..");
const config = getDefaultConfig(projectRoot);
// Watch the monorepo root so Metro sees all workspace packages
config.watchFolders = [monorepoRoot];
// Resolve modules from both the workspace and root node_modules
config.resolver.nodeModulesPaths = [
path.resolve(projectRoot, "node_modules"),
path.resolve(monorepoRoot, "node_modules"),
];
// Ensure symlinks are followed (npm workspaces use symlinks)
config.resolver.unstable_enableSymlinks = true;
module.exports = config;