Commit graph

317 commits

Author SHA1 Message Date
renovate[bot]
14c88c6c92
chore(deps): update dependency lint-staged to v8.1.4 (#2322) 2019-02-14 12:18:16 +00:00
Trevor Scheer
4f24edc1f6 Migrate apollo-graphql package to apollo-tooling repo (#2316)
The purpose of this PR is to remove the `apollo-graphql` package from this repository, to be added to `apollo-tooling` instead.

https://github.com/apollographql/apollo-tooling

Ref: https://github.com/apollographql/apollo-tooling/pull/1018
2019-02-14 12:41:58 +02:00
renovate[bot]
3498121caa
chore(deps): update dependency @types/memcached to v2.2.6 (#2321) 2019-02-14 08:26:37 +00:00
renovate[bot]
967061b90d
chore(deps): update dependency @types/lodash.sortby to v4.7.5 (#2320) 2019-02-14 07:21:49 +00:00
renovate[bot]
c84c1c7265
chore(deps): update dependency @types/lodash to v4.14.121 (#2319) 2019-02-14 06:22:52 +00:00
renovate[bot]
180557c4ea
chore(deps): update dependency @types/jest to v24.0.4 (#2318) 2019-02-14 05:24:37 +00:00
renovate[bot]
02ded39a72
chore(deps): update dependency @types/graphql to v14.0.7 (#2317) 2019-02-14 04:23:16 +00:00
renovate[bot]
bb21951994 chore(deps): update dependency jest-matcher-utils to v24 (#2229) 2019-02-13 21:07:07 +02:00
renovate[bot]
67c281fdd4 chore(deps): update dependency @types/jest to v24 (#2228) 2019-02-13 20:39:33 +02:00
Jesse Rosenberger
e7709588fb
Update to apollo-tools@0.3.3, even for nested dependencies.
There was a breaking change to `core-js` in `3.0.0-beta.12` which seems to
warrant this extra protection.
2019-02-13 16:16:45 +02:00
Jesse Rosenberger
27eb191c25
Additional package-lock.json changes.
When debugging the fix in b84770cdec, I
removed the `package-lock.json`, ran `npm install`, then individually
reviewed the fixes to better understand what happened.

I noted a few other differences in the `package-lock.json`, mostly due to
changes in `fsevents` (which internally switched to `bundledDependencies`),
and changes in `@apollographql/apollo-tools`.

I've reviewed these as well, and they all look reasonable, but wanted to put
them in a different commit for later bisecting purposes (hopefully a purpose
I won't have!).
2019-02-13 15:49:08 +02:00
Jesse Rosenberger
a5f26ebeee
Update package-lock.json to add optional dependencies.
I've added these on Mac, and I believe that Mac will no longer _remove_ them
after npm@6.6.0, so hopefully fix some `package-lock.json` flapping!
2019-02-13 15:39:53 +02:00
Jesse Rosenberger
b84770cdec
Update package-lock.json to fix type errors and solidify #2217.
Without this fix to `package-lock.json`, which it's not immediately clear to
me what was wrong (possibly a transitive error) there were type errors
manifesting on the `master` branch.
2019-02-13 15:34:03 +02:00
renovate[bot]
4d017c0447
chore(deps): update dependency codecov to v3.2.0 (#2311) 2019-02-13 06:20:57 +00:00
renovate[bot]
e0b60b2481
chore(deps): update dependency @types/node to v10.12.26 (#2310) 2019-02-13 05:22:43 +00:00
renovate[bot]
fa5e299d1a
chore(deps): update dependency @types/graphql to v14.0.6 (#2309) 2019-02-13 04:15:39 +00:00
Ben Newman
f65c0fcd5f
Update package-lock.json after adding sha.js and removing lodash. 2019-02-12 16:23:40 -05:00
renovate[bot]
73a450c335
chore(deps): update dependency lerna to v3.11.1 (#2301) 2019-02-12 05:21:31 +00:00
renovate[bot]
8b99aff0f0
chore(deps): update dependency @types/node to v10.12.25 (#2300) 2019-02-12 04:20:14 +00:00
renovate[bot]
f3760c6c6d
chore(deps): update dependency @types/node-fetch to v2.1.6 (#2292) 2019-02-09 05:21:23 +00:00
renovate[bot]
a6704cba6e
chore(deps): update dependency @types/node to v10.12.24 (#2291) 2019-02-09 04:24:15 +00:00
Jesse Rosenberger
67ddcc9f82 Revert "chore(deps): update dependency @types/aws-lambda to v8.10.19 (#2283)"
This reverts commit b493b09d64.
2019-02-08 22:12:24 +02:00
renovate[bot]
0c98fbdcff
chore(deps): update dependency typescript to v3.3.3 (#2286) 2019-02-08 07:18:32 +00:00
renovate[bot]
e685a421c4
chore(deps): update dependency lerna to v3.11.0 (#2285) 2019-02-08 06:20:21 +00:00
renovate[bot]
40d97a7929
chore(deps): update dependency @types/node to v10.12.23 (#2284) 2019-02-08 05:19:58 +00:00
renovate[bot]
b493b09d64
chore(deps): update dependency @types/aws-lambda to v8.10.19 (#2283) 2019-02-08 04:23:20 +00:00
Jesse Rosenberger
e971bdf8b4
TEMP: Revert "feat(Fastify) Apollo server Fastify integration #626 (#1971)"
This TEMPORARILY reverts commit 069110b353,
which was the result of the work done in #1971 by @rkorrelboom.

Unfortunately, we need to put this on ice while we wait for movement on a
package naming conflict.  The dialog surrounding this is under way, as
I've explained in the PR:

https://github.com/apollographql/apollo-server/pull/1971#issuecomment-456817749

I'm excited to re-land this in an upcoming version, but there's no reason to
block the 2.4.0 release for it right now.

I will open a new PR with the work from #1971 in due time.
2019-02-07 12:56:03 +02:00
Jesse Rosenberger
5666235119
Merge branch 'master' into release-2.4.0 2019-02-06 12:06:02 +02:00
renovate[bot]
e571f72f93
chore(deps): update dependency hapi to v17.8.4 (#2271) 2019-02-05 05:23:06 +00:00
renovate[bot]
b31d6a6961
chore(deps): update dependency @types/jest to v23.3.14 (#2270) 2019-02-05 04:19:42 +00:00
Jesse Rosenberger
4b8dc7c556
Update package-lock.json to finish #2217. 2019-02-04 18:14:56 +02:00
Jesse Rosenberger
d0998e7e28
Merge remote-tracking branch 'origin/master' into release-2.4.0 2019-02-04 17:22:15 +02:00
renovate[bot]
b206057456
chore(deps): update dependency prettier to v1.16.4 (#2268) 2019-02-04 12:20:22 +00:00
Jesse Rosenberger
060ec62cd1
Merge pull request #2259 from apollographql/abernix/engine-signatures-to-apollo-graphql
Move `apollo-engine-reporting` signatures into `apollo-graphql`.
2019-02-04 13:05:12 +02:00
renovate[bot]
79ccf888da
chore(deps): update dependency lint-staged to v8.1.3 (#2267) 2019-02-04 10:20:54 +00:00
renovate[bot]
316137f084
chore(deps): update dependency lerna to v3.10.8 (#2262) 2019-02-02 06:14:48 +00:00
renovate[bot]
babb774bfe
chore(deps): update dependency apollo-link-http to v1.5.11 (#2261) 2019-02-02 05:16:16 +00:00
renovate[bot]
16f2f155b8
chore(deps): update dependency apollo-link to v1.2.8 (#2260) 2019-02-02 04:16:24 +00:00
Jesse Rosenberger
21c274870f
Use lodash.sortby modularly, rather than all of lodash.
Currently, the only place that we use `lodash` in the entire `apollo-server`
repository is to utilize the `sortBy` function in this signature generation.

Looking at the bundle stats, it appears that lodash represents 7.1% of the
`apollo-server` package.  We're a server, so bundle size is generally less
of a concern, but it's still not to be ignored, particularly as we move into
worker environments.  More pressingly though, since this package will be
utilized by the `apollo` CLI, we'll be shaving precious download time off
the invocation of `npx apollo` if we can get this down.

By switching to the modular package (but still depending on `@types/lodash`
for _just_ the `ListIteratee` type — which we only need in development — we
should be able to trim 55.4kB minified (19.1kB minified+gzip'd) off the
`apollo-server` build.

cc @trevor-scheer @jbaxleyiii @martijnwalraven
2019-02-01 20:40:14 +02:00
Jesse Rosenberger
e565226370
Move apollo-engine-reporting signature calculations to new apollo-graphql.
Many of these signature calculation functions are now utilized in tools or
helpers which are not directly related to `apollo-server` functionality,
including various aspects of the `apollo` CLI which live within
`apollo-tooling`.

Currently, because of `apollo`'s dependency on `apollo-engine-reporting` for
this signature, this requires bringing in the entire dependency tree which
`apollo-server-core` relies on since `apollo-engine-reporting` depends on
`apollo-server-core`.

By moving this into this new `apollo-graphql` utility library, we're able to
trim that rather hefty dependency tree and drastically reduce the download
for running, say, `npx apollo`.
2019-02-01 19:03:59 +02:00
Jesse Rosenberger
1a3ac9b4a0
Move Apollo Engine signatures into apollo-graphql. 2019-02-01 18:43:04 +02:00
Jesse Rosenberger
e55f231291
Setup the foundation for a new apollo-graphql utility library.
As of this commit, this package provides nothing!
2019-02-01 18:20:59 +02:00
Jesse Rosenberger
5bcf06a1b8
Update package-lock.json with >=npm@6.6.0 to fix optional flapping.
Hopefully!
2019-02-01 16:34:28 +02:00
Jesse Rosenberger
21c4c11a18
Merge remote-tracking branch 'public/master' into release-2.4.0 2019-02-01 14:00:59 +02:00
renovate[bot]
7dc854935d
chore(deps): update dependency @types/node to v10.12.21 (#2256) 2019-02-01 07:17:13 +00:00
renovate[bot]
76862f67e4
chore(deps): update dependency typescript to v3.3.1 (#2255) 2019-02-01 05:17:56 +00:00
renovate[bot]
455c7ebc86
chore(deps): update dependency hapi to v17.8.3 (#2254) 2019-02-01 04:15:35 +00:00
Trevor Scheer
b64895ddec
Add apollo-server-core to deps in apollo-engine-reporting (#2248)
* Add apollo-server-core to deps in apollo-engine-reporting

* Add reference to requestPipelineAPI
2019-01-31 08:59:36 -08:00
renovate[bot]
c561b02e99
chore(deps): update dependency prettier to v1.16.3 (#2251) 2019-01-31 06:19:07 +00:00
renovate[bot]
671453ef53
chore(deps): update dependency @types/node-fetch to v2.1.5 (#2250) 2019-01-31 04:55:26 +00:00