stable

Clone or download

Read-only

request #11073 - Webpack to build FRS app

How to test: - run 'npm run build' --> The app is built and all files are are places in www/js/assets - run 'npm run test' --> UT are played once - run 'npm run watch' and modify some files --> UT are played each time you save your changes --> js is rebuilt - run 'npm run coverage' --> UT are played once --> The results are displayed in a browser afer a couple of seconds Change-Id: I1077672ac166c4256116e7933c842318665f8329

Modified Files

Name
M gulpfile.js +1 −0 Go to diff View file
M plugins/frs/include/frsPlugin.class.php +18 −4 Go to diff View file
D plugins/frs/www/js/angular/.editorconfig +0 −5 Go to diff View file
D plugins/frs/www/js/angular/.eslintrc.json +0 −228 Go to diff View file
M plugins/frs/www/js/angular/.gitignore +1 −3 Go to diff View file
D plugins/frs/www/js/angular/Gruntfile.js +0 −498 Go to diff View file
M plugins/frs/www/js/angular/bower.json +2 −11 Go to diff View file
D plugins/frs/www/js/angular/build.config.js +0 −80 Go to diff View file
A plugins/frs/www/js/angular/gulpfile.js +42 −0 Go to diff View file
M plugins/frs/www/js/angular/karma.config.js +79 −48 Go to diff View file
D plugins/frs/www/js/angular/module.prefix +0 −1 Go to diff View file
D plugins/frs/www/js/angular/module.suffix +0 −1 Go to diff View file
M plugins/frs/www/js/angular/package-lock.json +7619 −4145 Go to diff View file
M plugins/frs/www/js/angular/package.json +35 −27 Go to diff View file
M plugins/frs/www/js/angular/po/template.pot +39 −31 Go to diff View file
M plugins/frs/www/js/angular/src/app/app-config.js +1 −3 Go to diff View file
M plugins/frs/www/js/angular/src/app/app-controller.js +8 −6 Go to diff View file
M plugins/frs/www/js/angular/src/app/app.js +48 −5 Go to diff View file
A plugins/frs/www/js/angular/src/app/app.spec.js +6 −0 Go to diff View file
M plugins/frs/www/js/angular/src/app/file-download/file-download-controller.js +9 −11 Go to diff View file
M plugins/frs/www/js/angular/src/app/file-download/file-download-controller.spec.js +10 −4 Go to diff View file
M plugins/frs/www/js/angular/src/app/file-download/file-download-directive.js +8 −5 Go to diff View file
A plugins/frs/www/js/angular/src/app/file-download/file-download.tpl.html +1 −0 Go to diff View file
M plugins/frs/www/js/angular/src/app/file-download/license-modal/license-modal-controller.js +4 −8 Go to diff View file
M plugins/frs/www/js/angular/src/app/release/files/files-config.js +1 −3 Go to diff View file
M plugins/frs/www/js/angular/src/app/release/files/files-controller.js +3 −7 Go to diff View file
M plugins/frs/www/js/angular/src/app/release/files/files-directive.js +8 −5 Go to diff View file
M plugins/frs/www/js/angular/src/app/release/linked-artifacts/linked-artifacts-config.js +1 −3 Go to diff View file
M plugins/frs/www/js/angular/src/app/release/linked-artifacts/linked-artifacts-controller.js +8 −13 Go to diff View file
M plugins/frs/www/js/angular/src/app/release/linked-artifacts/linked-artifacts-controller.spec.js +10 −4 Go to diff View file
M plugins/frs/www/js/angular/src/app/release/linked-artifacts/linked-artifacts-directive.js +8 −5 Go to diff View file
M plugins/frs/www/js/angular/src/app/release/release-controller.js +12 −9 Go to diff View file
M plugins/frs/www/js/angular/src/app/release/release-controller.spec.js +16 −8 Go to diff View file
M plugins/frs/www/js/angular/src/app/release/release-directive.js +8 −5 Go to diff View file
M plugins/frs/www/js/angular/src/app/release/release-rest-service.js +8 −12 Go to diff View file
M plugins/frs/www/js/angular/src/app/release/release-rest-service.spec.js +7 −2 Go to diff View file
M plugins/frs/www/js/angular/src/app/rest-error-service.js +9 −14 Go to diff View file
M plugins/frs/www/js/angular/src/app/shared-properties-service.js +1 −3 Go to diff View file
R plugins/frs/www/js/angular/src/app/main.scss Go to diff View file
A plugins/frs/www/js/angular/webpack.config.js +96 −0 Go to diff View file
M tools/rpm/Makefile +1 −3 Go to diff View file