Commit Graph

309 Commits

Author SHA1 Message Date
dependabot[bot]
cd89a4db9e Bump @babel/plugin-proposal-object-rest-spread from 7.2.0 to 7.3.0 (#2842)
Bumps [@babel/plugin-proposal-object-rest-spread](https://github.com/babel/babel) from 7.2.0 to 7.3.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.2.0...v7.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-22 08:46:42 -05:00
dependabot[bot]
cc2f514d05 Bump eslint-config-prettier from 3.5.0 to 3.6.0 (#2821)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v3.5.0...v3.6.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-21 12:49:52 -05:00
dependabot[bot]
fd41131579 Bump prettier from 1.15.3 to 1.16.0 (#2819)
Bumps [prettier](https://github.com/prettier/prettier) from 1.15.3 to 1.16.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/1.15.3...1.16.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-21 12:29:43 -05:00
dependabot[bot]
b7f0f2fd8e Bump nock from 11.0.0-beta.3 to 11.0.0-beta.4 (#2818)
Bumps [nock](https://github.com/nock/nock) from 11.0.0-beta.3 to 11.0.0-beta.4.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/beta/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-21 12:23:29 -05:00
dependabot[bot]
a438ea7eee Bump sinon from 7.2.2 to 7.2.3 (#2820)
Bumps [sinon](https://github.com/sinonjs/sinon) from 7.2.2 to 7.2.3.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v7.2.2...v7.2.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-21 12:05:34 -05:00
dependabot[bot]
433f92fc1e Bump eslint from 5.12.0 to 5.12.1 (#2822)
Bumps [eslint](https://github.com/eslint/eslint) from 5.12.0 to 5.12.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v5.12.0...v5.12.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-21 12:00:55 -05:00
Paul Melnikow
a8e27d139d Fix Docker build (#2815)
Close #2814
2019-01-20 15:01:07 -05:00
dependabot[bot]
cd8528c30f Bump eslint-plugin-react from 7.12.3 to 7.12.4 (#2804)
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.12.3 to 7.12.4.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.12.3...v7.12.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-18 06:46:46 -05:00
dependabot[bot]
835c21faf3 Bump react-select from 2.2.0 to 2.3.0 (#2805)
Bumps [react-select](https://github.com/JedWatson/react-select) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/JedWatson/react-select/releases)
- [Changelog](https://github.com/JedWatson/react-select/blob/master/.sweet-changelogs.js)
- [Commits](https://github.com/JedWatson/react-select/compare/v2.2.0...v2.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-18 06:40:43 -05:00
dependabot[bot]
ab5fee2bfd Bump eslint-config-prettier from 3.4.0 to 3.5.0 (#2794)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v3.4.0...v3.5.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-17 20:02:26 +00:00
dependabot[bot]
f2a6569037 Bump got from 9.5.1 to 9.6.0 (#2795)
Bumps [got](https://github.com/sindresorhus/got) from 9.5.1 to 9.6.0.
- [Release notes](https://github.com/sindresorhus/got/releases)
- [Commits](https://github.com/sindresorhus/got/compare/v9.5.1...v9.6.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-17 19:59:28 +00:00
Paul Melnikow
9b4ff6a567 Unfork path-to-regexp (#2757)
pillarjs/path-to-regexp#176 has been released.
2019-01-14 20:41:48 +00:00
dependabot[bot]
eacb331f11 Bump fast-xml-parser from 3.12.11 to 3.12.12 (#2758)
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 3.12.11 to 3.12.12.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-14 20:38:34 +00:00
dependabot[bot]
be3102b08a Bump simple-icons from 1.9.17 to 1.9.18 (#2760)
Bumps [simple-icons](https://github.com/simple-icons/simple-icons) from 1.9.17 to 1.9.18.
- [Release notes](https://github.com/simple-icons/simple-icons/releases)
- [Commits](https://github.com/simple-icons/simple-icons/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-14 20:27:44 +00:00
dependabot[bot]
e999d9d018 Bump eslint-config-prettier from 3.3.0 to 3.4.0 (#2759)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v3.3.0...v3.4.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-14 11:24:22 -05:00
dependabot[bot]
a6f09913e7 Bump got from 9.5.0 to 9.5.1 (#2761)
Bumps [got](https://github.com/sindresorhus/got) from 9.5.0 to 9.5.1.
- [Release notes](https://github.com/sindresorhus/got/releases)
- [Commits](https://github.com/sindresorhus/got/compare/v9.5.0...v9.5.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-14 11:02:28 -05:00
chris48s
697ff80dad limit the size of response we will accept (#2726)
limit the size of response we will accept
2019-01-11 21:50:49 +00:00
Paul Melnikow
6c2b040fa6 Better modal (#2554)
- With examples using `pattern`s, allow building the URL from its component parts, including the query string.
- Provide a button to copy the link, with an animation.

To enable this for other badges, convert them to use a `pattern`: #1961.
2019-01-10 21:04:07 -05:00
Paul Melnikow
e528c85ed4 Refactor [GithubContributors] and [NpmCollaborators] and change color (#2715)
See examples in https://github.com/badges/shields/pull/2705#issue-243107694
2019-01-09 16:29:57 -05:00
dependabot[bot]
7e1b1121a4 Bump eslint-plugin-mocha from 5.2.0 to 5.2.1 (#2712)
Bumps [eslint-plugin-mocha](https://github.com/lo1tuma/eslint-plugin-mocha) from 5.2.0 to 5.2.1.
- [Release notes](https://github.com/lo1tuma/eslint-plugin-mocha/releases)
- [Changelog](https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/lo1tuma/eslint-plugin-mocha/compare/5.2.0...5.2.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-09 00:47:32 -05:00
Paul Melnikow
d1c5378bf0 Integrate new path-to-regexp with trailing optionals (#2644)
Fix #2497

Ref pillarjs/path-to-regexp#176
2019-01-08 18:50:47 -05:00
dependabot[bot]
8b61dc6fbb Bump danger from 7.0.1 to 7.0.2 (#2667)
Bumps [danger](https://github.com/danger/danger-js) from 7.0.1 to 7.0.2.
- [Release notes](https://github.com/danger/danger-js/releases)
- [Changelog](https://github.com/danger/danger-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/danger/danger-js/compare/7.0.1...7.0.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-07 18:34:45 +00:00
dependabot[bot]
12cf218d8e Bump chalk from 2.4.1 to 2.4.2 (#2665)
Bumps [chalk](https://github.com/chalk/chalk) from 2.4.1 to 2.4.2.
- [Release notes](https://github.com/chalk/chalk/releases)
- [Commits](https://github.com/chalk/chalk/compare/v2.4.1...v2.4.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-07 18:27:33 +00:00
dependabot[bot]
e33cd9bd7c Bump js-yaml from 3.12.0 to 3.12.1 (#2666)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.12.0 to 3.12.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.12.0...3.12.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-07 12:40:01 -05:00
dependabot[bot]
25ab3f6add Bump eslint-plugin-react from 7.12.2 to 7.12.3 (#2669)
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.12.2 to 7.12.3.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.12.2...v7.12.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-07 11:41:32 -05:00
dependabot[bot]
e285d0737d Bump eslint from 5.11.1 to 5.12.0 (#2668)
Bumps [eslint](https://github.com/eslint/eslint) from 5.11.1 to 5.12.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v5.11.1...v5.12.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-07 11:36:30 -05:00
dependabot[bot]
85146db12a Bump eslint-plugin-node from 8.0.0 to 8.0.1 (#2664)
Bumps [eslint-plugin-node](https://github.com/mysticatea/eslint-plugin-node) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mysticatea/eslint-plugin-node/releases)
- [Commits](https://github.com/mysticatea/eslint-plugin-node/compare/v8.0.0...v8.0.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-07 11:33:57 -05:00
Paul Melnikow
fa5309400d PaaS, CI, and production-friendly config (#2626)
This implements the configuration mechanism I described in #2621. The heavy lifting is delegated to [node-config](https://github.com/lorenwest/node-config) with a minor assist from [dotenv](https://github.com/motdotla/dotenv).

`private/secret.json` has been replaced with environment variables and/or `config/local.yml`. See `doc/server-secrets.md`.
2019-01-06 10:42:09 -05:00
dependabot[bot]
9bc2e512b7 Bump nock from 11.0.0-beta.2 to 11.0.0-beta.3 (#2627)
Bumps [nock](https://github.com/nock/nock) from 11.0.0-beta.2 to 11.0.0-beta.3.
- [Release notes](https://github.com/nock/nock/releases)
- [Changelog](https://github.com/nock/nock/blob/beta/CHANGELOG.md)
- [Commits](https://github.com/nock/nock/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-04 12:06:00 -05:00
dependabot[bot]
67f6e2c490 Bump emojic from 1.1.14 to 1.1.15 (#2628)
Bumps [emojic](https://github.com/IonicaBizau/emojic) from 1.1.14 to 1.1.15.
- [Release notes](https://github.com/IonicaBizau/emojic/releases)
- [Commits](https://github.com/IonicaBizau/emojic/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-04 11:49:40 -05:00
dependabot[bot]
576f30fce5 Bump react from 16.6.3 to 16.7.0 (#2585)
* Bump react from 16.6.3 to 16.7.0

Bumps [react](https://github.com/facebook/react) from 16.6.3 to 16.7.0.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/compare/v16.6.3...v16.7.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>

* Bump react-dom from 16.6.3 to 16.7.0

Bumps [react-dom](https://github.com/facebook/react) from 16.6.3 to 16.7.0.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/compare/v16.6.3...v16.7.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-03 21:18:08 +00:00
dependabot[bot]
b93e3ac26f Bump @babel/polyfill from 7.0.0 to 7.2.5 (#2587)
Bumps [@babel/polyfill](https://github.com/babel/babel) from 7.0.0 to 7.2.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.0.0...v7.2.5)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-03 20:59:07 +00:00
dependabot[bot]
dfe2b1cd0a Bump next from 6.1.2 to 7.0.2 (#2508)
Bumps [next](https://github.com/zeit/next.js) from 6.1.2 to 7.0.2.
- [Release notes](https://github.com/zeit/next.js/releases)
- [Commits](https://github.com/zeit/next.js/compare/6.1.2...7.0.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-03 09:52:12 -05:00
dependabot[bot]
191f75b634 Bump eslint-plugin-react from 7.12.1 to 7.12.2 (#2624)
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.12.1 to 7.12.2.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.12.1...v7.12.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-03 09:06:46 -05:00
dependabot[bot]
1502d1aa5b Bump rimraf from 2.6.2 to 2.6.3 (#2623)
Bumps [rimraf](https://github.com/isaacs/rimraf) from 2.6.2 to 2.6.3.
- [Release notes](https://github.com/isaacs/rimraf/releases)
- [Commits](https://github.com/isaacs/rimraf/compare/v2.6.2...v2.6.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-03 01:09:14 -05:00
dependabot[bot]
84183a3fc9 Bump joi from 14.3.0 to 14.3.1 (#2610)
Bumps [joi](https://github.com/hapijs/joi) from 14.3.0 to 14.3.1.
- [Release notes](https://github.com/hapijs/joi/releases)
- [Changelog](https://github.com/hapijs/joi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hapijs/joi/compare/v14.3.0...v14.3.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-01 21:54:01 -05:00
dependabot[bot]
e09f5ca034 Bump styled-components from 4.1.2 to 4.1.3 (#2556)
Bumps [styled-components](https://github.com/styled-components/styled-components) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/styled-components/styled-components/releases)
- [Changelog](https://github.com/styled-components/styled-components/blob/master/CHANGELOG.md)
- [Commits](https://github.com/styled-components/styled-components/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-01 21:40:34 -05:00
dependabot[bot]
860c426a0c Bump eslint-plugin-react from 7.11.1 to 7.12.0 (#2609)
* Bump eslint-plugin-react from 7.11.1 to 7.12.0

Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.11.1 to 7.12.0.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.11.1...v7.12.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>

* Fix lint errors

* Better link

* Re-bump package version and remove lint disable
2019-01-01 21:22:09 -05:00
dependabot[bot]
02151cb700 Bump husky from 1.2.0 to 1.3.1 (#2608)
Bumps [husky](https://github.com/typicode/husky) from 1.2.0 to 1.3.1.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v1.2.0...v1.3.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-01 15:54:03 +01:00
dependabot[bot]
38ede19e84 Bump danger from 6.1.12 to 7.0.1 (#2600)
Bumps [danger](https://github.com/danger/danger-js) from 6.1.12 to 7.0.1.
- [Release notes](https://github.com/danger/danger-js/releases)
- [Changelog](https://github.com/danger/danger-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/danger/danger-js/compare/6.1.12...7.0.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-30 21:44:02 +00:00
dependabot[bot]
e024020258 Bump simple-icons from 1.9.16 to 1.9.17 (#2596)
Bumps [simple-icons](https://github.com/simple-icons/simple-icons) from 1.9.16 to 1.9.17.
- [Release notes](https://github.com/simple-icons/simple-icons/releases)
- [Commits](https://github.com/simple-icons/simple-icons/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-30 21:36:43 +00:00
dependabot[bot]
27da1aa659 Bump eslint from 5.11.0 to 5.11.1 (#2595)
Bumps [eslint](https://github.com/eslint/eslint) from 5.11.0 to 5.11.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v5.11.0...v5.11.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-28 10:37:37 -05:00
dependabot[bot]
5548027f12 Bump prom-client from 11.2.0 to 11.2.1 (#2583)
Bumps [prom-client](https://github.com/siimon/prom-client) from 11.2.0 to 11.2.1.
- [Release notes](https://github.com/siimon/prom-client/releases)
- [Changelog](https://github.com/siimon/prom-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/siimon/prom-client/compare/v11.2.0...v11.2.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-26 17:15:56 -05:00
James Cahill
74faf163b7 Use cross-env for environment variables (#2589)
Fix #2580
2018-12-26 17:01:02 -05:00
dependabot[bot]
892a54cfd5 Bump eslint from 5.10.0 to 5.11.0 (#2586)
Bumps [eslint](https://github.com/eslint/eslint) from 5.10.0 to 5.11.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v5.10.0...v5.11.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-24 19:30:56 +00:00
dependabot[bot]
c7c82e4fc9 Bump fast-xml-parser from 3.12.10 to 3.12.11 (#2582)
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 3.12.10 to 3.12.11.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-24 19:23:54 +00:00
dependabot[bot]
35f9d84701 Bump snap-shot-it from 6.2.7 to 6.2.8 (#2584)
Bumps [snap-shot-it](https://github.com/bahmutov/snap-shot-it) from 6.2.7 to 6.2.8.
- [Release notes](https://github.com/bahmutov/snap-shot-it/releases)
- [Commits](https://github.com/bahmutov/snap-shot-it/compare/v6.2.7...v6.2.8)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-24 19:16:59 +00:00
Paul Melnikow
ea0d2fb641 Fix frontend coverage in CI, update dev scripts, adopt npm-run-all (#2569) 2018-12-23 22:06:38 -05:00
Paul Melnikow
57f826962b Use beta release of nock (#2579) 2018-12-23 21:45:15 -05:00
Paul Melnikow
5c665a70da Overhaul initialization pattern for server + server tests (#2519)
Because `server.js` was long a monolith, there are a bunch of shims in place to facilitate unit testing. A few of the test suites share port 1111 which means if one of them fails to set up, the port won't be freed and other unrelated tests will fail. Some of the tests which trigger server setup include timeouts which were added to give setup code time to run. In one the test suites, we actually modify `process.argv`, which seems completely gross.

This implements a few changes which improve this:

1. Separate the server from the server startup script, splitting out `lib/server.js`.
2. Inject config into the server and validate the config schema.
3. Inject config into the service test runner.
4. Use `portfinder`, a popular utility for grabbing open ports during testing.
5. Switch more of the setup code from callbacks to async-await.

Overall it leaves everything acting more reliably and looking rather cleaner, if in a few places more verbose.

It also fixes the root cause of #1455, a `setTimeout` in `rate-limit`. Off and on during development of this changeset, Mocha would decide not to exit, and that turned out to be the culprit.

Fix #1455
2018-12-23 11:24:22 -05:00