Граф коммитов

43 Коммитов

Автор SHA1 Сообщение Дата
William Lachance 83b079c682 Bug 1297722 - Use babel to transpile es6 code to es5
The uglify step of the grunt build won't work otherwise. Not crazy about the
way I did this, but I couldn't find any better way offhand.
2016-08-24 14:42:15 -04:00
Ed Morley 7328cc20d8 Bug 1272207 - Update from nodejs 5.3.0 to 6.2.0 on Travis/Heroku
Since it includes improvements to npm as well as nodejs security fixes.
2016-05-26 15:47:12 +01:00
Ed Morley 901a455777 Bug 1274054 - Move minimist from dependencies to devDependencies
Since it's only required when developing locally, so doesn't need to be
installed in production.
2016-05-26 15:47:12 +01:00
crosscent 5053a342f0 Bug 1274054 - Don't require a local.conf.js for local development 2016-05-20 08:32:29 -04:00
Ed Morley 86b636650b Bug 1237244 - Update to karma v0.13.19 to support new socket.io API
socket.io released backwards incompatible API changes in a minor version
update, causing failures during our ui-tests travis run. See:
https://github.com/socketio/socket.io/issues/2368

However the latest version of Karma has added support for it:
https://github.com/karma-runner/karma/issues/1782
2016-01-06 13:56:59 +00:00
Ed Morley 5880601144 Bug 1234897 - Pin the version of nodejs used on Heroku
https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version
2015-12-23 19:07:26 +00:00
Ed Morley 830d47924b Bug 1220479 - Update grunt-eslint to 17.3.1 and eslint to 1.8.0
The move to eslint 1.x changes the way rules are managed, see:
http://eslint.org/docs/user-guide/migrating-to-1.0.0

There are slightly fewer rules enabled with "eslint:recommended" than
were by default before, but we'll enable more non-default rules later.
2015-11-06 18:01:25 +00:00
Ed Morley de1ab1ef52 Remove stray whitespace from package.json 2015-11-01 23:32:58 +00:00
Ed Morley 99adcdac0e Bug 1210738 - Declare the license type in package.json
To suppress the warning shown when using `npm install`.
2015-10-06 13:16:04 +01:00
Ed Morley f4e915bdbe Bug 1201523 - Add grunt-cli to local dependencies list
Normally grunt-cli (a wrapper around grunt to allow it to be easily run
from the command line) would be installed globally, so that it is on the
PATH. However to save having to do this on prod/Heroku/Travis, we
install it locally - and it will then be available via:
`./node_modules/.bin/grunt`
...or else via just `grunt`, if referenced inside a package.json scripts
section.
2015-09-30 17:53:08 +01:00
Ed Morley 440e929916 Bug 1206670 - Update karma to v0.13.10 and karma-jasmine to v0.3.6
As of karma-jasmine 0.3.0, the jasmine library is not bundled with
karma-jasmine, and so jasmine-core has to be installed separately.

jasmine-jquery also has to be updated, since the old version was not
compatible. A duplicate jasmine-jquery file that was outside of the
tests vendor directory has also been removed.
2015-09-22 19:09:16 +01:00
Ed Morley 415c343b80 Bug 1206670 - Update grunt-html-angular-validate to v0.5.2
It's not yet used in Travis, but we'll hopefully start using it in the
future.
2015-09-22 19:09:15 +01:00
Ed Morley 32e3e908eb Bug 1206670 - Pin packages in devDependencies to explicit versions
To avoid Travis failing if new package authors don't follow semver and
break things in a point release.

This is effectively a no-op, compared to a clean install using the prior
package.json.
2015-09-22 19:09:14 +01:00
Ed Morley 9735762568 Bug 1206670 - Remove karma-cli from devDependencies
The karma package already comes with a wrapper script, so there's no
need to install another locally. The intended use for karma-cli is to
install it globally, which cannot be done from package.json.
2015-09-22 19:09:13 +01:00
Ed Morley 9ce4794d0e Bug 1206670 - Update dependencies for grunt build to latest versions
Package                      Current   Latest
grunt-contrib-cssmin          0.12.3   0.14.0
grunt-contrib-copy             0.8.0    0.8.1
grunt-contrib-uglify           0.9.1    0.9.2
grunt-usemin                   3.0.0    3.1.1
2015-09-22 19:09:12 +01:00
Ed Morley 52a99d7a78 Bug 1206108 - Pin load-grunt-tasks to v3.2.0
The previous value of "^3.2.0" is equivalent to "4 > version >= 3.2.0".
We should pin to a specific version to stop deployments breaking if
a new release doesn't behave as expected. See:
https://nodesource.com/blog/semver-tilde-and-caret

We should also do the same for devDependencies, but let's do that in
another bug, since it doesn't affect production.
2015-09-19 02:09:59 +01:00
Ed Morley d5e7b5ca49 Bug 1206108 - Separate `grunt build` npm packages from those for testing
To run grunt build as part of deploy, we're going to need to npm install
the dependencies required for it. However we do not need to install the
testing related packages, so by splitting the two between `dependencies`
and `devDependencies` we'll have more control. eg:
`npm install --production` will only install those under `dependencies`.

See:
https://docs.npmjs.com/files/package.json#dependencies
https://docs.npmjs.com/files/package.json#devdependencies
https://docs.npmjs.com/misc/config#production
2015-09-19 02:09:57 +01:00
William Lachance 658927bdf7 Bug 1183367 - Add a grunt target to run eslint on JS frontend 2015-07-14 13:40:18 -04:00
Jonathan French 92c346a18c Bug 1170330 - Update treeherder package.json post repo-merge 2015-06-01 21:12:59 -04:00
Ed Morley ee41133209 Bug 1145083 - Update grunt node packages & pin to specific versions
We were previously using '~' (which allows for N.N.*) and '^' (which
allows for N.*.*) for the grunt node package version numbers. This meant
that each person running grunt build could end up with different output,
since the versions were not pinned. Instead, all packages are now pinned
to a specific version - the latest currently available (which in many
cases is not far off the version someone running |npm install| in a
clean repo would have gotten anyway, due to the use of '^' and '~').
2015-05-20 17:18:35 +01:00
Ed Morley f2f362e430 Bug 1145083 - Remove unused grunt-filerev node package
We switched to grunt-cache-busting some time ago and so no longer use
grunt-filerev.
2015-05-20 17:18:34 +01:00
Ed Morley 2efb703f16 Bug 1056877 - Update UI path references after directory moves
As part of merging the UI repo into this one, the following directory
moves were performed:
  webapp/app/                   ->  ui/
  webapp/test/                  ->  tests/ui/
  webapp/config/                ->  tests/ui/config/
  webapp/scripts/               ->  tests/ui/scripts/
  webapp/scripts/web-server.js  ->  web-server.js
2015-05-20 16:55:55 +01:00
Ed Morley da294ba761 Bug 1056877 - Stop using/referring to the separate treeherder-ui repo
Since it has now been merged into this one.
2015-05-20 16:55:55 +01:00
mdoglio 668d50c268 Bug 1096257 - pin karma-jasmine version 2014-11-10 13:52:41 +00:00
Ed Morley 3597e08d3e Bug 1080419 - Add an optional grunt HTML validator
Run using |grunt htmlangular|
2014-10-23 15:05:37 +01:00
Ed Morley 6252e0748d Bug 1080419 - Put devDependencies in alphabetical order
This means if |npm install foo --save-dev| is now used in the future,
the diff will be much clearer, since it won't also change the order of
existing entries.
2014-10-09 10:51:26 +01:00
Cameron Dawson e017e215bc bug 1067961- minifying and versioning templates 2014-09-18 16:00:49 -07:00
Cameron Dawson 55035c5857 bug 1067961 - add versioning to css and js assets 2014-09-18 11:56:50 -07:00
Ed Morley f67f77b2a1 Bug 1063483 - Define repository in package.json to suppress npm warning 2014-09-05 13:20:50 +01:00
George Miroshnykov 2dd59c14a1 package.json: remove unnecessary `./node_modules/.bin` from `scripts.test`
`./node_modules/.bin` is automatically added to PATH when running npm commands,
so there's no need to explicitly mention it.
2014-05-20 17:24:25 +03:00
Jonathan Eads d0d6b5ff3d merged master 2014-04-25 11:04:25 -07:00
Jonathan Eads a2431b6c4a added clean step 2014-04-25 10:55:13 -07:00
Jonathan Eads 562fc9a0c8 cleaned up 2014-04-24 18:17:56 -07:00
Jonathan Eads 3e9261092c standardized angularjs dependency ingention syntax to work with minification 2014-04-24 18:10:30 -07:00
mdoglio 330b5b89cd improve layout and usability of the simial jobs plugin 2014-04-24 13:26:01 +02:00
Jonathan Eads 1560b80dc3 added grunt build for js/css 2014-04-23 13:34:15 -07:00
Cameron Dawson f000fbefa7 fix package.json 2014-04-10 15:26:41 -07:00
Cameron Dawson c1ccab4b44 resultset model fixes and passing unit tests 2014-04-10 15:01:00 -07:00
Cameron Dawson 92b8396955 another 2014-04-08 11:21:55 -07:00
Cameron Dawson 8289a3ac89 more... 2014-04-08 11:04:14 -07:00
Cameron Dawson 4a2fd78b97 travis fix 2014-04-08 10:53:35 -07:00
Cameron Dawson 78a45cb9c4 another travis fix 2014-04-08 10:45:31 -07:00
Cameron Dawson aae008beef travis change 2014-04-08 10:40:33 -07:00