Renovate Bot
311d4635b0
chore(deps): update dependency @types/graphql to v14.0.3
2018-10-16 10:56:17 +00:00
Martijn Walraven
71b1ae4242
Export GraphQL request and reponse types from apollo-server-plugin-base
2018-10-15 12:42:09 +02:00
0xflotus
536b204de1
fixed arbitrarily ( #1816 )
2018-10-15 10:09:49 +03:00
0xflotus
e773932545
fixed typos in docs ( #1817 )
...
* Update authentication.md
* Update schema-design.md
* Update schema-design.md
* Update heroku.md
* Update lambda.md
* Update server.md
2018-10-15 10:09:25 +03:00
Victor Hugo Miranda Pinto
b0579982d0
Add Koa to the list of Apollo Server integrations ( #1810 )
2018-10-15 10:07:31 +03:00
renovate[bot]
6674a6b775
chore(deps): pin dependencies ( #1809 )
...
This PR contains the following updates:
| Package | Type | Update | Change | References |
|---|---|---|---|---|
| @types/node-fetch | devDependencies | pin | `^2.1.2` -> `2.1.2` | [source](https://renovatebot.com/gh/DefinitelyTyped/DefinitelyTyped ) |
| @types/request-promise | devDependencies | pin | `^4.1.42` -> `4.1.42` | [source](https://renovatebot.com/gh/DefinitelyTyped/DefinitelyTyped ) |
| @types/test-listen | devDependencies | pin | `^1.1.0` -> `1.1.0` | [source](https://renovatebot.com/gh/DefinitelyTyped/DefinitelyTyped ) |
| @types/type-is | devDependencies | pin | `^1.6.2` -> `1.6.2` | [source](https://renovatebot.com/gh/DefinitelyTyped/DefinitelyTyped ) |
| @types/ws | devDependencies | pin | `^6.0.1` -> `6.0.1` | [source](https://renovatebot.com/gh/DefinitelyTyped/DefinitelyTyped ) |
📌 **Important**: Renovate will wait until you have merged this Pin PR before creating any *upgrade* PRs for the affected packages. Add the preset `:preserveSemverRanges` your config if you instead don't wish to pin dependencies.
---
### Renovate configuration
📅 **Schedule**: "after 6pm every weekday,before 8am every weekday" in timezone America/Los_Angeles.
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻️ **Rebasing**: Whenever PR is stale, or if you modify the PR title to begin with "`rebase!`".
👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://renovatebot.com/gh/renovatebot/config-help/issues ) if that's undesired.
---
This PR has been generated by [Renovate Bot](https://renovatebot.com/gh/marketplace/renovate ). View repository job log [here](https://renovatebot.com/dashboard#apollographql/apollo-server ).
2018-10-15 10:07:09 +03:00
Renovate Bot
bed6a2ed5c
chore(deps): update dependency multer to v1.4.1
2018-10-13 09:51:31 +00:00
Renovate Bot
d86716ad24
chore(deps): update dependency graphql-tools to v4.0.1
2018-10-13 08:46:26 +00:00
Renovate Bot
853f000382
chore(deps): update dependency express to v4.16.4
2018-10-13 07:45:49 +00:00
Martijn Walraven
2385558bea
Fix types in apollo-cache-control
test helper
2018-10-12 14:13:21 +02:00
Martijn Walraven
78808cdabd
Merge pull request #1806 from apollographql/testing-improvements
...
Testing improvements
2018-10-12 14:04:10 +02:00
Jesse Rosenberger
9a69ad3f3a
Merge branch 'master' into testing-improvements
2018-10-12 14:58:04 +03:00
Jesse Rosenberger
59940a9831
Update package-lock.json resolved
fields to use https
.
2018-10-12 14:53:14 +03:00
Martijn Walraven
ecd089fd73
Use jest --watchAll
until Jest supports cross-project dependency tracking
2018-10-12 13:48:58 +02:00
Martijn Walraven
a28122842e
Add comments to moduleNameMapper
option in Jest config
2018-10-12 13:37:33 +02: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
06e4964d30
Update package-lock.json
2018-10-12 11:35:02 +02:00
Martijn Walraven
2a2e3ffe4f
Improve global fetch
type
2018-10-12 11:23:53 +02:00
Martijn Walraven
7720ae835e
Add TypeScript watch as default build task
2018-10-12 11:23:30 +02:00
Martijn Walraven
823d68d318
Work around typing issue with promisified Redis client
2018-10-12 11:13:45 +02:00
Martijn Walraven
fd34771841
Fix typing issues in handler arguments and introduce generic type
...
These issues became apparent because `typescript@next` correctly types `Function#bind` instead of returning `any`.
2018-10-12 10:46:07 +02:00
Martijn Walraven
c46640f402
Update to typescript@next
to fix incremental builds in watch mode
...
See https://github.com/Microsoft/TypeScript/pull/27688 .
2018-10-12 10:38:02 +02:00
Martijn Walraven
d6b222da91
Depend on output of requestPipelineAPI
project instead of source
2018-10-12 09:46:49 +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
304074f336
Expose global fetch
and URL
types to avoid relying on dom
lib
2018-10-11 23:10:45 +02:00
Martijn Walraven
d0590ac3ad
Add missing type dependencies for tests
2018-10-11 23:10:45 +02:00
Martijn Walraven
3cf067349b
Fix some dependencies in tsconfig.test.json
files
2018-10-11 23:10:45 +02:00
Martijn Walraven
2100639121
Enable forceConsistentCasingInFileNames
in tsconfig.base.json
2018-10-11 23:10:44 +02:00
Martijn Walraven
6906cde5bf
Add test:clean
run command to clean Jest cache
2018-10-11 23:10:44 +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
6c2f8d7583
Configure Jest to import local modules from src
instead of dist
...
The Jest `moduleNameMapper` option allows us to match module names and transform the path that will be used to import them. If the resulting module is written in TypeScript, it will then be compiled by `ts-jest`, similar to relative imports within the package under test.
2018-10-11 20:23:16 +02:00
Martijn Walraven
68f4e83fb2
Fix import in apollo-cache-control
2018-10-11 20:17:37 +02:00
Nicolas Marien
94fc935d3c
"Fix incorrect documentation for enum value" ( #1802 )
2018-10-11 16:36:31 +03: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
787846c64b
Fix apollo-server-env
mock
2018-10-11 14:43:29 +02:00
Martijn Walraven
cef701e6c1
Remove test dependencies from non-test tsconfig.json
files
2018-10-11 12:58:03 +02:00
Jesse Rosenberger
7966db5d3d
Add a Codecov configuration file to adjust the defaults.
...
In particular, we're not 100% sold on the Codecov charts - which add some
noise, but seem like they could be helpful at higher coverage percentages.
Also, for the time-being, we'll lower the target for `patch`s (i.e. PRs) to
zero, just to see how the values get reported in the CI checks.
Ref: https://docs.codecov.io/docs/commit-status
2018-10-11 13:04:22 +03:00
Martijn Walraven
16400909b6
Specify empty include
in umbrella tsconfig
files
2018-10-11 11:15:36 +02:00
renovate[bot]
73cbd03be0
chore(deps): update dependency @types/ws to v6 ( #1609 )
2018-10-11 12:05:19 +03:00
renovate[bot]
11979a0740
chore(deps): update dependency husky to v1.1.2 ( #1801 )
2018-10-11 12:05:06 +03:00
renovate[bot]
bc9492eb5b
chore(deps): pin dependencies to 1.6.2 ( #1797 )
2018-10-11 12:04:52 +03:00
Renovate Bot
48bfc82f13
chore(deps): update dependency @types/node to v10.11.7
2018-10-11 06:25:04 +00:00
Martijn Walraven
6796ff310b
Add paths config for shared __mocks__ to avoid relative imports
2018-10-11 08:20:49 +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
1ccef23906
Remove some empty tests
2018-10-11 04:11:49 +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
Jesse Rosenberger
db8fdc8d9d
Merge pull request #1795 from apollographql/abernix/re-new-request-pipeline
...
New Request Pipeline
2018-10-10 21:47:34 +03:00
Jesse Rosenberger
9089cc5c94
Follow-up un-reverted work to maintain support in the new request pipeline.
...
Prior to embarking on the request pipeline work, and to facilitate
development on the new request pipeline, @martijnwalraven and myself
intentionally reverted some commits that had been recently introduced but
conflicted with the request pipeline branch that was already in-flight.
Rather than dealing with an incredibly difficult merge conflict, it was
easier to revert them an re-apply them later.
Original commits, reversions, and reintroductions:
* 6d6c9ff
, 03a894d
, b90ccc2
* 96af44e
, 68c82e6
, 81c4642
* 408198e
, 2b470e1
, 84bc834
* 4175f1b
, 38e7b6a
, 261994c
As is demonstrated by this short follow-up commit, this was all that was
necessary to make it work in the new model - once that model was finished.
While we're certain that the new request pipeline and its plugin model will
actually better support some of the behavior that required these initial
commits in the name of not introducing breaking changes, we feel it's
necessary to maintain their support.
I will point out, if you are at all affected by the above commits, we may
consider deprecating portions of those APIs in the not too distant future,
but we hope that the new model will help support those needs even better.
2018-10-10 20:20:27 +03:00