How to call a nx-plugin generator from another nx-plugin generator #5125
mehrad-rafigh
started this conversation in
General
Replies: 1 comment 2 replies
-
Hi, First of all, you said:
In fact, a generator (nx devkit) does not require to be wrapped inside a Now to answer your question (assuming you want to call a real nx's generator from another one), I would say 2 things are needed to have this work:
Then in your calling generator just do: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I am trying to migrate our workspace generators to a nx-plugin. I am currently having difficulties calling my base generator. I am wrapping it inside
wrapAngularDevkitSchematic
Running my generator I get
Package "@cg/nx-extensions" was found but does not support schematics.
What is the way to call a generator from another generator?
Beta Was this translation helpful? Give feedback.
All reactions