Closed janl closed 8 years ago
(we are updating this checklist while we are doing this for our first few modules, until the process is solid)
Usage: copy the raw source of this issue into the a new issue on module you want to migrate and start ticking off boxes.
Here is how we are going to do this:
For each repo, we:
before-1.0
next
branchhoodie-
prefix, if applicableModule Meta
semantic-release
with semantic-release-cli
semantic-release
plugins (verify-conditions
, verify-release
)hoodie-ci-result
dev dependencystandard
packageModule Content
CONTRIBUTING.md
to point to https://github.com/hoodie/hoodie/CONTRIBUTING.md
TRIAGING.md
to point to https://github.com/hoodie/hoodie/TRIAGING.md.jshintrc
& .jshintignore
Gruntfile.js
READMEs
Directory structure:
(we are updating this checklist while we are doing this for our first few modules, until the process is solid)
Usage: copy the raw source of this issue into the a new issue on module you want to publish and start ticking off boxes.
Once we are done with every plugin and the new architecture can go live, we do this:
master
branch to before-x.y.z-master
(where x.y.z
is the next major version for this modulenext
branch the new master
branchpackage.json
name
hoodie-
prefixhoodie-
prefixI guess we can close this? If not, can we create a follow up issue of the points which are still relevant today?
This is a sub-issue of https://github.com/hoodiehq/discussion/issues/76
(copied original text)
There are a bunch of changes we want to make to all the modules on http://github.com/hoodiehq. The prime objective here is to unify a few things across all repositories in a way that the development experience on each module, be it a CSS library, our website or core JavaScript code, is the same everywhere.
One thing we’d like to encourage and pioneer is the use of
README.md
files in all subdirectories, with information what the particular sub-part of a module is doing and why. That way, our code is much easier to navigate and learn.In addition, where it makes sense, modules will generate and expose their automatically generated API documentation for pick-up by a central documentation location and for offline viewing.
We’d like to move away from grunt as a built tool because it is a bit unwieldy. We’ll be moving to npm scripts for our built scripting needs.
We want to standardise on a single set of commit message conventions for all the types of commits we have across all repos. And we want to enforce these with pre-commit hooks that have friendly error messages for newcomers to do the right thing.
This is a bit technical, but we found a neat solution to make this easy for everyone. A pre-commit hook is a piece of software that
git
runs to determine whether it should allow the user to make a commit. We want to use these hooks to ensure that all commit messages follow our standard format oftype(scope): message
withtype
andscope
being from a strict set that has semantic meaning down the road of the lifecycle of a module.Pre-commit hooks are something that each user has to install for themselves, they are not part of a
git clone
. In order to avoid everyone having to do this manually, we propose this procedure:hoodie-commit-hooks
orhoodie-developer-tools
.Things we want to enforce with pre-commit hooks:
package.json
structure and orderThis should make the experience of contributing to a single module a lot more pleasant and remove a lot of the burden of reviewing and maintaining code from the existing developers.