-
Notifications
You must be signed in to change notification settings - Fork 12k
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
[ng add]: support for dev dependencies #15409
Comments
This feature makes sense to me. Especially with Thanks for the PR as well! |
There are several articles out there, about how to write your own |
Hi all, this has been addressed via #15815 |
You don't need to run |
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. |
🚀 Feature request
Command (mark with an
x
)Description
For our library, we want to provide schematics for the
ng add
command. However, this automatically installs our library asdependency
. Shouldn't there be a way to install it to thedevDependencies
?We do add our library to the
devDependencies
our selves (using schematics), but that results in the following warning:Describe the solution you'd like
dev
option:ng add mylib --dev
.npmInstall()
task with an additionaldev: boolean
argument.This could be done in a backwards compatible way.
Alternative solution
ng add
perform annpm install --no-save
package.json
ourselvesThis might be breaking.
The text was updated successfully, but these errors were encountered: