prantlf / storybook-multilevel-sort

Applies specific sort order to more than two levels of chapters and stories in Storybook.
https://storybook.js.org/addons/storybook-multilevel-sort/
Other
8 stars 4 forks source link

Introduce an add-on interface #11

Open prantlf opened 1 year ago

prantlf commented 1 year ago

The modification of preview.js is still needed, unfortunately. Without that, the simplification by making this package into an addon cannot show its full potential and is questionable.

codecov[bot] commented 1 year ago

Codecov Report

Merging #11 (ce08cef) into master (4a52fb1) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #11   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         3    +2     
  Lines          146       164   +18     
=========================================
+ Hits           146       164   +18     
Impacted Files Coverage Δ
lib/addon.js 100.00% <100.00%> (ø)
lib/api.js 100.00% <100.00%> (ø)
lib/index.js 100.00% <100.00%> (ø)