Skip to content

ng update does not check or update @angular-devkit packages #13581

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

Closed
rhino5oh opened this issue Feb 2, 2019 · 3 comments
Closed

ng update does not check or update @angular-devkit packages #13581

rhino5oh opened this issue Feb 2, 2019 · 3 comments

Comments

@rhino5oh
Copy link

rhino5oh commented Feb 2, 2019

I have angular CLI 7.3.0. According to the release description here, This release also involved releasing @angular-devkit/build-angular 0.13.0.

As you can see in my screenshot below, I have @angular-devkit/build-angular, @angular-devkit/architect, @angular-devkit/build-optimizer, @angular-devkit/build-webpack all at version 0.10.2.

I then do an ng update, and the CLI tells me that everything is in order. Why? Shouldn't it tell me that I need to update all of the previously mentioned packages to 0.13.0?

Or better yet, shouldn't those packages automatically update when I do an ng update @angular/cli? That is the command I did to update to CLI 7.3.0, and the @Angular-devkit packages did not update

screenshot

@ngbot ngbot bot added this to the needsTriage milestone Feb 4, 2019
@alan-agius4 alan-agius4 added type: bug/fix needs: discussion On the agenda for team meeting to determine next steps and removed type: bug/fix labels Feb 4, 2019
@mgechev mgechev removed the needs: discussion On the agenda for team meeting to determine next steps label Feb 7, 2019
@dottodot
Copy link

dottodot commented Feb 8, 2019

Even if you manually update @angular-devkit/build-angular to the lastest version ng update @angular/cli removes it and installs 0.10.0

@web-dave
Copy link

just ran into this.
I fixed it like this:

npm i @angular-devkit/[email protected] @angular-devkit/[email protected]

and all your apps "projectType": "application"
need this config: (architect.build.options)

"es5BrowserSupport": true

CLI version 7.3.4

@ngbot ngbot bot modified the milestones: needsTriage, Backlog Mar 13, 2019
hansl added a commit to hansl/angular-cli that referenced this issue Mar 19, 2019
hansl added a commit to hansl/angular-cli that referenced this issue Mar 19, 2019
This should add ng-update support to updating ALL the packages that are published from this repo.

Fixes angular#13581
hansl added a commit to hansl/angular-cli that referenced this issue Mar 19, 2019
This should add ng-update support to updating ALL the packages that are published from this repo.

Fixes angular#13581
hansl added a commit to hansl/angular-cli that referenced this issue Mar 19, 2019
This should add ng-update support to updating packages that are published from
this repo. The build script only updates package.json's ng-update
packageGroup dependencies, so these should be kept up to date in the
future (when new packages are created).

Fixes angular#13581
clydin added a commit to clydin/angular-cli that referenced this issue Apr 5, 2019
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants