Open dgonzalezr opened 2 years ago
Hey, I experiment with installing it dynamically while the generator runs. It's not a hard dependency yet cause I don't want to pin too many Nx packages in defined versions cause that brings other kinds of chaos. ^^'
I rework some stuff around the storybook integration for v15, and I'll add this to the list for that
Describe the bug When adding the
@nxext/stencil
to a project, if the@nrwl/storybook
is not installed we're unable to use nxext/stencil generators:To Reproduce
npx create-nx-workspace@latest myorg --preset=ts
nxext/stencil
is not yet compatible with Nx v15:@nxext/stencil
:npm i -D @nxext/stencil
nx g @nxext/stencil:lib components --buildable --publishable
Expected behavior Adding the
@nxext/stencil
all dependencies needed should be added as well if they're not yet installed.