component-detection icon indicating copy to clipboard operation
component-detection copied to clipboard

Adding support for pub package manager

Open aviadkam opened this issue 2 years ago • 4 comments

Adding support for pub (Flutter, Pub.Dev) package manager. The code parsed the pubspec.yml file

aviadkam avatar Nov 03 '23 14:11 aviadkam

@microsoft-github-policy-service agree

aviadkam avatar Nov 03 '23 14:11 aviadkam

Codecov Report

Attention: 31 lines in your changes are missing coverage. Please review.

Comparison is base (8fd8eb7) 74.8% compared to head (d618d27) 74.7%.

:exclamation: Current head d618d27 differs from pull request most recent head 8d3d725. Consider uploading reports for the commit 8d3d725 to get more accurate results

Files Patch % Lines
...Detection.Contracts/TypedComponent/PubComponent.cs 44.1% 21 Missing and 3 partials :warning:
...entDetection.Detectors/pub/PubComponentDetector.cs 90.2% 4 Missing :warning:
...ion.Detectors/pub/PubSpecLockPackageDescription.cs 0.0% 3 Missing :warning:
Additional details and impacted files
@@           Coverage Diff           @@
##            main    #888     +/-   ##
=======================================
- Coverage   74.8%   74.7%   -0.1%     
=======================================
  Files        235     241      +6     
  Lines       9937   10053    +116     
  Branches     971     988     +17     
=======================================
+ Hits        7435    7518     +83     
- Misses      2231    2259     +28     
- Partials     271     276      +5     

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

codecov[bot] avatar Nov 06 '23 19:11 codecov[bot]

Hi @aviadkam, would you mind linking to some documentation on pub and its manifest format?

annaowens avatar Nov 29 '23 18:11 annaowens

Hi @aviadkam, would you mind linking to some documentation on pub and its manifest format?

Sure. @annaowens . Here are some links: https://dart.dev/tools/pub/pubspec ttps://dart.dev/tools/pub/dependencies

aviadkam avatar Nov 30 '23 10:11 aviadkam