Contributing to js-data-rethinkdb
April 30, 2016 ยท View on GitHub
Read the general Contributing Guide.
Project structure
dist/- Contains final build files for distributiondoc/- Output folder for JSDocssrc/- Project source codetest/- Project tests
Clone, build & test
clone git@github.com:js-data/js-data-rethinkdb.gitcd js-data-rethinkdbnpm installnpm run build- Lint and build distribution filesnpm run mocha- Run tests (RethinkDB must be running)
To cut a release
- Checkout master
- Bump version in
package.jsonappropriately - Update
CHANGELOG.mdappropriately - Run
npm run release - Commit and push changes
- Checkout
release, mergemasterintorelease - Run
npm run releaseagain - Commit and push changes
- Make a GitHub release
- tag from
releasebranch - set tag name to version
- set release name to version
- set release body to changelog entry for the version
npm publish .
See also Community & Support.