Storybook: Improve @storybook/* visibility on NPM

Created on 27 May 2017  路  8Comments  路  Source: storybookjs/storybook

why

Currently when people search for e.g. react storybook on NPM, a lot of other results show up. @storybook/* should show up at the top. Search is powered by npms.io:

npms

This will clear up over time automatically, but we should accelerate it.

what

  • [x] Close a bunch of issues to improve the "active issues" / "total issues" number
  • [ ] Improve our test coverage (team hackathon???)
  • [ ] Get @arunoda or @mnmtanish to deprecate the @kadira/* packages after 3.0 release stabilizes
documentation maintenance todo

Most helpful comment

You bring up an issue stating we should bring our total issues down?

All 8 comments

You bring up an issue stating we should bring our total issues down?

At this moment @storybook/react has 23,000 downloads per week on npm vs 61,000 of @kadira/storybook

getstorybook still has 1,787 downloads per week. it's already less than @storybook/cli but still meaningful

This will clear up over time automatically, but we should accelerate it.

Possible step could be to involve getstorybook users to shift to @Storybook packages. Here is a proposal: storybooks/getstorybook#30

Does anyone really use anything other than web search (i.e. Google) to find stuff?

Either way, the correct packages (ours) show up first now.

People who try to use npx will still download the old version. npx getstorybook will resolve to the deprecated version as the name matches.

Npx allows specifying package name:

npx getstorybook -p @storybook/cli

@Hypnosphi thanks, I know. But unless you are aware that you have to do this to not get an outdated version, you would probably try to do npx getstorybook first. At least that's what I did and it took me a while until I realized that I was using an old version that is deprecated.

What do you think of printing a warning when you run the deprecated version?

I think we can even make it throw. @ndelangen WDYT?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

miljan-aleksic picture miljan-aleksic  路  3Comments

shilman picture shilman  路  3Comments

dnlsandiego picture dnlsandiego  路  3Comments

purplecones picture purplecones  路  3Comments

levithomason picture levithomason  路  3Comments