flutter_devstat 1.3.5 copy "flutter_devstat: ^1.3.5" to clipboard
flutter_devstat: ^1.3.5 copied to clipboard

A CLI tool to analyze Flutter project structure and annotate Dart files with their lib/ paths.

Changelog #

1.3.5 #

  • Fixed lib

1.3.4 #

  • Updated README

1.3.3 #

  • Fixed file annotation newline handling:

    • Prevents accumulation of extra blank lines at the end of Dart files across repeated runs.
    • Ensures exactly one trailing newline is maintained (POSIX-compliant file ending).
  • Improved annotation idempotency:

    • Re-running annotation no longer alters already-correct files.
    • Stabilized output to avoid unnecessary formatting drift.
  • Refined header cleanup logic:

    • More resilient removal of existing headers and developer blocks.
    • Improved regex handling for edge cases with varying newline counts.
  • Minor internal optimizations to file write operations and formatting consistency.

1.3.2 #

  • Added support for project identity configuration via pubspec.yaml:
    • Optional developer metadata injection (name, email, website, project).
    • Optional automatic copyright generation.
  • Implemented strict file header normalization:
    • Always enforces a single path header at the top of each Dart file.
    • Ensures exactly one blank line after headers.
    • Updates existing headers and developer blocks in-place.
  • Improved annotation reliability and formatting consistency.

1.3.1 #

  • Added LICENSE file with MIT License.
  • Improved pubspec.yaml description and metadata.

1.3.0 #

  • Added CLI flags:
    • -a — Add or update file path headers in all Dart files.
    • -v — Show package version.
    • -h or -u — Display usage and help info.
  • Improved command-line interface and error handling.
  • Enhanced directory scanning and file updating performance.
  • Refactored internal file management utilities.

1.2.0 #

  • Added automatic update feature for existing path headers.
  • Improved compatibility with nested project structures.
  • Minor code cleanup and documentation updates.

1.1.0 #

  • Added directory tree visualization.
  • Improved output formatting and logging.

1.0.0 #

  • Initial release.
  • Added base functionality for project structure analysis.
  • Implemented path header insertion for Dart files.
1
likes
160
points
49
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A CLI tool to analyze Flutter project structure and annotate Dart files with their lib/ paths.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

path, yaml

More

Packages that depend on flutter_devstat