v1.0.5
pubspec_dependency_sorter
幫助將 Flutter、Dart 的 pubspec.yaml 依賴項按字母順序排序。
42喜歡 4.7萬近 30 天下載115Pub 分數
AndroidiOSmacOSWindowsLinux
此套件協助開發者將 Flutter/Dart 套件與外掛依字母順序排序,讓管理大量套件及團隊合作時更輕鬆。
^2.0.1^2.3.0{"sdk":"flutter"}^2.0.0^2.0.0{"sdk":"flutter"}以下為英文專案原文快照,最新內容請造訪 GitHub。
Package helps to sort the flutter/dart packages and plugins alphabetically, This makes it easier when managing too many packages and when working with teams
Install flutter or dart sdk then depend on the package.
dev_dependencies:
pubspec_dependency_sorter: ^1.0.4
To use the package run in your flutter/dart app root directory
dart run pubspec_dependency_sorter
if your pubspec.yam is located somewhere else use the following command by passing the path of the directory where the pubspec.yaml file is located.
dart run pubspec_dependency_sorter PATH-TO-YOUR-DIRECTORY
dependency_sorter sample output
Feel free to add features,improvemets and fix bugs then create a PR.