Commit graph

1939 commits

Author SHA1 Message Date
Martijn Walraven
e61333aa1c Remove package local .gitignore files 2018-08-11 16:45:03 +02:00
Martijn Walraven
167aa6aec7 Remove stray CircleCI config 2018-08-11 16:45:03 +02:00
Martijn Walraven
83e29cf0c4 Update package-lock.json 2018-08-11 16:45:03 +02:00
Martijn Walraven
af5a53938d Use npm@6 in CI 2018-08-11 16:45:03 +02:00
Martijn Walraven
98572cf23f Update .circleci to cache deps based on package-lock.json 2018-08-11 16:45:03 +02:00
Martijn Walraven
5b5ac177bd Update Jest dependencies 2018-08-11 16:45:03 +02:00
Martijn Walraven
6923b196fd Run multi-project Jest in CI and remove coverage for now 2018-08-11 16:45:03 +02:00
Martijn Walraven
06e31c3249 Remove per-package test, coverage and circle scripts 2018-08-11 16:45:03 +02:00
Martijn Walraven
c7be216c72 Update package-lock.json 2018-08-11 16:45:03 +02:00
Martijn Walraven
943b91a564 Don't ignore package-lock.json 2018-08-11 16:45:03 +02:00
Martijn Walraven
dd4970f1f4 Run Jest tests in a multi-project runner instead of in separate runners 2018-08-11 16:45:03 +02:00
Martijn Walraven
d43ea3a603 Update Lerna to 3.0.1 2018-08-11 16:45:03 +02:00
Renovate Bot
d00c01a84d chore(deps): update dependency request to v2.88.0 2018-08-11 04:29:47 +00:00
Renovate Bot
40bb1521c8 chore(deps): update dependency ts-jest to v23.1.3 2018-08-10 22:21:31 +00:00
Renovate Bot
a73f2322c8 chore(deps): update dependency jest-matcher-utils to v23.5.0 2018-08-10 20:52:37 +00:00
Renovate Bot
3272ddae78 chore(deps): update dependency jest to v23.5.0 2018-08-10 17:03:04 +00:00
Renovate Bot
260ab80838 chore(deps): update dependency @types/node to v10.5.7 2018-08-10 13:53:15 +00:00
Renovate Bot
5d1a2490eb chore(deps): update dependency prettier to v1.14.2 2018-08-10 10:44:19 +00:00
Renovate Bot
dfa92be140 chore(deps): update dependency @types/graphql to v0.13.4 2018-08-10 08:05:00 +00:00
Renovate Bot
cac8cc87d6 chore(deps): update dependency @types/aws-lambda to v8.10.11 2018-08-10 05:52:15 +00:00
Renovate Bot
1b7758532b chore(deps): update dependency yup to v0.26.2 2018-08-10 03:27:18 +00:00
Jesse Rosenberger
46e3beea6d
docs: Remove rc dist-tag designation from apollo-datasource-rest instruction. (#1497)
It is no longer necessary to use the `rc` tag when installing `apollo-datasource-rest`.
2018-08-07 15:39:22 +03:00
Jake Dawkins
3178d81c45 Updated Deployment Guides (#1430)
* updated lambda deployment guide

* updated heroku deployment guide

* updated now docs

* address PR reviews

* fix now docs
2018-08-07 08:40:08 +01:00
Cedric TESNIERE
d6eca9729f docs: fix typo in CHANGELOG (#1478) 2018-08-06 15:38:36 -07:00
Renovate Bot
fb28693a8a chore(deps): update dependency ts-jest to v23.1.2 2018-08-03 14:13:51 +00:00
Renovate Bot
47a1db3142 chore(deps): update dependency @types/lodash to v4.14.116 2018-08-03 06:19:19 +00:00
Renovate Bot
8b4a2f0a73 chore(deps): update dependency graphql-tools to v3.1.1 2018-08-03 04:02:13 +00:00
Renovate Bot
e79e708772 chore(deps): update dependency hapi to v17.5.3 2018-08-02 08:21:42 +00:00
Renovate Bot
4a16c461f4 chore(deps): update dependency @types/aws-lambda to v8.10.10 2018-08-02 06:15:53 +00:00
Renovate Bot
e4108fba4f chore(deps): update dependency graphql-tools to v3.1.0 2018-08-02 05:04:40 +00:00
Renovate Bot
62be6ff78d chore(deps): update dependency @types/node to v10.5.5 2018-08-01 12:43:22 +00:00
Martijn Walraven
f86be33a65 Remove no longer needed tests.js 2018-08-01 10:15:18 +02:00
Martijn Walraven
04cf5795d5 Standardize on "types" and move it after "main" in package.json 2018-08-01 10:13:16 +02:00
Martijn Walraven
9d053d6c93 Remove deprecated "typescript"/"definition" from package.json
This was only used by https://github.com/DefinitelyTyped/tsd, and hasn't been required since TypeScript 1.6.
2018-08-01 10:09:36 +02:00
Renovate Bot
fd43223ac7 chore(deps): update dependency subscriptions-transport-ws to v0.9.14 2018-08-01 00:50:38 +00:00
Evans Hauser
9dd1fec766
Mocha to Jest Test Conversion (#1453)
* import jest

* remove mocha, chai, sinon

* fix JSON parsing for package.json

* replace import mocha, chai, sinon with jest

* add jest as test npm script

* remove dependency on mocha types

* errors: remove unused jest tests

* move tests to __tests__ folders

* add jest types to root tsconfig

* fix tsconfig include excludes

* .to.equal -> toEqual

* .true -> .toBe(true)

* .to.deep.equal -> .toEqual

* .to.exist -> .toBeDefined()

* .to.contain -> .toMatch

* .to.match -> .toMatch

* to.be.undefined -> .toBeUndefined()

* not.toBeDefined -> .toBeUndefined

* bring integration test up to date with past changes

* remove message from expect

* .null -> .toBe(null)

* expect.fail -> done.fail

* callsFake -> jest.fn

* mocha mock calls -> jest

* .not.to.exist -> .toBeUndefined()

* callCount -> mocks.calls.length

* returns -> jest.fn()

* .equals -> .toEqual

* fix relative imports

* remove string in expects and place as comment

* remove Fibers from runQuery

* restore -> mockRestore

* before -> beforeAll

* after -> afterAll

* fix async_hooks test and Promise await

* remove jest from testsuite package json

* remove unnecessary apollo-server-env setup

* add start of cloudflare tests

* this.timeout -> timeout argument

* express: fix relative require

* import gql tag properly

* .to.throw -> .toThrow

* .to.be.instanceof -> .toBeInstanceOf

* remove console log check test

* done(Error) -> done.fail(Error)

* done -> done.fail

* change port numbers, since jest runs in parallel

* fix toBeUndefined for null checks

* make engine port unique in testsuite

* make data source rest endpoint port unique

* add coverage scripts

* travis npm script -> cricle script

* make engine port random

* change ports to not conflict across integrations

* increase node version for apollo-server-hapi

* add node versioning to prevent hapi tests from running

* move jest dependencies to the root package.json

* make hapi port unique

* fix port reference in hapi tests
2018-07-31 15:40:03 -07:00
Renovate Bot
e77701c772 chore(deps): update dependency jest to v23.4.2 2018-07-31 02:18:27 +00:00
Jesse Rosenberger
85b97b6f0c docs: Correct path for GraphQL Playground. (#1427)
* docs: Correct path for GraphQL Playground.

This corrects the documentation which incorrectly stated that the message on the console would include `http://localhost:4000/graphql`.

While the `/graphql` URL will also serve the GraphQL Playground, it's only working as a by-product of of `/graphql` being included within the (higher) `/` path. (That is to say that `/any-url` would also respond!).

* [squash] Tweak per feedback.

cc @evans
2018-07-30 15:49:25 -07:00
Renovate Bot
6710575e6f chore(deps): update dependency prettier to v1.14.0 2018-07-30 09:40:27 +00:00
Renovate Bot
7f19fc239e chore(deps): update dependency @types/node to v10.5.4 2018-07-28 10:17:15 +00:00
Renovate Bot
4ce11f63a0 chore(deps): update dependency @types/lodash to v4.14.115 2018-07-28 08:07:16 +00:00
Renovate Bot
9cdc42ea76 chore(deps): update dependency @types/aws-lambda to v8.10.9 2018-07-28 06:22:17 +00:00
Renovate Bot
428d619728 chore(deps): update dependency @types/koa-router to v7.0.31 2018-07-28 04:38:01 +00:00
Wout Mertens
11abffb8ce express, koa: don't continue past playground render (#1436)
* server-express: don't continue past playground

* koa: remove extra next call after playground

* update changelog with remove next
2018-07-27 17:13:23 -07:00
Max Nachlinger
0b76e9ef00 Hapi: Pass toolkit to context function (#1407)
* Fix for #1382

* fix typo in changelog

* Added a few tests proving the response toolkit is passed into the context function
2018-07-27 16:49:55 -07:00
Prosper Otemuyiwa
e514cdfd4c
Cleanup subscriptions link (#1437)
* Remove graphql-subscriptions link from the sidebar

* Add graphql-subscriptions docs link under Subscriptions Feature
2018-07-27 16:47:34 +02:00
Martijn Walraven
3ba9bb91a4 Publish
- apollo-datasource-rest@0.1.1
2018-07-27 13:59:58 +02:00
Martijn Walraven
c502d678ae Remove memoized results when performing non-GET requests
Closes #1408.
2018-07-27 13:53:22 +02:00
Martijn Walraven
5f20676beb Only deduplicate and cache GET requests
Closes #1399.
2018-07-27 13:39:00 +02:00
Renovate Bot
3ba5440743 chore(deps): update dependency @types/lodash to v4.14.114 2018-07-27 08:01:50 +00:00