using nx with commander app #17159
coffeebe4code
started this conversation in
General
Replies: 1 comment
-
Actually i modified the serve target in project.json; for example for an integrated monorepo with a node app called cli:
For example using commander first sample without any modification in main.ts, you can call:
|
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
-
I didn't see a generator for a node cli app.
Almost all of my projects are this.
I wanted to ask the above question first, to prevent the xy problem.
But, I am to the point where it builds and packages it, and i can npm install the directory making the resulting cli-app.js file a binary. However, my other library ends up becoming a peer dependency. I would rather all my node cli apps, not have peer dependencies.
So first I ask if there is a supported way to do cli apps.
Next I ask, is how do i prevent the peer dependency issue from happening in a command line app.
after installing my cli app.
Beta Was this translation helpful? Give feedback.
All reactions