Skip to content

refactor(dotprompt-dart): rename dart handlebarrz package to handlebars_dart#542

Merged
yesudeep merged 1 commit into
mainfrom
yesudeep/refactor/careless-plate
Feb 25, 2026
Merged

refactor(dotprompt-dart): rename dart handlebarrz package to handlebars_dart#542
yesudeep merged 1 commit into
mainfrom
yesudeep/refactor/careless-plate

Conversation

@yesudeep
Copy link
Copy Markdown
Collaborator

Summary

Rename the Dart Handlebars template engine package from handlebarrz to handlebars_dart for consistency with Dart package naming conventions.

Changes

Directory & File Renames

  • dart/handlebarrz/ -> dart/handlebars_dart/
  • lib/handlebarrz.dart -> lib/handlebars_dart.dart

Package Configuration

  • Updated pubspec.yaml package name and homepage URL
  • Updated dart/dotprompt/pubspec.yaml dependency name and path override
  • Regenerated pubspec.lock files for both packages

Build System (Bazel)

  • Updated dart/handlebars_dart/BUILD.bazel target names
  • Updated dart/dotprompt/BUILD.bazel dependency references
  • Updated bazel/dart/defs.bzl data dependency references
  • Updated dart.MODULE.bazel lock file path

Code

  • Updated all package:handlebarrz imports to package:handlebars_dart in:
    • dart/handlebars_dart/lib/handlebars_dart.dart
    • dart/handlebars_dart/test/antlr_parser_test.dart
    • dart/handlebars_dart/test/handlebars_test.dart
    • dart/dotprompt/lib/src/dotprompt.dart

CI & Config

  • Updated .github/workflows/dart.yml ANTLR grammar validation paths
  • Updated .github/labeler.yml label name and glob pattern
  • Updated scripts/generate_handlebars_parser output directory

Documentation

  • Updated dart/handlebars_dart/README.md
  • Updated dart/handlebars_dart/FEATURES.md
  • Updated docs/design/antlr-parser.md
  • Updated spec/handlebars/antlr/README.md

Testing

  • dart analyze --fatal-infos --fatal-warnings passes for both handlebars_dart and dotprompt
  • All 127 handlebars_dart tests pass
  • All 176 dotprompt tests pass

…rs_dart

Rename the Dart Handlebars template engine package from `handlebarrz`
to `handlebars_dart` for consistency with Dart package naming conventions.

Changes:
- Rename directory dart/handlebarrz -> dart/handlebars_dart
- Rename library file lib/handlebarrz.dart -> lib/handlebars_dart.dart
- Update pubspec.yaml package name and homepage URL
- Update BUILD.bazel target names in both handlebars_dart and dotprompt
- Update all Dart imports (package:handlebarrz -> package:handlebars_dart)
- Update dotprompt dependency and path override in pubspec.yaml
- Update Bazel references in defs.bzl and dart.MODULE.bazel
- Update CI workflow (.github/workflows/dart.yml) path references
- Update .github/labeler.yml label and path glob
- Update README.md, FEATURES.md, and design docs
- Update scripts/generate_handlebars_parser output directory
- Regenerate pubspec.lock files for both packages
@yesudeep yesudeep merged commit bb87a74 into main Feb 25, 2026
91 checks passed
@yesudeep yesudeep deleted the yesudeep/refactor/careless-plate branch February 25, 2026 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants