dart_husky 1.0.1 copy "dart_husky: ^1.0.1" to clipboard
dart_husky: ^1.0.1 copied to clipboard

A pure-Dart CLI tool to manage Git hooks (pre-commit, commit-msg, pre-push) in any Dart or Flutter project. Similar to husky and lefthook.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.0.1 - 2026-05-30 #

Added #

  • Example Usage: Introduced a package usage example (example/example.dart) illustrating the declarative dart_husky.yaml setup.
  • New lint prefix support: bump prefix is added to commit message validator.

Documented #

  • API Documentation: Added comprehensive, high-quality Dartdoc comments to all public models, config configurations, validators, and classes to elevate package API clarity and maximize the pub.dev score.

1.0.0 - 2026-05-30 #

Added #

  • Pure-Dart CLI Tooling: Lightweight, zero-dependency Git hooks manager designed specifically for Dart and Flutter projects.
  • Robust Hook Installer: Installs custom lightweight shell scripts into .git/hooks/ that automatically detect and support both global dart and fvm dart environments.
  • Declarative YAML Configuration: Set up all your project's hook commands inside a single dart_husky.yaml file.
  • Sequential & Parallel Command Execution: Speed up your development workflow by executing hook commands in parallel (parallel: true) or sequentially (default).
  • Built-in Conventional Commits Preset: Out-of-the-box support for validating commit messages against the Conventional Commits specification (supports types: feat, fix, chore, docs, style, refactor, test, build, ci, perf, revert).
  • Comprehensive CLI Interface:
    • dart run dart_husky install — Installs or syncs all hooks configured in dart_husky.yaml.
    • dart run dart_husky uninstall — Safely removes all dart_husky managed Git hooks.
    • dart run dart_husky run <hook-name> — Manually run/test hook commands.
    • dart run dart_husky list — Display all configured hooks and their installation status.
  • Supported Hooks: Native support for pre-commit, commit-msg, pre-push, post-checkout, and pre-merge-commit.
  • Platform Support: Verified compatibility with macOS environments.
4
likes
0
points
287
downloads

Publisher

verified publishermoulibheemaneti.com

Weekly Downloads

A pure-Dart CLI tool to manage Git hooks (pre-commit, commit-msg, pre-push) in any Dart or Flutter project. Similar to husky and lefthook.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

args, path, yaml

More

Packages that depend on dart_husky