Expose NX FsTree for file scaffolding. #29696
bridzius
started this conversation in
Feature Requests
Replies: 1 comment
-
I also would like to access Here is my use case, I'm writing an executor who's calling internally a custom generator, so I need to pass a @bridzius What do you mean about deep importing directly from |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://github.com/nrwl/nx/blob/master/packages/nx/src/generators/tree.ts and other
nx/src
utilities are very useful when writing generators/executors that make changes to the workspace.They are currently not exposed via
@nx/devkit
, but can be reached by deep importing directly fromnx/src/*
.It would be beneficial for NX to expose official "building blocks" via devkit for people to write their own utilities. A similar request has been made in #16691, but it was closed due to inactivity.
Beta Was this translation helpful? Give feedback.
All reactions