react-native-monorepo-tools
react-native-monorepo-tools copied to clipboard
object: extraNodeModules and array: blockList are empty
const monorepoMetroTools = getMetroTools();
When logging monorepoMetroTools, i get this:
extraNodeModules: {}, blockList: [], watchFolders: [ '/Users/oskar/Desktop/projects/app-helsingborg-guide/node_modules', '/Users/oskar/Desktop/projects/app-helsingborg-guide/cities/Helsingborg', '/Users/oskar/Desktop/projects/app-helsingborg-guide/cities/Lund', '/Users/oskar/Desktop/projects/app-helsingborg-guide/guide-app' ]
how do i get the extraNodeModules and blockList? i have tried providing current working dir with
getMetroTools( {cwd:
${[path.resolve(__dirname, "../..")][0]}})
to try to point to root dir instead, but im not sure this is correct way to do it.
Any assistance would be appreciated, thanks.
Same problem. Has someone solved this?