Skip to content

Add the ability to skip dependencies with ng update  #18813

Closed
@pavankjadda

Description

@pavankjadda

🚀 Feature request

Command (mark with an x)

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • update
  • lint
  • xi18n
  • run
  • config
  • help
  • version
  • doc

Description

At present when I do ng update --all, the command fails when it finds incompatible dependencies(Attached image). I force update all dependencies and revert back incompatible dependencies through a shell script

Screen Shot 2020-09-17 at 4 46 35 PM

Describe the solution you'd like

Provide the ability to skip dependencies through flag like below

ng update --all --skip "zone.js"

Describe alternatives you've considered

I have a script that force updates the all dependencies and reverts incompatible dependencies

### Update all dependencies
ng update --all --force

### Install compatible zone.js version
npm i [email protected] --save

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions