Hello is there a shorte…
Hello! is there a shorter way to execute a workspace-schematic?
// instead of
nx workspace-schematic mySchematic
//something like
nx ws mySchematic
Or to have an alias for a custom schematic? Like NX has for react components or libraries by default.
I could easily create npm script though, but would that be the way to go?
Responses:
npm script is good in my opinion, you can make it generic too
"scripts": {
"exec": "nx workspace-schematic"
}
npm run exec mySchematic