https://github.com/sharmadhiraj/flutter-package-upgrade-assistant
Simplifying Flutter package upgrades for seamless project maintenance.
https://github.com/sharmadhiraj/flutter-package-upgrade-assistant
automation dart flutter maintenance packages script upgrade versions
Last synced: about 2 months ago
JSON representation
Simplifying Flutter package upgrades for seamless project maintenance.
- Host: GitHub
- URL: https://github.com/sharmadhiraj/flutter-package-upgrade-assistant
- Owner: sharmadhiraj
- Created: 2023-12-10T09:21:37.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-22T09:32:51.000Z (over 1 year ago)
- Last Synced: 2025-06-10T23:47:38.715Z (about 1 year ago)
- Topics: automation, dart, flutter, maintenance, packages, script, upgrade, versions
- Language: Dart
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flutter Package Upgrade Assistant
A Dart script to assist in upgrading Flutter package versions in the `pubspec.yaml` file.
#### Important Note: Flutter's Built-in Command for Upgrades
> With the release of Flutter 2.0, you can upgrade all the packages in your project to the
> latest major versions by running the following command:
>
> `flutter pub upgrade --major-versions`
>
> This built-in command performs much of the functionality that this tool was originally designed to
> do, making it easier to keep your pubspec.yaml up to date.
#### Prerequisites
Make sure you have Flutter installed.
#### Clone the Repository
`git clone https://github.com/sharmadhiraj/flutter-package-upgrade-assistant.git`
#### Running the Script
Assuming you have Flutter set up, you can run the script either by passing the pubspec.yaml file as
an argument:
`dart main.dart path/to/pubspec.yaml`
Or by executing the script from the directory where the pubspec.yaml file exists:
`dart path/to/flutter-package-upgrade-assistant/main.dart`
For more information, visit
the [GitHub repository](https://github.com/sharmadhiraj/flutter-package-upgrade-assistant).