Martijn Walraven
6bd73b175f
Publish
...
- apollo-cache-control@0.3.0
- apollo-datasource-rest@0.2.0
- apollo-datasource@0.2.0
- apollo-engine-reporting-protobuf@0.1.0
- apollo-engine-reporting@0.1.0
- apollo-server-azure-functions@2.2.0
- apollo-server-cache-memcached@0.2.0
- apollo-server-cache-redis@0.2.0
- apollo-server-caching@0.2.0
- apollo-server-cloud-functions@2.2.0
- apollo-server-cloudflare@2.2.0
- apollo-server-core@2.2.0
- apollo-server-env@2.2.0
- apollo-server-errors@2.2.0
- apollo-server-express@2.2.0
- apollo-server-hapi@2.2.0
- apollo-server-integration-testsuite@2.2.0
- apollo-server-koa@2.2.0
- apollo-server-lambda@2.2.0
- apollo-server-micro@2.2.0
- apollo-server-plugin-base@0.1.0
- apollo-server-testing@2.2.0
- apollo-server@2.2.0
- apollo-tracing@0.3.0
- graphql-extensions@0.3.0
2018-11-07 08:17:21 -08:00
Jesse Rosenberger
5ca4c07bd5
Publish
...
- apollo-cache-control@0.3.0-alpha.3
- apollo-engine-reporting-protobuf@0.1.0-alpha.3
- apollo-engine-reporting@0.1.0-alpha.3
- apollo-server-cloud-functions@2.2.0-alpha.3
- apollo-server-cloudflare@2.2.0-alpha.3
- apollo-server-core@2.2.0-alpha.3
- apollo-server-express@2.2.0-alpha.3
- apollo-server-hapi@2.2.0-alpha.3
- apollo-server-integration-testsuite@2.2.0-alpha.3
- apollo-server-koa@2.2.0-alpha.3
- apollo-server-lambda@2.2.0-alpha.3
- apollo-server-micro@2.2.0-alpha.3
- apollo-server-plugin-base@0.1.0-alpha.3
- apollo-server-testing@2.2.0-alpha.3
- apollo-server@2.2.0-alpha.3
- apollo-tracing@0.3.0-alpha.3
- graphql-extensions@0.3.0-alpha.3
2018-11-05 21:36:39 -08:00
Jesse Rosenberger
a6872c2f6c
Publish
...
- apollo-cache-control@0.3.0-alpha.2
- apollo-datasource-rest@0.2.0-alpha.2
- apollo-datasource@0.2.0-alpha.2
- apollo-engine-reporting@0.1.0-alpha.2
- apollo-server-cache-memcached@0.2.0-alpha.2
- apollo-server-cache-redis@0.2.0-alpha.2
- apollo-server-caching@0.2.0-alpha.2
- apollo-server-cloud-functions@2.2.0-alpha.2
- apollo-server-cloudflare@2.2.0-alpha.2
- apollo-server-core@2.2.0-alpha.2
- apollo-server-express@2.2.0-alpha.2
- apollo-server-hapi@2.2.0-alpha.2
- apollo-server-integration-testsuite@2.2.0-alpha.2
- apollo-server-koa@2.2.0-alpha.2
- apollo-server-lambda@2.2.0-alpha.2
- apollo-server-micro@2.2.0-alpha.2
- apollo-server-plugin-base@0.1.0-alpha.2
- apollo-server-testing@2.2.0-alpha.2
- apollo-server@2.2.0-alpha.2
- apollo-tracing@0.3.0-alpha.2
- graphql-extensions@0.3.0-alpha.2
2018-11-05 11:45:46 -08:00
Jesse Rosenberger
5b83883233
Publish
...
- apollo-cache-control@0.3.0-alpha.1
- apollo-datasource-rest@0.2.0-alpha.1
- apollo-datasource@0.2.0-alpha.1
- apollo-engine-reporting-protobuf@0.1.0-alpha.1
- apollo-engine-reporting@0.1.0-alpha.1
- apollo-server-cache-memcached@0.2.0-alpha.1
- apollo-server-cache-redis@0.2.0-alpha.1
- apollo-server-caching@0.2.0-alpha.1
- apollo-server-cloud-functions@2.2.0-alpha.1
- apollo-server-cloudflare@2.2.0-alpha.1
- apollo-server-core@2.2.0-alpha.1
- apollo-server-env@2.1.0-alpha.1
- apollo-server-express@2.2.0-alpha.1
- apollo-server-hapi@2.2.0-alpha.1
- apollo-server-integration-testsuite@2.2.0-alpha.1
- apollo-server-koa@2.2.0-alpha.1
- apollo-server-lambda@2.2.0-alpha.1
- apollo-server-micro@2.2.0-alpha.1
- apollo-server-plugin-base@0.1.0-alpha.1
- apollo-server@2.2.0-alpha.1
- apollo-tracing@0.3.0-alpha.1
- graphql-extensions@0.3.0-alpha.1
2018-10-26 21:28:15 +03:00
Martijn Walraven
2385558bea
Fix types in apollo-cache-control
test helper
2018-10-12 14:13:21 +02:00
Jesse Rosenberger
9a69ad3f3a
Merge branch 'master' into testing-improvements
2018-10-12 14:58:04 +03:00
Martijn Walraven
4fac07b8f1
Consistently leave out explicit tsconfig.json
when referring to TypeScript project
2018-10-12 13:34:07 +02:00
Martijn Walraven
ad3562a335
Replace {}
with Object.create(null)
in jest.config.js
2018-10-12 13:00:13 +02:00
Martijn Walraven
68b2c691f8
Move test tsconfig.json
files under __tests__
to support editors
...
The TypeScript language server looks for `tsconfig.json` and doesn't take project references into account when resolving the config for a file.
See https://github.com/Microsoft/TypeScript/issues/27372 .
2018-10-11 23:10:45 +02:00
Martijn Walraven
0491af858d
Avoid use of object spread in Jest config files to support Node 6
2018-10-11 23:10:09 +02:00
Martijn Walraven
68f4e83fb2
Fix import in apollo-cache-control
2018-10-11 20:17:37 +02:00
Martijn Walraven
9e843dbf4b
Fix apollo-cache-control
tests by augmenting schemas with cache control support
2018-10-11 15:05:06 +02:00
Martijn Walraven
f5d5981ffc
Add TypeScript and Jest projects for tests in individual packages
2018-10-11 04:33:23 +02:00
Martijn Walraven
ad758567b1
Rename apollo-cache-control
tests so they will be picked up
...
It turns out we weren't running these tests before because they didn't end in `.test.ts`.
2018-10-11 04:10:51 +02:00
Jesse Rosenberger
dec2b94a0e
Publish
...
- apollo-cache-control@0.3.0-alpha.0
- apollo-datasource-rest@0.2.0-alpha.0
- apollo-datasource@0.2.0-alpha.0
- apollo-engine-reporting-protobuf@0.1.0-alpha.0
- apollo-engine-reporting@0.1.0-alpha.0
- apollo-server-cache-memcached@0.2.0-alpha.0
- apollo-server-cache-redis@0.2.0-alpha.0
- apollo-server-caching@0.2.0-alpha.0
- apollo-server-cloud-functions@2.2.0-alpha.0
- apollo-server-cloudflare@2.2.0-alpha.0
- apollo-server-core@2.2.0-alpha.0
- apollo-server-env@2.1.0-alpha.0
- apollo-server-errors@2.1.0-alpha.0
- apollo-server-express@2.2.0-alpha.0
- apollo-server-hapi@2.2.0-alpha.0
- apollo-server-integration-testsuite@2.2.0-alpha.0
- apollo-server-koa@2.2.0-alpha.0
- apollo-server-lambda@2.2.0-alpha.0
- apollo-server-micro@2.2.0-alpha.0
- apollo-server-plugin-base@0.1.0-alpha.0
- apollo-server@2.2.0-alpha.0
- apollo-tracing@0.3.0-alpha.0
- graphql-extensions@0.3.0-alpha.0
2018-10-10 22:30:54 +03:00
Martijn Walraven
ba61960430
Clean up passing throughhttp
property in GraphQLResponse
2018-10-08 11:03:01 +02:00
Martijn Walraven
5281f3f98f
Introduce request context and refactor pipeline code
2018-10-07 18:23:27 +02:00
Martijn Walraven
282ea7e022
Merge remote-tracking branch 'origin/typescript-project-references' into abernix/re-new-request-pipeline
2018-10-06 03:49:36 +02:00
Martijn Walraven
11a13cd3dd
Remove apollo-server-env as a project reference
...
We can't use `apollo-server-env` as a project reference because that requires `composite: true`, and that implies `declaration: true`, which doesn't work for `apollo-server-env` because we need to write our own declaration files for re-exported imports.
This commit also removes `apollo-engine-reporting-protobuf` as a reference, which errored out because it doesn't actually contain any TypeScript code.
2018-10-05 23:05:49 +02:00
Martijn Walraven
8932091e67
Add root level tsconfig.json as entry point
2018-10-05 21:48:49 +02:00
Martijn Walraven
1aee215e68
Switch to tsc --build and remove run scripts from packages
2018-10-05 17:48:34 +02:00
Martijn Walraven
fcaa6ad79d
Enable TypeScript project references
2018-10-05 17:47:29 +02:00
Martijn Walraven
891d62983a
Refactor runHttpQuery and extract cache policy computation into CacheControlExtension
2018-10-05 09:08:12 +02:00
Evans Hauser
86dd95e223
Publish
...
- apollo-cache-control@0.2.5
- apollo-engine-reporting@0.0.6
- apollo-server-cloud-functions@2.1.0
- apollo-server-cloudflare@2.1.0
- apollo-server-core@2.1.0
- apollo-server-express@2.1.0
- apollo-server-hapi@2.1.0
- apollo-server-integration-testsuite@2.1.0
- apollo-server-koa@2.1.0
- apollo-server-lambda@2.1.0
- apollo-server-micro@2.1.0
- apollo-server@2.1.0
- apollo-tracing@0.2.5
- graphql-extensions@0.2.1
2018-09-18 15:26:48 -07:00
Evans Hauser
5adae649e3
Publish
...
- apollo-cache-control@0.2.4
- apollo-engine-reporting@0.0.5
- apollo-server-cloud-functions@2.0.4
- apollo-server-cloudflare@2.0.5
- apollo-server-core@2.0.7
- apollo-server-express@2.0.7
- apollo-server-hapi@2.0.7
- apollo-server-integration-testsuite@2.0.7
- apollo-server-koa@2.0.7
- apollo-server-lambda@2.0.7
- apollo-server-micro@2.0.7
- apollo-server@2.0.8
- apollo-tracing@0.2.4
- graphql-extensions@0.2.0
2018-09-14 10:35:33 -07:00
Martijn Walraven
b80a8f050c
Publish
...
- apollo-cache-control@0.2.3
- apollo-datasource-rest@0.1.5
- apollo-datasource@0.1.3
- apollo-engine-reporting@0.0.3
- apollo-server-cache-memcached@0.1.3
- apollo-server-cache-redis@0.1.3
- apollo-server-cloud-functions@2.0.2
- apollo-server-cloudflare@2.0.3
- apollo-server-core@2.0.5
- apollo-server-env@2.0.3
- apollo-server-express@2.0.5
- apollo-server-hapi@2.0.5
- apollo-server-integration-testsuite@2.0.5
- apollo-server-koa@2.0.5
- apollo-server-lambda@2.0.5
- apollo-server-micro@2.0.5
- apollo-server@2.0.6
- apollo-tracing@0.2.3
- graphql-extensions@0.1.3
2018-09-03 15:06:00 +02:00
Martijn Walraven
884d44e771
Use consistent range for graphql peer dependency
2018-09-02 11:50:09 +02:00
Renovate Bot
8b2adc49ad
chore(deps): update dependency graphql to v14
2018-09-02 11:50:09 +02:00
Evans Hauser
f7b5d63d03
Publish
...
- apollo-cache-control@0.2.2
- apollo-datasource-rest@0.1.3
- apollo-datasource@0.1.2
- apollo-engine-reporting-protobuf@0.0.1
- apollo-engine-reporting@0.0.2
- apollo-server-cache-memcached@0.1.2
- apollo-server-cache-redis@0.1.2
- apollo-server-caching@0.1.2
- apollo-server-cloudflare@2.0.0-rc.14
- apollo-server-core@2.0.2
- apollo-server-env@2.0.2
- apollo-server-errors@2.0.2
- apollo-server-express@2.0.2
- apollo-server-hapi@2.0.2
- apollo-server-integration-testsuite@2.0.2
- apollo-server-koa@2.0.2
- apollo-server-lambda@2.0.2
- apollo-server-micro@2.0.2
- apollo-server@2.0.2
- apollo-tracing@0.2.2
- graphql-extensions@0.1.2
2018-08-14 11:49:10 -07:00
Evans Hauser
ef82add05b
Publish
...
- apollo-cache-control@0.2.1
- apollo-datasource-rest@0.1.2
- apollo-datasource@0.1.1
- apollo-engine-reporting-protobuf@0.0.0
- apollo-engine-reporting@0.0.1
- apollo-server-cache-memcached@0.1.1
- apollo-server-cache-redis@0.1.1
- apollo-server-caching@0.1.1
- apollo-server-cloudflare@2.0.0-rc.13
- apollo-server-core@2.0.1
- apollo-server-env@2.0.1
- apollo-server-errors@2.0.1
- apollo-server-express@2.0.1
- apollo-server-hapi@2.0.1
- apollo-server-integration-testsuite@2.0.1
- apollo-server-koa@2.0.1
- apollo-server-lambda@2.0.1
- apollo-server-micro@2.0.1
- apollo-server@2.0.1
- apollo-tracing@0.2.1
- graphql-extensions@0.1.1
2018-08-14 11:05:31 -07:00
Martijn Walraven
2369b06be2
Use strict top-level tsconfig and fix type issues or override per-package
2018-08-11 16:45:03 +02:00
Martijn Walraven
40bc73f61f
Remove per-package Jest config and replace with single top-level config
2018-08-11 16:45:03 +02:00
Martijn Walraven
0d89fa7cde
Make sure package.json includes clean script
2018-08-11 16:45:03 +02:00
Martijn Walraven
c049792057
Fix setupFiles reference in Jest config
2018-08-11 16:45:03 +02:00
Martijn Walraven
ef4d5e4f95
Switch to using file specifiers and root level dev dependencies only
2018-08-11 16:45:03 +02:00
Martijn Walraven
ea6faf770a
Replace prepublish scripts with prepare
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
943b91a564
Don't ignore package-lock.json
2018-08-11 16:45:03 +02:00
Renovate Bot
8b4a2f0a73
chore(deps): update dependency graphql-tools to v3.1.1
2018-08-03 04:02:13 +00:00
Renovate Bot
e4108fba4f
chore(deps): update dependency graphql-tools to v3.1.0
2018-08-02 05:04:40 +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
Renovate Bot
9acb67fa4e
chore(deps): update dependency @types/jest to v23.3.1
2018-07-27 05:59:21 +00:00
Renovate Bot
496b686240
chore(deps): update dependency ts-jest to v23
2018-07-19 18:28:54 -07:00
Evans Hauser
04e0d5bce0
Publish
...
- apollo-cache-control@0.2.0
- apollo-datasource-rest@0.1.0
- apollo-datasource@0.1.0
- apollo-engine-reporting@0.0.0
- apollo-server-cache-memcached@0.1.0
- apollo-server-cache-redis@0.1.0
- apollo-server-caching@0.1.0
- apollo-server-cloudflare@2.0.0-rc.12
- apollo-server-core@2.0.0
- apollo-server-env@2.0.0
- apollo-server-errors@2.0.0
- apollo-server-express@2.0.0
- apollo-server-hapi@2.0.0
- apollo-server-integration-testsuite@2.0.0
- apollo-server-koa@2.0.0
- apollo-server-lambda@2.0.0
- apollo-server-micro@2.0.0
- apollo-server@2.0.0
- apollo-tracing@0.2.0
- graphql-extensions@0.1.0
2018-07-19 12:49:55 -07:00
Martijn Walraven
eeeea09ce5
Publish
...
- apollo-cache-control@0.2.0-rc.4
- apollo-datasource-rest@0.1.0-rc.11
- apollo-datasource@0.1.0-rc.11
- apollo-engine-reporting@0.0.0-rc.5
- apollo-server-caching@0.1.0-rc.11
- apollo-server-cloudflare@2.0.0-rc.11
- apollo-server-core@2.0.0-rc.11
- apollo-server-env@2.0.0-rc.11
- apollo-server-errors@2.0.0-rc.11
- apollo-server-express@2.0.0-rc.11
- apollo-server-hapi@2.0.0-rc.11
- apollo-server-integration-testsuite@2.0.0-rc.11
- apollo-server-koa@2.0.0-rc.11
- apollo-server-lambda@2.0.0-xrc.11
- apollo-server-memcached@0.1.0-rc.11
- apollo-server-micro@2.0.0-rc.11
- apollo-server-redis@0.1.0-rc.11
- apollo-server@2.0.0-rc.11
- apollo-tracing@0.2.0-rc.4
- graphql-extensions@0.1.0-rc.5
2018-07-17 16:11:33 -07:00
Evans Hauser
9518c0ff1a
Publish
...
- apollo-cache-control@0.2.0-rc.3
- apollo-datasource-rest@0.1.0-rc.10
- apollo-datasource@0.1.0-rc.10
- apollo-engine-reporting@0.0.0-rc.4
- apollo-server-caching@0.1.0-rc.10
- apollo-server-cloudflare@2.0.0-rc.10
- apollo-server-core@2.0.0-rc.10
- apollo-server-env@2.0.0-rc.10
- apollo-server-errors@2.0.0-rc.10
- apollo-server-express@2.0.0-rc.10
- apollo-server-hapi@2.0.0-rc.10
- apollo-server-integration-testsuite@2.0.0-rc.10
- apollo-server-koa@2.0.0-rc.10
- apollo-server-lambda@2.0.0-xrc.10
- apollo-server-memcached@0.1.0-rc.10
- apollo-server-micro@2.0.0-rc.10
- apollo-server-redis@0.1.0-rc.10
- apollo-server@2.0.0-rc.10
- apollo-tracing@0.2.0-rc.3
- graphql-extensions@0.1.0-rc.4
2018-07-17 10:55:45 -07:00
Evans Hauser
0144d4b2db
Publish
...
- apollo-cache-control@0.2.0-rc.2
- apollo-datasource-rest@0.1.0-rc.9
- apollo-datasource@0.1.0-rc.9
- apollo-engine-reporting@0.0.0-rc.3
- apollo-server-caching@0.1.0-rc.9
- apollo-server-cloudflare@2.0.0-rc.9
- apollo-server-core@2.0.0-rc.9
- apollo-server-env@2.0.0-rc.9
- apollo-server-errors@2.0.0-rc.9
- apollo-server-express@2.0.0-rc.9
- apollo-server-hapi@2.0.0-rc.9
- apollo-server-integration-testsuite@2.0.0-rc.9
- apollo-server-koa@2.0.0-rc.9
- apollo-server-lambda@2.0.0-xrc.9
- apollo-server-memcached@0.1.0-rc.9
- apollo-server-micro@2.0.0-rc.9
- apollo-server-redis@0.1.0-rc.9
- apollo-server@2.0.0-rc.9
- apollo-tracing@0.2.0-rc.2
- graphql-extensions@0.1.0-rc.3
2018-07-17 10:44:15 -07:00
Renovate Bot
1d34f1065a
chore(deps): update dependency @types/jest to v23.3.0
2018-07-17 05:42:38 +00:00
Evans Hauser
e04a570f7e
pin internal dependencies ( #1361 )
2018-07-16 16:15:10 -07:00