Skip to content

Commit 30f8e58

Browse files
committed
test(macos-test-app): drop repo-root watchFolders to check if still needed
Experiment: with nodeModulesPaths in place, is the watchFolders push still required for Metro to serve the out-of-tree workspace package sources? Revert if the bundle step fails. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011PM3HdJVbivXpzc2MQJV9T
1 parent c6670bb commit 30f8e58

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎apps/test-app/metro.config.js‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,7 @@ const config = makeMetroConfig({
1212
});
1313

1414
if (config.projectRoot.endsWith("macos-test-app")) {
15-
// This patch is needed to locate packages in the monorepo from the MacOS app
16-
// which is intentionally kept outside of the workspaces configuration to prevent
17-
// duplicate react-native version and pollution of the package lock.
1815
const path = require("node:path");
19-
config.watchFolders.push(path.resolve(__dirname, "../.."));
2016

2117
// Resolve workspace packages (and the specifiers the babel plugin rewrites
2218
// their `*.node` requires to) from this app's own node_modules, independent of

0 commit comments

Comments
 (0)