Closed
Description
Bug Report or Feature Request (mark with an x
)
- [ ] bug report -> please search issues before submitting
- [x] feature request
Command (mark with an x
)
- [ ] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [x] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc
Versions
Latest
Desired functionality
Currently It is not possible to generate a library within a specific folder with relative path.
When I run ng generate library mylib --prefix=mylib
command, it generates a folder called projects
under root directory
and places mylib
under projects
Current Flow,
|---MyFoodApplication
| |---projects
| |---mylib-1
| |---mylib-2
| |---src
Sometimes use-case can be like:
-
Create all libraries under common folder resides at (anywhere) angular project's root directory. (common is just a folder and nothing else)
-
When I want to create any library, It should create desire name of the folder (eg. companyname-libraries) which must contain all generated library.
So, the final output should be like below,
|---MyFoodApplication
| |---common
| |---companyname-libraries
| |---mylib-1
| |---mylib-2
| |---src