viewstools / yarn-workspaces-cra-crna

How to use yarn workspaces with Create React App and Create React Native App (Expo) to share common code across
151 stars 23 forks source link

Metro breaks if non-directory exists in "packages" directory #23

Open cjol opened 6 years ago

cjol commented 6 years ago

For example, adding a tsconfig.json (as a Project Reference in Typescript 3) causes this Metro error: Root has to be a valid directory. Looks like glob isn't correctly excluding files (despite the trailing slash).