Closed ali-hk closed 6 years ago
See https://github.com/ali-hk/typescript-yarn-monorepo/tree/use-yarn-nohoist/ts-yarn-monorepo/packages/native for an example that repros the issue. Not that you'll need to change package.json to remove the TSCONFIG_PATH environment variable workaround from afcd5ef6209333d09e39379a9a217ad25a8e14c4.
HI! Thanks for this PR! This seems sensible. I'm going to test it now 👍
All good, published in 1.2.4 :tada:
Thanks again! ❤️
app-root-path relies on its own install location to determine the root of the project. however, when using yarn workspaces, this assumption is incorrect. this results in either not finding a tsconfig.json or finding a tsconfig.json that has been extended. find-root allows passing a starting location and predicate and searches recursively up.