Project requires having installed:
After downloading the project form Gitlab repository run command from command line:
# install global dependencies
npm install -g bower phantom
# install dependencies
bower install --force
npm install
# run grunt installation tasks
npm start
To continuously develop library you have to symlink source code of neo-seed to any container project:
ln -s [absolute-path-to-neo-seed]/src/seed/ [absolute-path-to-container-path]/src/
Before contributing please read following documents:
Make sure that every changes you make are bound to ticket from Taiga neoStack project.
When you finished your changes make sure:
- Test are updated covering your code,
- Code is documented with jsdoc comments
- Are given examples of usage
- You have submited pull request to development on Gitlab
Releasing is done in following steps:
- Run
grunt build
ondevelopment
branch - Bump version in
bower.json
andpackage.json
to newer - Run
grunt changelog
task to update changelog and format them properly if needed - Push changes to
development
with commit messagechore: bump version to X.X.X
- Merge branch
development
intomaster
- Tag new version using semver versioning convention
vX.X.X
- Important! Make sure that you released container with exact same matching version
Repository is covered with unit test written in Jasmine. Before making merge request make sure that you updated test suits covering changed functionality. You can run unit tests using command:
grunt test
To check changes and migration guides between versions see changelog