-
Notifications
You must be signed in to change notification settings - Fork 12k
Feature Request: Allow to generate libraries within a particular folder & allow to rename 'projects' folder name #11927
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Obviously this isn't ideal, but I work around this issue by simply updating the In general, I keep it at the project root for my libraries (because I generate more of those) and I temporarily change it to the project root for my apps when I need to generate a new app (and then immediately change it back to my libraries' project root). |
@thefliik I have already done it but it should not be a manual process ! That's why I've added this as a feature request. |
It's been two years and this issue remains open. I'll like to work on it as I'll find it very useful on a current project. So far I've identified the involved line:
I'm thinking on a CLI argument like |
Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends. Find more details about Angular's feature request process in our documentation. |
Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage. We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package. You can find more details about the feature request process in our documentation. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug Report or Feature Request (mark with an
x
)Command (mark with an
x
)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 calledprojects
underroot directory
and placesmylib
underprojects
Current Flow,
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,
The text was updated successfully, but these errors were encountered: