refactor(dotprompt-dart): rename dart handlebarrz package to handlebars_dart#542
Merged
Conversation
…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
MengqinShen
approved these changes
Feb 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Rename the Dart Handlebars template engine package from
handlebarrztohandlebars_dartfor consistency with Dart package naming conventions.Changes
Directory & File Renames
dart/handlebarrz/->dart/handlebars_dart/lib/handlebarrz.dart->lib/handlebars_dart.dartPackage Configuration
pubspec.yamlpackage name and homepage URLdart/dotprompt/pubspec.yamldependency name and path overridepubspec.lockfiles for both packagesBuild System (Bazel)
dart/handlebars_dart/BUILD.bazeltarget namesdart/dotprompt/BUILD.bazeldependency referencesbazel/dart/defs.bzldata dependency referencesdart.MODULE.bazellock file pathCode
package:handlebarrzimports topackage:handlebars_dartin:dart/handlebars_dart/lib/handlebars_dart.dartdart/handlebars_dart/test/antlr_parser_test.dartdart/handlebars_dart/test/handlebars_test.dartdart/dotprompt/lib/src/dotprompt.dartCI & Config
.github/workflows/dart.ymlANTLR grammar validation paths.github/labeler.ymllabel name and glob patternscripts/generate_handlebars_parseroutput directoryDocumentation
dart/handlebars_dart/README.mddart/handlebars_dart/FEATURES.mddocs/design/antlr-parser.mdspec/handlebars/antlr/README.mdTesting
dart analyze --fatal-infos --fatal-warningspasses for bothhandlebars_dartanddotprompthandlebars_darttests passdotprompttests pass