2016-04-24 15:55:22 -07:00
|
|
|
{
|
2018-11-06 16:45:18 -08:00
|
|
|
"name": "apollo-server-monorepo",
|
|
|
|
"private": true,
|
|
|
|
"license": "MIT",
|
|
|
|
"repository": "github:apollographql/apollo-server",
|
|
|
|
"scripts": {
|
|
|
|
"clean": "git clean -dfqX -- ./node_modules **/{dist,node_modules}/",
|
|
|
|
"compile": "tsc --build tsconfig.build.json",
|
|
|
|
"compile:clean": "tsc --build tsconfig.build.json --clean",
|
|
|
|
"watch": "tsc --build tsconfig.build.json --watch",
|
|
|
|
"release": "npm run clean && npm ci && lerna publish --exact",
|
|
|
|
"postinstall": "lerna run prepare && npm run compile",
|
|
|
|
"lint": "prettier-check '**/*.{js,ts}'",
|
|
|
|
"lint-fix": "prettier '**/*.{js,ts}' --write",
|
|
|
|
"test": "jest --verbose",
|
|
|
|
"test:clean": "jest --clearCache",
|
|
|
|
"test:watch": "jest --verbose --watchAll",
|
|
|
|
"testonly": "npm test",
|
|
|
|
"test:ci": "npm run coverage -- --ci --maxWorkers=2 --reporters=default --reporters=jest-junit",
|
|
|
|
"coverage": "npm test -- --coverage",
|
|
|
|
"coverage:upload": "codecov"
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.ts": [
|
|
|
|
"prettier --write",
|
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"*.js": [
|
|
|
|
"prettier --write",
|
|
|
|
"git add"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=6"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2019-01-17 04:22:44 +00:00
|
|
|
"@apollographql/apollo-tools": "^0.3.0",
|
2018-11-06 16:45:18 -08:00
|
|
|
"apollo-cache-control": "file:packages/apollo-cache-control",
|
|
|
|
"apollo-datasource": "file:packages/apollo-datasource",
|
|
|
|
"apollo-datasource-rest": "file:packages/apollo-datasource-rest",
|
|
|
|
"apollo-engine-reporting": "file:packages/apollo-engine-reporting",
|
|
|
|
"apollo-engine-reporting-protobuf": "file:packages/apollo-engine-reporting-protobuf",
|
|
|
|
"apollo-server": "file:packages/apollo-server",
|
|
|
|
"apollo-server-azure-functions": "file:packages/apollo-server-azure-functions",
|
|
|
|
"apollo-server-cache-memcached": "file:packages/apollo-server-cache-memcached",
|
|
|
|
"apollo-server-cache-redis": "file:packages/apollo-server-cache-redis",
|
|
|
|
"apollo-server-caching": "file:packages/apollo-server-caching",
|
2018-11-12 05:13:04 -08:00
|
|
|
"apollo-server-cloud-functions": "file:packages/apollo-server-cloud-functions",
|
2018-11-06 16:45:18 -08:00
|
|
|
"apollo-server-cloudflare": "file:packages/apollo-server-cloudflare",
|
|
|
|
"apollo-server-core": "file:packages/apollo-server-core",
|
|
|
|
"apollo-server-env": "file:packages/apollo-server-env",
|
|
|
|
"apollo-server-errors": "file:packages/apollo-server-errors",
|
|
|
|
"apollo-server-express": "file:packages/apollo-server-express",
|
|
|
|
"apollo-server-hapi": "file:packages/apollo-server-hapi",
|
|
|
|
"apollo-server-integration-testsuite": "file:packages/apollo-server-integration-testsuite",
|
|
|
|
"apollo-server-koa": "file:packages/apollo-server-koa",
|
|
|
|
"apollo-server-lambda": "file:packages/apollo-server-lambda",
|
|
|
|
"apollo-server-micro": "file:packages/apollo-server-micro",
|
|
|
|
"apollo-server-plugin-base": "file:packages/apollo-server-plugin-base",
|
|
|
|
"apollo-server-testing": "file:packages/apollo-server-testing",
|
|
|
|
"apollo-tracing": "file:packages/apollo-tracing",
|
|
|
|
"graphql-extensions": "file:packages/graphql-extensions"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/async-retry": "1.2.1",
|
2018-12-21 03:21:58 +00:00
|
|
|
"@types/aws-lambda": "8.10.17",
|
2018-11-06 16:45:18 -08:00
|
|
|
"@types/body-parser": "1.17.0",
|
|
|
|
"@types/connect": "3.4.32",
|
2019-01-23 22:43:39 +02:00
|
|
|
"@types/fast-json-stable-stringify": "2.0.0",
|
2018-11-06 16:45:18 -08:00
|
|
|
"@types/fibers": "0.0.30",
|
2019-01-16 04:30:31 +00:00
|
|
|
"@types/graphql": "14.0.5",
|
2019-01-23 10:28:13 +00:00
|
|
|
"@types/hapi": "17.8.5",
|
2019-01-19 05:24:59 +00:00
|
|
|
"@types/jest": "23.3.13",
|
2018-11-06 16:45:18 -08:00
|
|
|
"@types/koa-multer": "1.0.0",
|
2019-01-23 11:30:16 +00:00
|
|
|
"@types/koa-router": "7.0.39",
|
2019-01-18 04:19:56 +00:00
|
|
|
"@types/lodash": "4.14.120",
|
2018-11-06 16:45:18 -08:00
|
|
|
"@types/lru-cache": "4.1.1",
|
|
|
|
"@types/memcached": "2.2.5",
|
|
|
|
"@types/micro": "7.3.3",
|
|
|
|
"@types/multer": "1.3.7",
|
2018-12-20 04:19:15 +00:00
|
|
|
"@types/node": "10.12.18",
|
2018-11-21 16:45:44 +00:00
|
|
|
"@types/node-fetch": "2.1.4",
|
2018-12-22 03:33:41 +00:00
|
|
|
"@types/redis": "2.8.10",
|
2018-11-06 16:45:18 -08:00
|
|
|
"@types/request": "2.48.1",
|
|
|
|
"@types/request-promise": "4.1.42",
|
|
|
|
"@types/test-listen": "1.1.0",
|
|
|
|
"@types/type-is": "1.6.2",
|
|
|
|
"@types/ws": "6.0.1",
|
|
|
|
"apollo-fetch": "0.7.0",
|
2018-12-15 04:33:47 +00:00
|
|
|
"apollo-link": "1.2.6",
|
2018-12-15 05:31:08 +00:00
|
|
|
"apollo-link-http": "1.5.9",
|
2018-11-16 13:34:48 +02:00
|
|
|
"apollo-link-persisted-queries": "0.2.2",
|
2018-11-06 16:45:18 -08:00
|
|
|
"body-parser": "1.18.3",
|
|
|
|
"codecov": "3.1.0",
|
|
|
|
"connect": "3.6.6",
|
|
|
|
"express": "4.16.4",
|
2018-11-21 23:36:51 +00:00
|
|
|
"fibers": "3.1.1",
|
2018-11-06 16:45:18 -08:00
|
|
|
"form-data": "2.3.3",
|
2019-01-17 05:21:49 +00:00
|
|
|
"graphql": "14.1.1",
|
2018-11-06 16:45:18 -08:00
|
|
|
"graphql-subscriptions": "1.0.0",
|
2019-01-18 05:22:41 +00:00
|
|
|
"graphql-tag": "2.10.1",
|
2019-01-25 04:24:31 +00:00
|
|
|
"graphql-tools": "4.0.4",
|
2018-11-23 07:10:30 +00:00
|
|
|
"hapi": "17.8.1",
|
2018-12-28 07:19:55 +00:00
|
|
|
"husky": "1.3.1",
|
2018-11-06 16:45:18 -08:00
|
|
|
"jest": "23.6.0",
|
|
|
|
"jest-junit": "5.2.0",
|
|
|
|
"jest-matcher-utils": "23.6.0",
|
|
|
|
"js-sha256": "0.9.0",
|
2018-11-10 09:01:06 +00:00
|
|
|
"koa": "2.6.2",
|
2018-11-06 16:45:18 -08:00
|
|
|
"koa-multer": "1.0.2",
|
2019-01-23 12:26:42 +00:00
|
|
|
"lerna": "3.10.7",
|
2018-11-22 13:07:10 +02:00
|
|
|
"lint-staged": "8.1.0",
|
2018-11-06 16:45:18 -08:00
|
|
|
"memcached-mock": "0.1.0",
|
2018-12-07 06:56:52 +00:00
|
|
|
"meteor-promise": "0.8.7",
|
2018-11-06 16:45:18 -08:00
|
|
|
"mock-req": "0.2.0",
|
|
|
|
"multer": "1.4.1",
|
2018-11-13 08:36:30 +00:00
|
|
|
"node-fetch": "2.3.0",
|
chore(deps): update dependency prettier to v1.16.1 (#2203)
This PR contains the following updates:
| Package | Type | Update | Change | References |
|---|---|---|---|---|
| prettier | devDependencies | minor | `1.15.3` -> `1.16.1` | [homepage](https://prettier.io), [source](https://togithub.com/prettier/prettier) |
---
### Release Notes
<details>
<summary>prettier/prettier</summary>
### [`v1.16.1`](https://togithub.com/prettier/prettier/blob/master/CHANGELOG.md#​1161)
[Compare Source](https://togithub.com/prettier/prettier/compare/1.16.0...1.16.1)
[diff](https://togithub.com/prettier/prettier/compare/1.16.0...1.16.1)
- JavaScript: Do not format functions with arguments as react hooks ([#​5778] by [@​SimenB])
The formatting added in Prettier 1.16 would format any function receiving an
arrow function and an array literal to match React Hook's documentation.
Prettier will now format this the same as before that change if the arrow
function receives any arguments.
<!-- prettier-ignore -->
```js
// Input
["red", "white", "blue", "black", "hotpink", "rebeccapurple"].reduce(
(allColors, color) => {
return allColors.concat(color);
},
[]
);
// Output (Prettier 1.16.0)
["red", "white", "blue", "black", "hotpink", "rebeccapurple"].reduce((
allColors,
color
) => {
return allColors.concat(color);
}, []);
// Output (Prettier 1.16.1)
["red", "white", "blue", "black", "hotpink", "rebeccapurple"].reduce(
(allColors, color) => {
return allColors.concat(color);
},
[]
);
```
- JavaScript: Add necessary parentheses for decorators ([#​5785] by [@​ikatyang])
Parentheses for decorators with nested call expressions are optional for legacy decorators
but they're required for decorators in the current [proposal](https://tc39.github.io/proposal-decorators/#sec-syntax).
<!-- prettier-ignore -->
```js
// Input
class X {
@​(computed().volatile())
prop
}
// Output (Prettier 1.16.0)
class X {
@​computed().volatile()
prop
}
// Output (Prettier 1.16.1)
class X {
@​(computed().volatile())
prop
}
```
- TypeScript: Stable parentheses for function type in the return type of arrow function ([#​5790] by [@​ikatyang])
There's a regression introduced in 1.16 that
parentheses for function type in the return type of arrow function were kept adding/removing.
Their parentheses are always printed now.
<!-- prettier-ignore -->
```ts
// Input
const foo = (): (() => void) => (): void => null;
const bar = (): () => void => (): void => null;
// First Output (Prettier 1.16.0)
const foo = (): () => void => (): void => null;
const bar = (): (() => void) => (): void => null;
// Second Output (Prettier 1.16.0)
const foo = (): (() => void) => (): void => null;
const bar = (): () => void => (): void => null;
// Output (Prettier 1.16.1)
const foo = (): (() => void) => (): void => null;
const bar = (): (() => void) => (): void => null;
```
- MDX: Correctly recognize inline JSX ([#​5783] by [@​ikatyang])
Previously, some inline JSXs are wrongly recognized as block HTML/JSX,
which causes unexpected behaviors. This issue is now fixed.
<!-- prettier-ignore -->
```md
<!-- Input -->
_foo <InlineJSX /> bar_
<!-- Output (Prettier 1.16.0) -->
_foo
<InlineJSX /> bar_
<!-- Output (Prettier 1.16.1) -->
_foo <InlineJSX /> bar_
```
[@​ikatyang]: https://togithub.com/ikatyang
[@​simenb]: https://togithub.com/SimenB
[#​5778]: https://togithub.com/prettier/prettier/pull/5778
[#​5783]: https://togithub.com/prettier/prettier/pull/5783
[#​5785]: https://togithub.com/prettier/prettier/pull/5785
[#​5790]: https://togithub.com/prettier/prettier/pull/5790
### [`v1.16.0`](https://togithub.com/prettier/prettier/blob/master/CHANGELOG.md#​1160)
[Compare Source](https://togithub.com/prettier/prettier/compare/1.15.3...1.16.0)
[diff](https://togithub.com/prettier/prettier/compare/1.15.3...1.16.0)
🔗 [Release Notes](https://prettier.io/blog/2019/01/20/1.16.0.html)
</details>
---
### Renovate configuration
:date: **Schedule**: "after 6pm every weekday,before 5am every weekday" in timezone America/Los_Angeles.
:vertical_traffic_light: **Automerge**: Enabled.
:recycle: **Rebasing**: Whenever PR is stale, or if you modify the PR title to begin with "`rebase!`".
:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- renovate-rebase -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://togithub.com/marketplace/renovate). View repository job log [here](https://renovatebot.com/dashboard#apollographql/apollo-server).
2019-01-23 17:46:53 +02:00
|
|
|
"prettier": "1.16.1",
|
2018-11-06 16:45:18 -08:00
|
|
|
"prettier-check": "2.0.0",
|
|
|
|
"qs-middleware": "1.0.3",
|
2019-01-25 05:25:54 +00:00
|
|
|
"redis-mock": "0.43.0",
|
2018-11-06 16:45:18 -08:00
|
|
|
"request": "2.88.0",
|
|
|
|
"request-promise": "4.2.2",
|
|
|
|
"subscriptions-transport-ws": "0.9.15",
|
2019-01-22 10:25:39 +00:00
|
|
|
"supertest": "3.4.2",
|
2018-11-06 16:45:18 -08:00
|
|
|
"test-listen": "1.1.0",
|
2018-11-23 08:07:32 +00:00
|
|
|
"ts-jest": "23.10.5",
|
2019-01-11 07:33:06 +00:00
|
|
|
"tslint": "5.12.1",
|
2019-01-18 07:20:07 +00:00
|
|
|
"typescript": "3.2.4",
|
2019-01-24 08:49:39 +00:00
|
|
|
"ws": "6.1.3",
|
2019-01-24 04:23:02 +00:00
|
|
|
"yup": "0.26.10"
|
2018-11-06 16:45:18 -08:00
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"projects": [
|
|
|
|
"<rootDir>/packages/*"
|
|
|
|
]
|
|
|
|
}
|
2016-11-16 03:17:54 +01:00
|
|
|
}
|