mantra-cli icon indicating copy to clipboard operation
mantra-cli copied to clipboard

Use the new storybooks/react package when generating a new project

Open vladejs opened this issue 6 years ago • 4 comments

Storybooks is now led by the community, and packages has changed from @kadira/storybook to @storybooks/react.

Allow mantra-cli generate correct configurations of the new Storybooks when scaffolding a new project

https://storybook.js.org/

vladejs avatar Jul 24 '17 15:07 vladejs

@vladejs I think it would be better to remove the functionality of mantra-cli to create new projects altogether and focus more on generating new entities.

macrozone avatar Nov 10 '17 18:11 macrozone

Sorry @macrozone , Don't understand what you mean.

vladejs avatar Nov 10 '17 19:11 vladejs

@vladejs The issue that you are describing is only valid when creating new projects.. mantra-cli can be used to create new (meteor) projects, but its hard to maintain that functionality.

on the other hand, on existing apps you can use mantra-cli even without meteor (e.g. with react-native) and with newer versions of storybook

to add storybook to a new project, there is a command line util from storybook. So i think its best to not use mantra-cli for creating new projects, but instead rely on existing tools.

That's why i want to focus on improving mantra-cli to work on existing apps and support different flavors (meteor with react, react without meteor, react-native, etc.)

macrozone avatar Nov 10 '17 21:11 macrozone

Thanks for your detailed explanation @macrozone , I understood.

In other topic. do you know any CRUD solution built with mantra specific to React and Meteor apps? I'm looking for some standard functionalities:

  • crud for users and roles
  • crud for any collection based in config
  • bootstrap UI

It would be great to have generic modules that creates cruds using modern libraries lilke uniforms

vladejs avatar Nov 10 '17 21:11 vladejs