Skip to content

Bring back ng update --all (includes: workaround with jq) #23261

Closed as not planned
@SamuelMarks

Description

@SamuelMarks

🚀 Feature request

Command (mark with an x)

  • update

Description

$ ng update --all

        '--all' functionality has been removed as updating multiple packages at once is not recommended.
        To update packages which don’t provide 'ng update' capabilities in your workspace 'package.json' use 'npm update' instead.
        Run the package manager update command after updating packages which provide 'ng update' capabilities.

Describe the solution you'd like

Bring back --all… maybe with a -f/--force so the warning can remain.

Describe alternatives you've considered

ng update --force $(jq -r '.dependencies * .devDependencies | keys | map(select(startswith("@angular"))) | @tsv' package.json)

(then run: ncu -ux '/typescript|rxjs/')

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions