Contributing
Thank you very much if you want to contribute to dflow: every feedback is welcome!
Specification
If you want to propose enhancements in the specification, edit specification.md. The design goals are:
- Keep it as simple as possible.
- The implementation should be easy to port to other languages.
- The graph must fit in a plain JSON.
You may also improve the CLI.
Development workflow
Just fork the repo on GitHub, clone it, install deps and create a new branch as usual. It is something like
git clone [email protected]/roccosiffredi/dflow.git
cd dflow
npm install
git checkout -b mycontribution
Then add your contribution, commit, push your branch and send a pull request.
Note that, thanks to pre-commit, npm test and npm run lint run before each commit.
Project deploy
Two commit bits are needed to publish a new version:
- npm
- GitHub repository
Once you are added as a collaborator on the sites above, when you launch npm-version npm scripts will do the dirty work, i.e.
- Publish on npm
- Push on GitHub and update the GitHub Pages