-
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
Include @angular/pwa in ng update #15764
Comments
Strictly speaking |
Interesting. I didn't know that. Thank you. |
…e saved as `dependencies` With this change the CLI offers a way for a package authors to specify if during `ng add` the package should be saved as a `dependencies`, `devDependencies` or not saved at all. Such config needs to be specified in `package.json` Example: ```json "ng-add": { "save": false } ``` Possible values are; - false - Don't add the package to `package.json` - true - Add the package to the `dependencies` - `dependencies` - Add the package to the `dependencies` - `devDependencies` - Add the package to the `devDependencies` Closes #12003 , closes #15764 and closes #13237
`@angular/pwa` is not needed as a dependency. This is because the pwa package is a schematic and is only used once when adding pwa capabilities to your application. After that, this package is not used anymore. Closes #15764
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
Update @angular/pwa via
ng update
Describe the solution you'd like
Hi. Since @angular/pwa is updated frequently alongside @angular/cli, it would be very useful to update both packages via
ng update
, which also increments consistency with another packages behavior. Thanks.Describe alternatives you've considered
Alternative is to update @angular/cli and then run
npm update
for @angular/pwaThe text was updated successfully, but these errors were encountered: