Commit graph

2319 commits

Author SHA1 Message Date
renovate[bot]
ae44b0df17 chore(deps): update dependency @types/aws-lambda to v8.10.14 (#1877) 2018-10-25 13:38:05 +03:00
renovate[bot]
5d9163c412 chore(deps): update dependency @types/jest to v23.3.7 (#1872) 2018-10-25 13:37:51 +03:00
renovate[bot]
d35acecc38 chore(deps): update dependency koa to v2.6.1 (#1873) 2018-10-25 13:37:39 +03:00
renovate[bot]
0d6a2d880d chore(deps): update dependency redis-mock to v0.34.1 (#1874)
This PR contains the following updates:

| Package | Type | Update | Change | References |
|---|---|---|---|---|
| redis-mock | devDependencies | minor | `0.33.0` -> `0.34.1` | [source](https://renovatebot.com/gh/yeahoffline/redis-mock) |

---

### Release Notes

<details>
<summary>yeahoffline/redis-mock</summary>

### [`v0.34.1`](d6809e124e...3fa5e9bf7d)

[Compare Source](d6809e124e...3fa5e9bf7d)

</details>

---

### Renovate configuration

📅 **Schedule**: "after 6pm every weekday,before 8am every weekday" in timezone America/Los_Angeles.

🚦 **Automerge**: Enabled.

♻️ **Rebasing**: Whenever PR is stale, or if you modify the PR title to begin with "`rebase!`".

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

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-25 13:37:27 +03:00
Philipp Munzert
6e3620de81 Fixed typo in code example (#1847) 2018-10-25 11:36:21 +03:00
Espen Hovlandsdal
b2f677fb6e Fix typo in metrics documentation (#1856) 2018-10-25 11:07:21 +03:00
Wade Deng
f2b345918a fix typo in README of Koa example (#1876)
* fix typo in README of Koa js example

* docs: update changelog pr link

* Update CHANGELOG.md
2018-10-25 11:06:55 +03:00
Renovate Bot
41f919ce94 chore(deps): update dependency @types/hapi to v17.6.2 2018-10-25 08:01:26 +00:00
Renovate Bot
a619a8cd28 chore(deps): update dependency hexo to v3.8.0 2018-10-19 09:46:12 +00:00
Renovate Bot
2abff3434d chore(deps): update dependency graphql-tools to v4.0.2 2018-10-18 11:01:06 +00:00
Renovate Bot
618df697fa chore(deps): update dependency @types/micro to v7.3.3 2018-10-18 08:05:28 +00:00
Renovate Bot
dc3aa9594f chore(deps): update dependency form-data to v2.3.3 2018-10-17 10:04:38 +00:00
Renovate Bot
93326d7e45 chore(deps): update dependency @types/node to v10.12.0 2018-10-16 18:02:49 +00:00
Martijn Walraven
e5b0b57ef0 Avoid ReferenceError when accessing app in browser-like environments
Fixes #1804.
2018-10-16 16:40:49 +02:00
Marcin Jekot
87335b5998 Suggestion: change wording
Fix grammar, and hopefully make the explanation a bit clearer.

It could also be said like this (for a smaller diff) ;-)

"By allowing the consumer of the API to see the full possibilities that an API can *deliver*, developers can"...
2018-10-16 14:01:43 +02:00
Martijn Walraven
6dd71d3824 Replace GraphQLRequestPipeline with function 2018-10-16 13:59:30 +02:00
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