angular-architects / nx-ddd-plugin

Nx plugin for structuring a monorepo with domains and layers
313 stars 56 forks source link

package.json is created for libraries that are not buildable/publishable #22

Closed rohanraj07 closed 2 years ago

pascalbe-dev commented 3 years ago

@rohanraj07 Is this still happening? I can not reproduce this behavior.

Keep in mind, that libs are buildable by default. If do not want to have them buildable, you have to override the type. e.g. like this:

ng generate @angular-architects/ddd:domain --name=booking --type=internal

dragonflypl commented 3 years ago

Can you please update documentation / readme so that it describes this type ? I also used to create libraries that are not buildable and wanted to use --buildable=false instead

pascalbe-dev commented 3 years ago

Yea, this could be documented since it behaves differently than the nrwl schematics. Still, just as a reminder, you can always check the available options via: nx g @angular-architects/ddd:ui --help or via the Nx Console (if you use it). Not sure, if it makes sense to document every single option, that can be passed to the schematic.

manfredsteyer commented 2 years ago

This is solved by version 2.0.0