pubspec_dependency_sorter
Flutter, Dart pubspec.yaml 종속성을 알파벳 순서로 정렬하는 데 도움을 줍니다.
이 패키지는 개발자가 플러터/다트 패키지와 플러그인을 알파벳 순서로 정렬하는 데 도움을 줍니다. 이는 많은 패키지를 관리하거나 팀과 함께 작업할 때 더 쉽게 만듭니다.
^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.