dependency_sorter 0.2.0 copy "dependency_sorter: ^0.2.0" to clipboard
dependency_sorter: ^0.2.0 copied to clipboard

Sort your pubspec dependencies alphabetically. A tiny, well-tested CLI that fixes what the `sort_pub_dependencies` lint reports.

Changelog #

0.2.0 - 2026-09-15 #

Features #

  • add --diff flag showing a unified diff without writing (72410d2)
  • add comment-preserving pubspec dependency sorter CLI (3f60a71)

Bug Fixes #

  • pin blank separator lines in place when reordering entries (9200be0)

0.1.0 #

  • Initial release: dependency_sorter CLI that sorts dependencies, dev_dependencies and dependency_overrides alphabetically while preserving comments and formatting.
  • --check mode for CI, per-section toggles via CLI flags and the dependency_sorter pubspec key.
1
likes
160
points
129
downloads

Documentation

API reference

Publisher

verified publisherquasiflo.com

Weekly Downloads

Sort your pubspec dependencies alphabetically. A tiny, well-tested CLI that fixes what the `sort_pub_dependencies` lint reports.

Repository (GitHub)
View/report issues
Contributing

Topics

#pubspec #dependencies #formatter #cli

License

MIT (license)

Dependencies

args, meta, path, yaml

More

Packages that depend on dependency_sorter