You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to create a new project/workspace with a predefined structure for applications and libraries using the cli.
Repro steps
currently I have to
ng new projectname
project directory gets created with the default application project
I use ng g application another-app and ng g library my-lib to create my apps and libs
I delete the default app from file system and remove it from angular.json
Desired functionality
I want to use ng init in order to
if no package.json is present in working dir, create the same package.json as ng new does. If package.json is already present, just extend it with angular (dev)dependencies
create a blankangular.json inside working dir with no projects define
I can now start using ng g application another-app and ng g library my-lib to create my apps and libs
(I do not have to delete any default projects from file system and angular.json)
The text was updated successfully, but these errors were encountered:
Bug Report or Feature Request (mark with an
x
)Command (mark with an
x
)I want to create a new project/workspace with a predefined structure for applications and libraries using the cli.
Repro steps
currently I have to
ng new projectname
ng g application another-app
andng g library my-lib
to create my apps and libsangular.json
Desired functionality
I want to use
ng init
in order topackage.json
is present in working dir, create the samepackage.json
asng new
does. Ifpackage.json
is already present, just extend it with angular (dev)dependenciesangular.json
inside working dir with no projects defineng g application another-app
andng g library my-lib
to create my apps and libsThe text was updated successfully, but these errors were encountered: