Commit graph

199 commits

Author SHA1 Message Date
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
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
06e4964d30 Update package-lock.json 2018-10-12 11:35:02 +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
d0590ac3ad Add missing type dependencies for tests 2018-10-11 23:10:45 +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
48bfc82f13 chore(deps): update dependency @types/node to v10.11.7 2018-10-11 06:25:04 +00:00
Jesse Rosenberger
e4d672c568
Merge branch 'master' into abernix/re-new-request-pipeline 2018-10-10 19:14:20 +03:00
renovate[bot]
1102887599 chore(deps): update dependency husky to v1 (#1728)
This PR contains the following updates:

| Package | Type | Update | Change | References |
|---|---|---|---|---|
| husky | devDependencies | major | `0.14.3` -> `1.1.1` | [source](https://renovatebot.com/gh/typicode/husky) |

---

### Release Notes

<details>
<summary>typicode/husky</summary>

### [`v1.1.1`](https://renovatebot.com/gh/typicode/husky/blob/master/CHANGELOG.md#&#8203;111)

[Compare Source](https://renovatebot.com/gh/typicode/husky/compare/v1.1.0...v1.1.1)

-   Check `HUSKY_SKIP_INSTALL` value first before checking if `.git` exists
-   Check Node version before running hooks

### [`v1.1.0`](https://renovatebot.com/gh/typicode/husky/blob/master/CHANGELOG.md#&#8203;110)

[Compare Source](https://renovatebot.com/gh/typicode/husky/compare/v1.0.1...v1.1.0)

-   Create `.git/hooks` if it doesn't exist

### [`v1.0.1`](https://renovatebot.com/gh/typicode/husky/blob/master/CHANGELOG.md#&#8203;101)

[Compare Source](https://renovatebot.com/gh/typicode/husky/compare/v1.0.0...v1.0.1)

-   Various `husky-upgrade` changes ([#&#8203;362](https://renovatebot.com/gh/typicode/husky/pull/362), [#&#8203;360](https://renovatebot.com/gh/typicode/husky/pull/360), [#&#8203;359](https://renovatebot.com/gh/typicode/husky/pull/359))

### [`v1.0.0`](https://renovatebot.com/gh/typicode/husky/blob/master/CHANGELOG.md#&#8203;100)

[Compare Source](https://renovatebot.com/gh/typicode/husky/compare/v0.14.3...v1.0.0)

After a year of pre-releases and a complete rewrite, this marks the first stable release of husky 🐶🎉.

##### Notable changes

Below you'll find consolidated changes since `0.14.3`. There's no change in code between `1.0.0-rc.15` and `1.0.0`.

-   Hooks

    -   Add `sendemail-validate` hook

-   Config

    -   Move hooks config from `scripts` field to `husky` field
    -   Prefer raw names for hooks (e.g. `pre-commit` rather than `precommit`)
    -   Support `.huskyrc` config

-   Package managers

    -   Support environments where [yarn](https://renovatebot.com/gh/yarnpkg/yarn/) is the only package manager installed
    -   Support [pnpm](https://renovatebot.com/gh/pnpm/pnpm) package manager

-   Environment variables

    -   Add `HUSKY_SKIP_INSTALL` environment variable for skipping git hooks installation
    -   Add `HUSKY_GIT_STDIN` environment variable for `pre-push`, `pre-receive`, `post-receive` and `post-rewrite` to access arguments passed by Git via stdin
    -   Rename `GIT_PARAMS` to `HUSKY_GIT_PARAMS`

-   Messages

    -   Add many more messages in case of errors
    -   Add [please-upgrade-node](https://renovatebot.com/gh/typicode/please-upgrade-node) message if using with unsupported Node version
    -   Make `--no-verify` message more accurate and only show it for hooks that can be skipped

-   Upgrade

    -   Add `husky-upgrade` command to automatically migrate hooks in `package.json`
    -   Add deprecation warning for hooks that are still defined in `scripts`

-   Other
    -   Drop `Node 4` support
    -   Drop integrated `nvm` support (see Node version management in docs)

##### Credits

Huge thanks to all the Contributors and [Patreon Supporters](https://thanks.typicode.com)! 🙏

</details>

---

### 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!`".

🔕 **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-10 17:20:44 +03:00
renovate[bot]
c9121b1948 chore(deps): update dependency lerna to v3.4.3 (#1789) 2018-10-10 16:27:19 +03:00
renovate[bot]
ff3c23f20b chore(deps): update dependency typescript to v3.1.2 (#1790) 2018-10-10 16:26:57 +03:00
renovate[bot]
99f7f94608 chore(deps): update dependency @types/lodash to v4.14.117 (#1787) 2018-10-10 15:13:44 +03:00
renovate[bot]
cf4d1f23e9 chore(deps): update dependency @types/node to v10.11.6 (#1788)
This PR contains the following updates:

| Package | Type | Update | Change | References |
|---|---|---|---|---|
| @types/node | devDependencies | patch | `10.11.5` -> `10.11.6` | [source](https://renovatebot.com/gh/DefinitelyTyped/DefinitelyTyped) |

---

### 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-10 15:13:23 +03:00
Renovate Bot
619ddd6e00 chore(deps): update dependency @types/jest to v23.3.5 2018-10-10 11:54:15 +00:00
Martijn Walraven
5b1760d78a Update graphql-subscriptions dependency to 1.0.0 in all packages 2018-10-09 12:18:25 +02:00
Martijn Walraven
02b645b347 Update graphql-subscriptions dependency to 1.0.0 2018-10-09 11:42:00 +02:00
Martijn Walraven
b7c9a6d8fe Add @types/ws and update ws dependency 2018-10-09 11:38:46 +02:00
Martijn Walraven
b5715410fb Merge remote-tracking branch 'origin/master' into abernix/re-new-request-pipeline 2018-10-09 11:30:16 +02:00
renovate[bot]
5c115a17f1 chore(deps): update dependency @types/redis to v2.8.7 (#1785) 2018-10-09 11:21:30 +02:00
renovate[bot]
f29ec2ef56 chore(deps): update dependency @types/node to v10.11.5 (#1784) 2018-10-09 11:20:41 +02:00
renovate[bot]
87cdcc3ebf chore(deps): update dependency @types/jest to v23.3.4 (#1783) 2018-10-09 11:19:56 +02:00
Renovate Bot
bf603653a0 chore(deps): update dependency @types/graphql to v14.0.2 2018-10-09 09:02:21 +00:00
Martijn Walraven
428430c1dd Enable strict typing for apollo-server-express and fix issues 2018-10-08 21:50:44 +02:00
Renovate Bot
f920f5f610 chore(deps): update dependency ts-jest to v23.10.4 2018-10-08 13:58:53 +00:00
Martijn Walraven
5281f3f98f Introduce request context and refactor pipeline code 2018-10-07 18:23:27 +02:00
Martijn Walraven
e928adfdfc Simplify plugin API and fix circular dependency issues
We compile `requestPipelineAPI.ts` as a separate TypeScript project to avoid circular dependency issues from the `apollo-server-plugin-base` package depending on the types in `apollo-server-core`.
2018-10-06 06:59:32 +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
669b35c328 Upgrade ts-jest and fix config 2018-10-05 23:43:46 +02:00
Martijn Walraven
5d03ae1650 Update to TypeScript 3.1 2018-10-05 17:18:13 +02:00
Jesse Rosenberger
aeabb861c5
Merge remote-tracking branch 'public/master' into abernix/re-new-request-pipeline 2018-10-05 16:43:00 +03:00
Jesse Rosenberger
6ea82405ad
Add apollo-server-plugin-base to the monorepo's root package{-lock}?.json. 2018-10-05 16:12:05 +03:00
Jesse Rosenberger
94a146a07e
Introduce a apollo-server-plugin-base as a foundation for plugins. 2018-10-04 23:25:42 +03:00
Renovate Bot
60f39eb713 chore(deps): update dependency lerna to v3.4.1 2018-10-04 19:51:26 +00:00
Renovate Bot
bb0537b360 chore(deps): update dependency @types/node to v10.11.4 2018-10-04 18:04:16 +00:00
Renovate Bot
097cae5bdc chore(deps): update dependency @types/jest to v23.3.3 2018-10-04 13:49:17 +00:00
Renovate Bot
00a829ebb6 chore(deps): update dependency @types/hapi to v17.6.1 2018-10-04 11:47:33 +00:00
Renovate Bot
d626a7f130 chore(deps): update dependency jest-junit to v5.2.0 2018-10-02 12:00:33 +00:00
Renovate Bot
ade92038a8 chore(deps): update dependency graphql-tag to v2.10.0 2018-10-02 10:14:43 +00:00
Renovate Bot
d2b1e3f9f0 chore(deps): update dependency @types/node to v10.11.3 2018-09-29 06:21:44 +00:00
Renovate Bot
5f89702d9a chore(deps): update dependency @types/node to v10.11.2 2018-09-27 19:00:08 +00:00
Renovate Bot
577e620678 chore(deps): update dependency @types/hapi to v17.6.0 2018-09-27 17:42:06 +00:00
Martijn Walraven
7fbf35cc1c
Remove hash.js dependency and re-enable noUnusedLocals 2018-09-27 16:46:45 +03:00
Jesse Rosenberger
dc66ed4419
Merge pull request #1730 from apollographql/abernix/test-infra
Adjust testing infrastructure and add code coverage.
2018-09-27 12:45:40 +03:00
Renovate Bot
9e3eeae259 chore(deps): update dependency multer to v1.4.0 2018-09-27 04:40:03 +00:00
Jesse Rosenberger
549a64eec6
Add support for Jest JUnit test output for consumption by CircleCI.
This should hopefully make it easier to quickly identify failing tests
within the CircleCI interface since CircleCI will be able to
programmatically consume the test results.
2018-09-26 22:47:58 +03:00
Jesse Rosenberger
3c28bcf9d2
Switch all package-lock.json resolutions to use https:// links.
I'm hopeful that the outstanding `http://` links were all artifacts of older
installs which can safely go away.
2018-09-26 14:32:52 +03:00
Jesse Rosenberger
c07c7921c2
Reimplement Jest coverage tests and reporting via codecov.
This adds the `--coverage` flag to the `test:ci` (Jest) script, in addition to
adding two new commands (mirroring the pattern used in Apollo Client's
repository): `npm run coverage` and `npm run coverage:upload`.

CircleCI has been configured with the appropriate `CODECOV_TOKEN`.
2018-09-26 14:32:52 +03:00