webcomponents / gold-standard

1.03k stars 39 forks source link

Tools for enforcing the gold-standard? #8

Open apowers313 opened 8 years ago

apowers313 commented 8 years ago

I have been working on creating a open-element template that comes with a number of services and features built in so that new elements can start with best practices from day one (and without all extra overhead of setting up services each time). For example, it uses Travis CI for builds, SauceLabs for cross-browser testing, Istanbul for code coverage, semantic-release to enforce semver, Commitizen to enforce conventional commits and changelogs, etc.

I was wondering if there are things on the gold-standard list that can be automatically tested for -- like accessibility or localization. To any extent possible, I would love to see the open-element automatically enforce the gold-standard.

Any thoughts on tools or libraries that can be used for enforcing the gold-standard?

MeTaNoV commented 8 years ago

I would be also interested to see some tooling available for this! @apowers313 I suppose you can also propose some enhanement of your open-element to the "official" seed-element

jacopotarantino commented 8 years ago

@apowers313 that's awesome! I really love the list of tools you built in. Would you mind taking a look at something similar I've been working on? It's a yeoman generator for UI components that doesn't really do any enforcement but provides a sane starting point for developers looking to create a script in whatever framework or style they want as long as it's using ES6. It could use a decent amount of rearranging but I like what I've got so far. Let me know! I'll likely be appropriating a lot of the swanky features you've added to open-element.

apowers313 commented 8 years ago

Thanks @MeTaNoV, I'm just not quite sure where to start with finding tools to enforce the gold standard. I think Google's seed element is fairly generic because it supports commercial use too. The services I picked for open element are all free to open source projects, but may oy may not fit in with an existing company's SDLC.

@jacopotarantino - feel free to steal anything I've done and drop me a note if you need any help integrating it. I also started generator-open-element but haven't had a chance to finish it.

jacopotarantino commented 8 years ago

@apowers313 thanks! Hope you get the chance soon :)