Access to the workspace Tree from processProjectGraph #8573
Closed
khalilou88
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Can we access to the
Tree
fromprocessProjectGraph
?I can use
appRootPath from '@nrwl/tao/src/utils/app-root'
to read the file I want but this is not working in e2e tests because appRootPath points to the plugin workspace and not thetmp/nx-e2e/proj
folder.I am looking for a solution that works both in e2e tests and in the target workspace.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions