Relative Content

Tag Archive for angularnx-generator

How could I make my NX generator be run in an Angular environment using an NPX command?

So I’ve made an NX plugin, containing a generator. This generator installs a few packages and overwrites some files based on some userinput. Now the goal is to have this package be executed in just a blank Angular workspace, without needing it to be an NX workspace. An expected use would be to just use npx [package] and have it run it’s course. Problem is ofcourse that an nx generator needs nx.