LP#1739803 Angular 1.6 + dependency updates
authorBill Erickson <berickxx@gmail.com>
Fri, 2 Jun 2017 21:01:32 +0000 (17:01 -0400)
committerBill Erickson <berickxx@gmail.com>
Mon, 8 Jan 2018 20:22:32 +0000 (15:22 -0500)
commit45e0ae8d3dd4a3e1aa330755f1733a8fa82b8f09
tree51edb043627c9bac909b0db4c3ee0b855325474e
parent21d821cf4d5092d26a0a9d987655dd1843f68663
LP#1739803 Angular 1.6 + dependency updates

Rebuild package.json starting with Angular 1.6.  This resulted in a
number of dependency updates and small changes required to keep the
dependencies happy.

* Teach print.js to use promise-style $http responses, instead of
  .success() and .error()
* Remove unused '$http' dependency in hatch.js
* Fix egDate custom test matcher to work with newer version of
  karma-jasmine.
* Build IDL for test scripts using Grunt/exec "cwd" since Grunt fails to
  understand "&&" commands, like 'cd foo && bar'.
* For correctness, move dev-only depenencies into the package.json
  devDependencies section.

See also
https://docs.angularjs.org/guide/migration#migrating-from-1-5-to-1-6

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/web/js/ui/default/staff/Gruntfile.js
Open-ILS/web/js/ui/default/staff/package.json
Open-ILS/web/js/ui/default/staff/services/hatch.js
Open-ILS/web/js/ui/default/staff/services/print.js
Open-ILS/web/js/ui/default/staff/test/unit/egDate.js