pubspec.yaml 파일을 파싱하기 위한 타입 안전한 Dart 패키지로, 명확하고 자세한 오류 보고를 제공합니다. 개발자가 Flutter 및 Dart 프로젝트 설정을 쉽게 프로그래밍 방식으로 읽고 검증할 수 있도록 도와줍니다. 신뢰성과 개발자 경험을 고려해 설계된 API는 pubspec 파일을 분석하거나 수정해야 하는 도구에 적합합니다. Dart 팀에서 개발하여 모든 주요 플랫폼에서 호환성을 보장합니다.
사용 사례
빌드 스크립트에서 pubspec.yaml 파싱하기
프로그래밍으로 프로젝트 종속성 검증하기
프로젝트 메타데이터 생성
패키지 구성 작업 자동화
CLI 도구와의 통합
주요 기능
타입 안전한 파싱 API
포괄적인 오류 메시지
모든 Dart/Flutter 플랫폼 지원
제1자 Dart 도구
검증 기능이 있는 강력한 YAML 파싱
적합한 대상
빌드 시스템 개발자
CLI 도구 작성자
패키지 유지보수자
CI/CD 파이프라인 통합 업체
Dart 언어 도구 프로젝트
고려 사항
Dart 2.17 이상이 필요합니다
앱에서 런타임 사용을 위한 것이 아님
개발 시간 도구에 가장 적합
pubspec.yaml 형식에 한정
동적 pubspec 수정 지원 없음
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
Overview
This repository is home to tooling related Dart packages. Generally, this means
packages published through the
tools.dart.dev publisher that
don't naturally belong to other topic monorepos (like
dart-lang/build,
dart-lang/test, or
dart-lang/shelf).
A client library for authenticating with a remote service via OAuth2 on behalf of a user, and making authorized HTTP requests with the user's OAuth2 credentials.