adevinta / spark

✨ Simple, Modular & Accessible UI Components for your React Applications
https://sparkui.vercel.app
MIT License
49 stars 16 forks source link

Scan adoption script 1 #2242

Open andresin87 opened 2 weeks ago

andresin87 commented 2 weeks ago

utils(cli): Spark adoption scrip RC

TASK:

Description, Motivation and Context

Types of changes

Add extra arguments to the script command

program
  .command('adoption')
  .option('-c, --configuration <config>', 'configuration file route', '.spark-ui.cjs')
  .option('-o, --output <output>', 'output file route')
  .option('-v, --verbose', 'output log information', false)
  .option('-d, --details', 'output information about each match', config.details)
  .option('-s, --sort <sort>', 'sort results (count or alphabetical)', config.sort)
  .option('-dir, --directory <directory>', 'directory to parse', config.directory)
  .option('-ext, --extensions <extensions...>', 'file extensions to parse', config.extensions)
  .option('-i, --imports <imports...>', 'import patterns to identify', config.imports)

Screenshots - Animations

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.56%. Comparing base (2fb060f) to head (083c9b0). Report is 7 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2242 +/- ## ======================================= Coverage 97.56% 97.56% ======================================= Files 760 760 Lines 5996 5996 Branches 2137 2100 -37 ======================================= Hits 5850 5850 Misses 144 144 Partials 2 2 ```

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