The latest release version can be found in the chrome webstore. https://chrome.google.com/webstore/detail/harvest-%3E-jira-sync/imogkeoglmoaghpegcmghjicbdgbahio
This project was initially generated with Angular CLI version 1.0.0-beta.32.3.
- Angular-cli must be installed locally to build the project. See also above link.
- Install npm with
sudo dnf install npm
- Install angular-cli with
npm install -g @angular/cli
- Build this project with
ng build
- see also below
- Install npm with
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
- You can import the content of the
dist/
directory to chrome- goto
chrome://extensions/
- change to Developer mode
- Load unpacked extension...
- select the
/dist
folder (after callingng build
) - for reloading the plugin after code changes just call
ng build
- chrome automatically detects changes
- goto
- set release version in manifest.json
- first digit - x: major release
- second digit - y: feature release
- third digit - z: bug fix release
- firth digit: NOT used. Only set while development to "999" meaning "-SNAPSHOPT"
ng build
- make relevant updates in releases/descriptions and releases/screenshots
- screenshot needs to be 1280x800px .png
- scale smaller screenshot via gimp to 1280px width
cd dist
zip -r ../releases/ng-harvest-jira-sync-x_y_z.zip *
- upload zip file via https://chrome.google.com/webstore/developer/dashboard
- update description and screenshot if relevant
- commit to development branch / release branch
- tag with new version
- push commit & tag
- merge into master branch
- change version in development to next feature release version plus .999
Run ng generate component component-name
to generate a new component. You can also use ng generate directive/pipe/service/class/module
.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
- This will not allow the app to communicate to JIRA and Harvest for CSRF reasons.
- (!) Instead the app needs to be build using
ng build
and imported as chrome plugin
Run ng test
to execute the unit tests via Karma.
- (!) no unit tests implemented so far
Run ng e2e
to execute the end-to-end tests via Protractor.
Before running the tests make sure you are serving the app via ng serve
.
- (!) no e2e tests implemented so far