react-redux-starter-kit icon indicating copy to clipboard operation
react-redux-starter-kit copied to clipboard

Update CLI generators to work with Fractal Structure

Open dvdzkwsk opened this issue 10 years ago • 8 comments

/cc @justingreenberg @SpencerCDixon

dvdzkwsk avatar Apr 21 '16 14:04 dvdzkwsk

Are you working on this ?

tantmd avatar May 02 '16 11:05 tantmd

Sorry I've been pretty MIA - company just underwent acquistion... I can work on this over the weekend unless @danhuynhdev you're down to tackle it?

SpencerCDixon avatar May 02 '16 14:05 SpencerCDixon

@SpencerCDixon I can also work on it, but curious if you have any thoughts on how to best get it to work with the fractal structure.

dvdzkwsk avatar May 02 '16 14:05 dvdzkwsk

#767 This is what i got so far. Just a little bit of tweaking base on what is in the repo. What do you think about it @SpencerCDixon?

tantmd avatar May 02 '16 16:05 tantmd

It looks good from a first glance. I havn't actually used the fractal structure personally yet though. Have you tested all the generators to make sure they put files in the proper locations?

@davezuko what are some of the challenging aspects of making the generators specific to the fractal structure? If it's just a matter of putting files in the right place that should be easy.

We can also extend the generators to do even more for free if we wanted. For example, in a UI kit I'm building at work whenever I generate a new component it automatically appends the export { NewComp } from './components/NewComp; in the file that exports all my components.

Also, I know that the commenting is important for new users to understand the why's and how's of the starter kit so the PR would need the OK from Dave.

SpencerCDixon avatar May 03 '16 17:05 SpencerCDixon

@davezuko is this still an issue?

mccambridge avatar Jun 06 '16 20:06 mccambridge

@mccambridge A pr was just merged. But it didn't auto close this issue for whatever reason. Maybe it's good to keep this open because the new blueprints could definitely be improved.

ericwooley avatar Jun 27 '16 18:06 ericwooley

Closing for now with @ericwooley 's latest PR, but I still welcome improvements to the blueprints.

dvdzkwsk avatar Jun 29 '16 13:06 dvdzkwsk