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:
committed by
Facebook GitHub Bot
parent
a5e5ed5b7b
commit
ebfd045328
@@ -12,7 +12,7 @@ import tmp from 'tmp';
|
||||
import path from 'path';
|
||||
import fs from 'fs-extra';
|
||||
import {spawn} from 'promisify-child-process';
|
||||
import getWatchFolders from '../static/getWatchFolders';
|
||||
import {getWatchFolders} from 'flipper-pkg';
|
||||
import getAppWatchFolders from './get-app-watch-folders';
|
||||
import getPlugins from '../static/getPlugins';
|
||||
import {
|
||||
|
||||
Reference in New Issue
Block a user