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

8 Коммитов

Автор SHA1 Сообщение Дата
Ed Morley 23e7c97387 Bug 1373376 - Remove broken webpack-md5-hash configuration
The webpack-md5-hash plugin attempts to make the generated hashes
less susceptible to churn when chunks haven't actually changed.
However it requires careful use and clearly wasn't set up correctly,
since the manifest file hashes were always the same regardless of
content, causing stale files and runtime errors in production.

Once Neutrino v6 is released, we can use its new in-built support
for caching to save having to implement this ourselves.
2017-06-15 21:24:09 +01:00
Shruti Jasoria eeaa505a2f Bug 1164891- Visualize the distribution of performance test results using Canvas API (#2530) 2017-06-13 13:29:54 -04:00
Ed Morley 4d5c0a80e1 Bug 1364010 - Update angular-toarrayfilter from 1.0.1 to 1.0.2
The only change is the move of `karma` from angular-toarrayfilter's
`dependencies` to `devDependencies`, which stops us unnecessarily
pulling in an ancient version of karma, and the resultant security
warnings.
2017-05-15 14:07:19 +01:00
Ed Morley 0c42d47c9d Bug 1364010 - Update JS dependencies
Packages have been updated as follows:
* `angular*`: Latest patch version, since it doesn't follow semver.
* `react*`: Latest patch version, since in 15.5 some obtrusive
  deprecation warnings were added, and `enzyme`'s peer-dependencies
  need adjusting too.
* `enzyme`: Unchanged, since the newer minor version gives warnings.
* all other packages have been bumped to their latest minor version.

This was performed using:
```
sudo yarn global add npm-check-updates
ncu --upgrade --upgradeAll --semverLevel minor
ncu --upgrade --upgradeAll --semverLevel major --reject '/^(angular|react|enzyme).*/'
```

In addition, `karma-coverage-istanbul-reporter`, `taskcluster-client`
and `hawk` have been bumped to the latest major versions since their
changelogs don't show any breaking changes that impact us.

The lock file was then regenerated using:
```
rm -rf node_modules/ yarn.lock
yarn install --no-bin-links
```

At some point later we'll want to perform the more involved `angular*`,
`react*`, `enzyme`, `jquery` and `neutrino*` updates.
2017-05-11 23:10:47 +01:00
Casey Williams 5a1c8c6af3 Bug 1336556 - Add a standalone eslint task
Installs eslint explicitly to avoid warning messages on initial
node_modules install.  Adds a standalone eslint task via `yarn run
lint`.
2017-03-29 22:07:24 +01:00
Casey Williams c19bfb2da9 Bug 1336556 - Cache angular partials with webpack
Load the contents of the various angular partials into the template
cache at build time so that they don't need to be built separately.
2017-03-29 22:07:24 +01:00
Casey Williams afa7d63d1d Bug 1336556 - Replace grunt build system with neutrino/webpack 2017-03-29 22:07:24 +01:00
Ed Morley 51c386ee21 Bug 1343928 - Switch from npm to yarn
Since it's faster, deterministic and doesn't given obscure errors when
using `--no-bin-links` (which is required for both npm and yarn on
Windows hosts), and as such unblocks the work in bug 1343624.

Many of the commands are the same as with npm. See:
https://yarnpkg.com/en/docs/usage
2017-03-13 15:27:46 +00:00