feat(providers): add dart_provider
closes: #1563
Description
as title
Checklist
- [X] I have read the contributing guidelines
Code Changes
- [X] Add test cases to all the changes you introduce
- [X] Run
poetry alllocally 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 doclocally 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
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.
@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 🙂