4.0.0-beta.1 • Published 4 years ago
product-ui v4.0.0-beta.1
product-ui
Shared product related components for vend
Table of Contents
Integrating
To use product-ui in your application depend on it in your bower.json file (where X.Y.Z
is the version of product-ui to
depend on):
{
"dependencies": {
"product-ui": "git@github.com:vend/product-ui.git#vX.Y.Z"
}
}
JavaScript
To depend on and use the various angular components provided by product-ui:
- Depend on the
product-ui
module in your application's top level module declaration:
angular.module('my-application', ['product-ui'])
Contributing
To contribute:
- make your changes in a separate branch
- create a pull request and get it code reviewed
- once past code review, merge to master
- publish a new version on master (see below)
Publishing
This module is published via np.
To version and publish, run the following on a clean, up to date master
branch:
np <patch/major/minor>
Use the appropriate release type:
patch
- release contains bug fixes onlyminor
- release contains new features but no breaking changesmajor
- release contains breaking changes
Voila!
Must use
np
version 2.12.X until https://trello.com/c/ittOQixG is fixed.
4.0.0-beta.1
4 years ago