패키지, 저장소 및 앱 카테고리 검색

패키지 상세v1.0.5

pubspec_dependency_sorter

Flutter, Dart pubspec.yaml 종속성을 알파벳 순서로 정렬하는 데 도움을 줍니다.

AndroidiOSmacOSWindowsLinux
30일 다운로드
7.2만
좋아요
43
Pub 점수
115

패키지 설치

flutter pub add pubspec_dependency_sorter

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

Flutter 및 Dart 프로젝트를 위한 개발자 도구로, pubspec.yaml 파일 내의 종속성을 알파벳 순서로 자동으로 정렬합니다. 깔끔하고 일관되며 가독성이 높은 종속성 목록을 보장하여 유지보수를 향상시키고 병합 충돌을 줄입니다. 이 도구는 간단하고 효율적이며 명령줄 인터페이스를 통해 개발 워크플로우에 원활하게 통합됩니다. Android, iOS, macOS, Windows, Linux 등 모든 주요 플랫폼을 지원합니다.

사용 사례

  • 정리된 pubspec.yaml 파일 유지
  • 팀 환경에서 머지 충돌 줄이기
  • 의존성 조직 자동화
  • 프로젝트 종속성의 가독성 향상
  • 코드 리뷰 프로세스 간소화

주요 기능

  • 의존성의 알파벳 정렬
  • 명령줄 통합
  • 모든 플러터 플랫폼을 지원합니다
  • 간단하고 가벼움
  • 기존 구조 및 주석 유지

적합한 대상

  • Flutter 개발자
  • 팀 기반 프로젝트
  • CI/CD 파이프라인
  • 코드 품질 자동화
  • 자주 종속성 업데이트가 이루어지는 프로젝트

고려 사항

  • 의존성 구문을 검증하지 않음
  • 스크립트에 통합되지 않는 한 수동 실행이 필요합니다
  • 다른 형식 지정 도구와 충돌할 수 있습니다
  • 사용 가능한 구성 옵션이 없습니다
  • pubspec.yaml 파일에만 영향을 미칩니다

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

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

Features

  • sort dependencies
  • prevent dependecy conflicts
  • clean up the pubspec.yaml file

Getting started

Install flutter or dart sdk then depend on the package.

dev_dependencies:
  pubspec_dependency_sorter: ^1.0.4

Usage

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

sample output

dependency_sorter sample output

Additional information

Feel free to add features,improvemets and fix bugs then create a PR.

카테고리

의존성

의존성 목록 3 개

소스 저장소

이 패키지를 사용하는 프로젝트

순위