Skip to content
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

List of useful generators #3

Open
ericelliott opened this issue Jan 6, 2015 · 11 comments
Open

List of useful generators #3

ericelliott opened this issue Jan 6, 2015 · 11 comments

Comments

@ericelliott
Copy link
Contributor

Every opinionated framework has its own ideas about where to put stuff. e.g. Meteor has client, server and lib directories.

We need the ability to quickly and easily configure where to put compiled JavaScript bundles, CSS, HTML templates, etc... See the array of folders in Substack's ironic taskrunner. Yeah... kinda like that, except that every generator should be able to read your file config and put things in the appropriate places, so you only have to write your config once to have it used by everything. You can roll your own everything as Substack suggests, but having all the meaningless choices made for you is better.

With some meaningless choices made for you, your team gets to spend less time bikeshedding, and more time building useful things.

@ericelliott
Copy link
Contributor Author

List of must-have generators:

  • Test - Scaffolding for unit tests that can be used in any module. This one should pay attention to the tech stack that has already been selected for the repo, and suggest appropriate test frameworks. For instance, your test framework choices can be limited if you're building a Meteor app. The default should be as simple as it gets: tape with faucet.
  • Functional Test - Scaffolding for functional tests with Selenium web-driver integration.
  • Sauce Labs - Add Sauce Labs support to unit and functional tests.
  • Web Components - front-end widgets are quickly moving to standard web components written in vanilla JS. A scaffold for a web component module that is completely independent of any frameworks or app would be great. For reference, see the bosonic generator and the element generator for yoeman.
  • API Resources. See siren-resource

@Nevraeka
Copy link

Generator-element & generator-polymer

@ericelliott
Copy link
Contributor Author

👍

@Nevraeka
Copy link

I haven't used them but there generators for x-tag & brick as well

@ericelliott
Copy link
Contributor Author

Yeah, generator-element supports x-tag and brick, I think. =)

@Nevraeka
Copy link

Yes and those projects have their own as well

@ericelliott
Copy link
Contributor Author

This iojs generator includes some good ideas.

@ericelliott
Copy link
Contributor Author

First things first:

I'm working on a production module boilerplate loosely inspired by the iojs generator above. It seems like this should be top priority, since it's likely to be used daily.

@ericelliott ericelliott changed the title Generator requirements List of useful generators Jun 24, 2015
@lcrespom
Copy link

lcrespom commented Feb 7, 2016

Would be great to have optional support for TypeScript in the package boilerplate.

@ericelliott I know you are not a fan of TS but from my experience it has greatly increased my productivity (auto-complete, instant in-editor errors, etc.).

@ericelliott
Copy link
Contributor Author

@lcrespom Sounds like a great idea as a composable scaffold. I haven't seen any developments on that since last September. It needs a champion. Want to be the champion? =)

@lcrespom
Copy link

lcrespom commented Feb 8, 2016

I took a look at the composable scaffold issue/request... maybe it is too high level for me to do it on my free time and on small task bursts... actually I am not even a user (yet?) of Cloverfield.

I will investigate further and try to help...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants