Commit graph

268 commits

Author SHA1 Message Date
Renovate Bot
98ec318109
chore(deps): update dependency sinon to v5.0.7 2018-05-11 15:54:21 -07:00
Renovate Bot
f6fc411b55
chore(deps): update dependency sinon to v5.0.6 2018-05-11 15:54:21 -07:00
Renovate Bot
5e3b64263f
chore(deps): update dependency sinon to v5.0.5 2018-05-11 15:54:20 -07:00
Renovate Bot
95d23e7868
chore(deps): update dependency @types/node to v9.6.12 2018-05-11 15:54:20 -07:00
Renovate Bot
e18e23119f
chore(deps): update dependency @types/node to v9.6.11 2018-05-11 15:54:20 -07:00
Evans Hauser
0cccdb9cc5
root: add @types/graphql to package.json to fix cache-control compilation error 2018-05-11 15:53:13 -07:00
Renovate Bot
22d13f2ec8
chore(deps): update dependency @types/node to v9.6.9 2018-05-11 15:53:07 -07:00
Renovate Bot
f9d919c31e
chore(deps): update dependency sinon to v5.0.3 2018-05-11 15:53:06 -07:00
Renovate Bot
b7595b30e3
chore(deps): update dependency sinon to v5.0.2 2018-05-11 15:53:06 -07:00
Renovate Bot
040737ac03
chore(deps): update dependency @types/node to v9.6.8 2018-05-11 15:53:06 -07:00
renovate[bot]
8915ef82f4
chore(deps): update dependency sinon to v5 (#1010) 2018-05-11 15:53:06 -07:00
Renovate Bot
1a0e27e0e7
chore(deps): update dependency @types/node to v9.6.7 2018-05-11 15:53:05 -07:00
Jesse Rosenberger
9ab4f9d0f8
Merge pull request #942 from apollographql/docs-overhaul
[Work in Progress] 2.0 Documentation
2018-05-02 17:41:48 -07:00
Renovate Bot
c43d9bda04 chore(deps): update dependency remap-istanbul to v0.11.1 2018-04-26 07:02:11 +00:00
Renovate Bot
297e501231 chore(deps): update dependency lerna to v2.11.0 2018-04-25 11:02:21 +00:00
Jesse Rosenberger
c65b7a57bf
Merge remote-tracking branch 'origin/master' into docs-overhaul 2018-04-23 15:28:29 +03:00
Renovate Bot
d74f5e78e6 chore(deps): update dependency @types/chai to v4.1.3 2018-04-21 06:56:11 +00:00
Renovate Bot
591b0f2cae chore(deps): update dependency typescript to v2.8.3 2018-04-20 10:02:15 +00:00
Renovate Bot
cc579227c8 chore(deps): update dependency @types/node to v9.6.6 2018-04-20 08:02:16 +00:00
Renovate Bot
64a01c94f8 chore(deps): update dependency @types/mocha to v5.2.0 2018-04-20 06:48:48 +00:00
Renovate Bot
5bebbf12b1 chore(deps): update dependency mocha to v5.1.1 2018-04-19 07:06:26 +00:00
renovate[bot]
625bf7ba8e chore(deps): update dependency mocha to v5.1.0 (#908) 2018-04-18 15:47:39 +03:00
Jesse Rosenberger
0c6b1bd358
Remove dev-dependency on npm-check-updates. (#959)
It appears that the intention of including `npm-check-updates` in this
repository was to provide an easy way to update dependent packages from the
console.  This was originally introduced in [Ref 0].

Unfortunately, the `npm-check-updates` package has an explicit dependency on
`npm@3`, which means that it includes the entire `npm` in its
`node_modules`.

I originally observed this when analyzing the test failures in [Ref 1] and
[Ref 2] which indicated (in its npm error) that the npm version was v3.10.10.

The explanation for this is relatively straight-forward: Older versions of
npm uses an nested tree of `node_modules` directories while newer versions
hoist `node_modules` (i.e. flatten) to the highest location possible and
only nesting dependencies to meet conflicting version constraints.

Unfortunately, that means that once `npm@3` was installed by the newer
`npm@5` as a dependency of `npm-check-updates`, it was hoisted to the
top-level `node_modules` directory, exposing `npm@3` to `npm-scripts` which
directly call `npm` commands on the nested packages, as is done on this
monorepo (with, for example the `postinstall` script which runs `npm run
compile` in each of the server middleware packages). :face_palm:

Overall, this package doesn't seem to provide enough value for us to
continue to include it, especially since we have Renovate - coupled with the
same information being available from `npm outdated` and `npm update`
commands.  I'm not sure why we would want to install newer versions than our
"package.json" allows.

Futhermore, looking at the issue tracker on `npm-check-updates`, I'm
assuming this is the reason I've seen "`dezalgo`" install errors [Ref 3] on
this repository recently and _possibly_ even a bizarrely corrupted npm cache
I encountered recently (though admittedly, that could be a stretch).

See also: [Ref 4].

[Ref 0]: https://github.com/apollographql/apollo-server/commit/d7ca07f7
[Ref 1]: https://circleci.com/gh/apollographql/apollo-server/1915
[Ref 2]: https://app.netlify.com/sites/apollo-server-docs/deploys/5acdd3b7
[Ref 3]: https://github.com/tjunnone/npm-check-updates/issues/420
[Ref 4]: https://github.com/tjunnone/npm-check-updates/issues/423
2018-04-17 22:59:00 +03:00
Renovate Bot
c87cce9a2b chore(deps): update dependency prettier to v1.12.1 2018-04-17 16:02:50 +00:00
Renovate Bot
05222b121b chore(deps): update dependency lerna to v2.10.2 2018-04-17 14:02:35 +00:00
Renovate Bot
e1cfd83124 chore(deps): update dependency @types/node to v9.6.5 2018-04-14 07:02:46 +00:00
Renovate Bot
6306f82d2f chore(deps): update dependency prettier to v1.12.0 2018-04-12 06:47:07 +00:00
Renovate Bot
85f0bf8fff chore(deps): update dependency lerna to v2.10.1 2018-04-11 11:03:02 +00:00
Jesse Rosenberger
1348e16924
🚨 Stop pretty-ing Markdown, at least for the time-being.
Prettier and I have different opinions about what legible markdown are.

I'm happy to remove this commit later.

cc @jbaxleyiii
2018-04-11 11:28:11 +03:00
Renovate Bot
a8c2af0aa1 chore(deps): update dependency @types/node to v9.6.4 2018-04-11 08:08:44 +00:00
Renovate Bot
4db35ab966 chore(deps): update dependency lerna to v2.10.0 2018-04-09 05:01:50 +00:00
Renovate Bot
aa3bca919a chore(deps): update dependency @types/node to v9.6.2 2018-04-04 06:40:18 +00:00
Renovate Bot
7492aebeb0 chore(deps): update dependency sinon to v4.5.0 2018-03-31 08:04:19 +00:00
Renovate Bot
ed7d504591 chore(deps): update dependency lerna to v2.9.1 2018-03-30 06:04:44 +00:00
Renovate Bot
adea7faa45 chore(deps): update dependency @types/node to v9.6.1 2018-03-29 07:14:41 +00:00
David Glasser
7d1165f1e0
All: allow cacheControl: {defaultMaxAge: 5}. (#922) 2018-03-28 13:56:22 -07:00
Renovate Bot
f59accf425 chore(deps): update dependency sinon to v4.4.10 2018-03-28 11:23:54 +00:00
Renovate Bot
ebf892f8cc chore(deps): update dependency typescript to v2.8.1 2018-03-28 09:01:57 +00:00
Renovate Bot
d8b09fbba0 chore(deps): update dependency sinon to v4.4.9 2018-03-27 08:02:28 +00:00
Jesse Rosenberger
ba45c990fd
Be more specific as to which files are run with lint-staged.
Ignoring the fact that the `.js*` was already _inclusive_ of `*.json`, we no
longer want `*.json` files linted (see [0] for more information), and I'm
not even sure why we would want to cover `*.md` rather than just `*.md`
(planning for a future markdown format?).

[0]: d4becdf6be
2018-03-26 17:16:17 +03:00
Renovate Bot
c941702253 chore(deps): update dependency @types/node to v9.6.0 2018-03-23 08:02:26 +00:00
Renovate Bot
e8058f812d chore(deps): update dependency sinon to v4.4.8 2018-03-22 07:03:34 +00:00
Renovate Bot
13b1d0803d chore(deps): update dependency remap-istanbul to v0.11.0 2018-03-17 10:00:56 +00:00
renovate[bot]
1bf6d1939f chore(deps): update dependency graphql to v0.13.2 (#891) 2018-03-17 11:35:52 +02:00
renovate[bot]
a3045fedcb chore(deps): update dependency sinon to v4.4.6 (#890) 2018-03-16 14:20:51 +02:00
renovate[bot]
709f6c227b chore(deps): pin dependency lint-staged to v6.1.1 (#879)
* chore(deps): update dependency lint-staged to v6.1.1

* Keep pinned versions + ensure `lint-staged` remains pre-7.x.

Follows-up on 17eab2d25c.

But makes sure that RenovateApp doesn't update this on our behalf.

Ref: https://renovateapp.com/docs/configuration-reference/configuration-options#allowedversions
2018-03-16 12:44:30 +02:00
Jesse Rosenberger
721ee0ce37
Further remove .json from prettier-ing.
Follow up on apollographql/apollo-server#886.

Ref: d4becdf6be
2018-03-16 11:09:15 +02:00
Jesse Rosenberger
d4becdf6be
Stop prettier-ing JSON files. (#886)
With a lack of comments and a fairly strict structure, it's arguable if JSON
files were ever meant to be pretty, but the method we're using right now is
a bit futile, especially considering that tools that we use to automatically
update JSON (specifically, package.json) don't run prettier themselves.

The most problematic rule is the 80 characters line limit.

Lines in JSON can be wrapped in, at most, one place: after the colon in the
key.  This means that as soon as a single npm-script declaration exceeds the
line-length rule a second time, it can't be wrapped again, resulting in a
violation of the very rule being enforced.

Clearly, I've always thought that prettying JSON is a bit silly, but the
straw that broke the camel's back here is automated package.json changes by
bots which update the repository via their automated PRs.

Perhaps in a day where the JavaScript package manifest finds a new file
extension (.js?, .yaml, .toml?), it will be able to reap the glitz and glamour
of being eloquently formatted, but until then we'll have to use long-line
wrapping in our editors.

...or shorten our npm scripts.
2018-03-16 10:47:08 +02:00
renovate[bot]
17eab2d25c chore(deps): pin lint-staged to v6.x range (#840)
* Pin `lint-staged` to maintain Node.js 4 support.

The newer version of `lint-staged` (v7) drops support for Node.js 4, a version of Node.js which is still under Maintenance LTS support and therefore we still need to test against.  Since this npm would be used in our Node.js 4 test matrix, it's imperative that we not jump to v7.
2018-03-13 18:10:34 +02:00
Renovate Bot
d50b6b6fb2 chore(deps): update dependency graphql to v0.13.1 2018-03-13 16:01:14 +00:00