commitizen icon indicating copy to clipboard operation
commitizen copied to clipboard

feat(providers): add dart_provider

Open TheAlbertDev opened this issue 5 months ago • 2 comments

closes: #1563

Description

as title

Checklist

Code Changes

  • [X] Add test cases to all the changes you introduce
  • [X] Run poetry all locally to ensure this change passes linter check and tests
  • [X] Manually test the changes:
    • [X] Verify the feature/bug fix works as expected in real-world scenarios
    • [X] Test edge cases and error conditions
    • [X] Ensure backward compatibility is maintained
    • [X] Document any manual testing steps performed
  • [X] Update the documentation for the changes

Documentation Changes

  • [X] Run poetry doc locally to ensure the documentation pages renders correctly
  • [X] Check and fix any broken links (internal or external) in the documentation

When running poetry doc, any broken internal documentation links will be reported in the console output like this:

INFO    -  Doc file 'config.md' contains a link 'commands/bump.md#-post_bump_hooks', but the doc 'commands/bump.md' does not contain an anchor '#-post_bump_hooks'.

Expected Behavior

Version field in dart's pubspec.yaml file should also update when running cz bump

Steps to Test This Pull Request

dart create your_package_name
cd your_package_name
cz init
git add .
cz c
cz bump

Additional Context

TheAlbertDev avatar Aug 01 '25 22:08 TheAlbertDev

Codecov Report

:x: Patch coverage is 97.43590% with 1 line in your changes missing coverage. Please review. :white_check_mark: Project coverage is 97.95%. Comparing base (120d514) to head (e1e7164). :warning: Report is 753 commits behind head on master.

Files with missing lines Patch % Lines
commitizen/commands/init.py 80.00% 1 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1564      +/-   ##
==========================================
+ Coverage   97.33%   97.95%   +0.61%     
==========================================
  Files          42       59      +17     
  Lines        2104     2742     +638     
==========================================
+ Hits         2048     2686     +638     
  Misses         56       56              
Flag Coverage Δ
unittests 97.95% <97.43%> (+0.61%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar Aug 01 '25 22:08 codecov[bot]

@woile I think we're planning to make it separate from the core of commitizen? then I'll skip reviewing for now till we have that. or we can also merge it and separate it at a later point. let me know whether you want me to take a look first. Thanks 🙂

Lee-W avatar Aug 17 '25 04:08 Lee-W