Fix symlinks resolution for plugin dependencies

Summary: Moved getWatchFolders script to flipper-pkg and used it from other packages. Script helps to resolve all the folders with package dependencies including symlinked folders in case if plugin is a part of yarn workspaces.

Reviewed By: mweststrate

Differential Revision: D21068373

fbshipit-source-id: 8691837fdb1aef333dab4c13d8758262838d36ee
This commit is contained in:
Anton Nikolaev
2020-04-17 05:15:55 -07:00
committed by Facebook GitHub Bot
parent a5e5ed5b7b
commit ebfd045328
12 changed files with 51 additions and 40 deletions

View File

@@ -10,3 +10,4 @@
export {run} from '@oclif/command';
export const PKG = 'flipper-pkg';
export {default as runBuild} from './utils/runBuild';
export {default as getWatchFolders} from './utils/getWatchFolders';