@graphcommerce/graphql-mesh 3.2.10 → 3.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/createServer.ts +3 -0
  2. package/package.json +6 -5
package/createServer.ts CHANGED
@@ -11,6 +11,7 @@ import '@graphql-mesh/cache-inmemory-lru'
11
11
  import '@vue/compiler-sfc'
12
12
  import 'ts-tiny-invariant'
13
13
  import 'micro'
14
+ import { plugin as apolloTracingPlugin } from 'apollo-tracing'
14
15
  import cors from 'micro-cors'
15
16
 
16
17
  export async function getMesh(config: unknown): Promise<MeshInstance> {
@@ -27,6 +28,8 @@ export async function createServer(mesh: Promise<MeshInstance>, path: string) {
27
28
  // @ts-expect-error https://github.com/graphql/graphql-playground/issues/1289
28
29
  shareEnabled: true,
29
30
  }),
31
+ // @ts-expect-error apolloTracingPlugin is not officially supported anymore
32
+ apolloTracingPlugin(),
30
33
  ],
31
34
  ...meshInstance,
32
35
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphcommerce/graphql-mesh",
3
- "version": "3.2.10",
3
+ "version": "3.2.11",
4
4
  "author": "",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -23,8 +23,9 @@
23
23
  "@graphql-mesh/utils": "^0.24.1",
24
24
  "@graphql-tools/utils": "^8.5.5",
25
25
  "@vue/compiler-sfc": "^3.2.26",
26
- "apollo-server-core": "^3.5.0",
27
- "apollo-server-micro": "^3.5.0",
26
+ "apollo-server-core": "^3.6.1",
27
+ "apollo-server-micro": "^3.6.1",
28
+ "apollo-tracing": "^0.15.0",
28
29
  "camel-case": "^4.1.2",
29
30
  "fetchache": "^0.1.1",
30
31
  "graphql": "^16.2.0",
@@ -35,7 +36,7 @@
35
36
  },
36
37
  "devDependencies": {
37
38
  "@graphcommerce/browserslist-config-pwa": "^3.0.3",
38
- "@graphcommerce/eslint-config-pwa": "^3.1.9",
39
+ "@graphcommerce/eslint-config-pwa": "^3.1.10",
39
40
  "@graphcommerce/prettier-config-pwa": "^3.0.5",
40
41
  "@graphcommerce/typescript-config-pwa": "^3.1.2",
41
42
  "@playwright/test": "^1.17.1",
@@ -57,5 +58,5 @@
57
58
  "project": "./tsconfig.json"
58
59
  }
59
60
  },
60
- "gitHead": "7cfbdb5a042e271252c8b9729393e084002a321e"
61
+ "gitHead": "bc5423d7547f8685db4cd8fc6d8f7a2a51ebed05"
61
62
  }