Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose internal nx dev utilities : FSTree and workspaceRootInner #16691

Closed
1 task done
IzioDev opened this issue May 2, 2023 · 2 comments
Closed
1 task done

Expose internal nx dev utilities : FSTree and workspaceRootInner #16691

IzioDev opened this issue May 2, 2023 · 2 comments

Comments

@IzioDev
Copy link

IzioDev commented May 2, 2023

Description

As a developer, using Nx, there are some edge cases (eg. serverless) that requires deep parsing. Instead of re-implementing a Tree walker that find usage of libraries from a file, I would prefer rely on internal Nx tools.
I found that using a combination of workspaceRootInner (find the root path), FSTree (build a Tree) and devkit would solve my use-case.
However, code inside of packages/nx isn't exposed to the public. It would be great to be able to rely on these utilities as it is extremely valuable.

Motivation

It would allow rely on Nx internal logics for pretty-much everything that is outside a generator.

Suggested Implementation

I am not part of the architecture team, so I might not be the best person to answer this.

Alternate Implementations

Not applicable, I think?

Copy link

github-actions bot commented Jan 9, 2024

This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs.
If we missed this issue please reply to keep it active.
Thanks for being a part of the Nx community! 🙏

Copy link

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants