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.