I m starting to build my…

less than 1 minute read

I’m starting to build my first Nx plugin. I’d like to start using it within my current workspace while I’m building it. Is there a way to do that, without publishing it (publicly) to npm? The docs jump straight to publishing it, with no mention of using it locally first. I’m not confident enough to publish it right out of the gate.

Responses:

You can start off with a workspace schematic and then move it to a nx plugin. Other wise, you can build the plugin and then do nx g ./dist/libs/myplugin:schematic [options]

If you use builders you’ll have to point them to the dist as well

Updated: