DEV Community

Cover image for Developing a Node CLI App in an NX monorepo

Developing a Node CLI App in an NX monorepo

Dániel Gál on March 10, 2024

Bare bones setup. Using NX version 17. Create the app npx nx g @nx/node:app --name cli --directory packages/cli --framework none --e...
Collapse
 
fyodorio profile image
Fyodor

That's all good but I'm genuinely curious: why would anyone do that? (I mean increasing setup complexity for a CLI project)

Collapse
 
ckot profile image
Scott Silliman

I don't think the point is to simply create a cli project. I think it's about adding a node cli project to an existing nx workspace, as is what I'm trying to do.