Contributing is a four-step process:
- Install the vvv generator for development
- Log development tasks as Github issues
- Write code
- Pull request
The easiest way to install the vvv generator is via npm, as described in getting started. For reference, that command is npm install generator-vvv
.
To contribute, however, you will need to fork and clone the generator instead.
- Use the github interface at https://github.com/lkwdwrd/generator-vvv to create a fork of this project to your own github account.
- Clone that fork anywhere on your local machine
cd
into the cloned directory and runnpm link
The npm link
command will symlink the cloned directory to global npm modules to make it available for yo. Do you you should have a global install of yo and grunt as well (npm install -g yo grunt
).
At this point, you may use your favorite text editor, create branches, and so
on. Running yo vvv
and its sub-generators will run your forked copy on your current branch.
Issue tracking is via https://github.com/lkwdwrd/generator-vvv/issues
All contributed code (all pull requests) should have an accompanying issue.
At this point, as we are working toward our initial milestones, not every commit will have an associated issue. Those with direct commit access can directly commit.
There aren't a great many guidelines here. There is an .editorconfig file that should help enforce code style. In addition, keep in mind that there are a few different toolsets in play: Yeoman and grunt (and therefore node and NPM), bash (shell, running inside the VM, so yes, even on Windows), Varying Vagrant Vagrants, Composer, and WP-CLI.
We should strive to respect the way all of those toolsets operate by using functions and helpers for each toolset when available.
Use the Github pull request interface to request a merge against the master branch. As features get added and stabilized, releases will be released to NPM. SemVer will be respected to the best of our ability as far as releases are concerned.