Search packages, repositories and app categories

GitHub repositorydanchengash/pubspec-dependency-sorter

pubspec-dependency-sorter

This package helps developer to sort the flutter/dart packages and plugins alphabetically, This makes it easier when managing too many packages and when working with teams

pubspec-dependency-sorter project cover
Stars
22
Forks
10
Last push (UTC)
Jun 22, 2024
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

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.

DANCHE GitHub avatar
GitHub author

DANCHE ↗

Physicist, || ` like literature and art, code is a form of expressive speech.`

@salticon Africa, KenyaOfficial website ↗
LanguagesDart

Packages published by this repository

Dependencies used

Dependency list 6 items

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗