-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rethinking scripts post take-off-training-wheels #4
Comments
Yeah, this is something that I thought while working at the first flavor. As I took Each flavor is completely independent, and could evolve freely, so, while maintaining the same contract with other flavors, each script could do what is more suitable for each case. So, writing configuration files and using npm scripts more extensively, which is something the user that uses |
Totally agree. |
Yeah, I just added the default labels, but I'm thinking if makes sense to create more, like @staltz did on cyclejs monorepo... That is a bigger project, with lot contributions caming from everywere, so, I think that was a must. |
I did this here: https://github.com/cyclejs-community/create-cycle-app-flavors/blob/master/packages/cycle-scripts-one-fits-all/scripts/eject.js |
While working ont he es6-webpack flavour I noticed that would be nice to be able to have a cleaner post
take-off-training-wheels.js
version of the scripts.At the moment we simply move them in the .scripts folder and we reference them wihin the package.json scripts field.
Some of them could be simply rewritten as cli cmds within the npm script, together with some files being created whenever needed (i.e: .babelrc and webpack.config.js).
Once we have all the 4 basics flavours in place we can perhaps start thinking on how to improve this part of the experience.
The text was updated successfully, but these errors were encountered: