-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
Description
Are there any plans to support generating a standalone single library project without generating a app? Right now you use ng new
to create a new app and then add a library with ng g library
. Are there any plans to add a --lib
option to ng new
if you wish to have a standalone git project?
I know there are numerous workarounds such as just ignoring the empty app or sticking your shared lib in some app project but this would be useful.
edit: so I just found out ng new
really generates a workspace + a default project outside the proejcts
dir. Maybe the solution is just not generate the default project and make a lib instead if the rest of the cli thinks of things in terms of workspaces.
keatkeat87, Wykks, Airblader, aszechlicki, trojanc and 27 more