Skip to main content

pub_upgrader 2.0.5 copy "pub_upgrader: ^2.0.5" to clipboard
pub_upgrader: ^2.0.5 copied to clipboard

A command-line that upgrade all dependencies in your pubspec.yaml file to the latest version.

This package safely updates pubspec.yaml dependencies to compatible versions by taking advantage of dart pub add.

Installation #

Install it globally with Dart:

dart pub global activate pub_upgrader

Then run it from the root of your project:

pub_upgrader

How It Works #

pub_upgrader updates dependencies while trying to keep your project in a compatible state.

It:

  • uses dart pub add to resolve versions
  • respects locked package versions
  • avoids incompatible version combinations
  • handles overridden dependencies

Demo #

https://github.com/callmephil/pub_upgrader/assets/2213079/55b5aed1-d459-452a-b832-88c7075c582e

3
likes
160
points
1.2k
downloads

Documentation

API reference

Publisher

verified publisherpolarstork.com

Weekly Downloads

A command-line that upgrade all dependencies in your pubspec.yaml file to the latest version.

Repository (GitHub)
View/report issues

License

GPL-3.0 (license)

More

Packages that depend on pub_upgrader