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>
Wed, 14 Feb 2018 18:17:46 +0000 (13:17 -0500)
commit796fe7a743055a2cb8186701d7c2c8979afeef39
treecbd9f3b33aa708e8ab3dd125949477a0c76b90fa
parent1acf4de64ecdcaac3869f95c17c9e580478692ec
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