@graphcommerce/graphql-mesh 3.2.7 → 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.
- package/createServer.ts +3 -0
- package/package.json +24 -23
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.
|
|
3
|
+
"version": "3.2.11",
|
|
4
4
|
"author": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
@@ -9,39 +9,40 @@
|
|
|
9
9
|
"start": "next start"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@graphql-mesh/cache-inmemory-lru": "^0.5.
|
|
13
|
-
"@graphql-mesh/cli": "^0.44.
|
|
14
|
-
"@graphql-mesh/config": "^0.
|
|
15
|
-
"@graphql-mesh/graphql": "^0.20.
|
|
16
|
-
"@graphql-mesh/merger-stitching": "^0.14.
|
|
17
|
-
"@graphql-mesh/runtime": "^0.26.
|
|
18
|
-
"@graphql-mesh/store": "^0.3.
|
|
19
|
-
"@graphql-mesh/transform-cache": "^0.11.
|
|
20
|
-
"@graphql-mesh/transform-federation": "^0.8.
|
|
21
|
-
"@graphql-mesh/transform-filter-schema": "^0.14.
|
|
22
|
-
"@graphql-mesh/types": "^0.
|
|
23
|
-
"@graphql-mesh/utils": "^0.
|
|
24
|
-
"@graphql-tools/utils": "^8.5.
|
|
12
|
+
"@graphql-mesh/cache-inmemory-lru": "^0.5.35",
|
|
13
|
+
"@graphql-mesh/cli": "^0.44.5",
|
|
14
|
+
"@graphql-mesh/config": "^0.27.1",
|
|
15
|
+
"@graphql-mesh/graphql": "^0.20.9",
|
|
16
|
+
"@graphql-mesh/merger-stitching": "^0.14.9",
|
|
17
|
+
"@graphql-mesh/runtime": "^0.26.10",
|
|
18
|
+
"@graphql-mesh/store": "^0.3.5",
|
|
19
|
+
"@graphql-mesh/transform-cache": "^0.11.6",
|
|
20
|
+
"@graphql-mesh/transform-federation": "^0.8.5",
|
|
21
|
+
"@graphql-mesh/transform-filter-schema": "^0.14.5",
|
|
22
|
+
"@graphql-mesh/types": "^0.57.0",
|
|
23
|
+
"@graphql-mesh/utils": "^0.24.1",
|
|
24
|
+
"@graphql-tools/utils": "^8.5.5",
|
|
25
25
|
"@vue/compiler-sfc": "^3.2.26",
|
|
26
|
-
"apollo-server-core": "^3.
|
|
27
|
-
"apollo-server-micro": "^3.
|
|
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
|
-
"graphql": "^16.
|
|
31
|
+
"graphql": "^16.2.0",
|
|
31
32
|
"micro": "^9.3.4",
|
|
32
33
|
"micro-cors": "^0.1.1",
|
|
33
34
|
"pascal-case": "^3.1.2",
|
|
34
35
|
"ts-tiny-invariant": "^1.0.5"
|
|
35
36
|
},
|
|
36
37
|
"devDependencies": {
|
|
37
|
-
"@graphcommerce/browserslist-config-pwa": "^3.0.
|
|
38
|
-
"@graphcommerce/eslint-config-pwa": "^3.1.
|
|
39
|
-
"@graphcommerce/prettier-config-pwa": "^3.0.
|
|
40
|
-
"@graphcommerce/typescript-config-pwa": "^3.1.
|
|
38
|
+
"@graphcommerce/browserslist-config-pwa": "^3.0.3",
|
|
39
|
+
"@graphcommerce/eslint-config-pwa": "^3.1.10",
|
|
40
|
+
"@graphcommerce/prettier-config-pwa": "^3.0.5",
|
|
41
|
+
"@graphcommerce/typescript-config-pwa": "^3.1.2",
|
|
41
42
|
"@playwright/test": "^1.17.1",
|
|
42
43
|
"@types/micro-cors": "^0.1.2",
|
|
43
44
|
"graphql-tag": "2.12.6",
|
|
44
|
-
"typescript": "^4.5.
|
|
45
|
+
"typescript": "^4.5.4"
|
|
45
46
|
},
|
|
46
47
|
"sideEffects": false,
|
|
47
48
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
@@ -57,5 +58,5 @@
|
|
|
57
58
|
"project": "./tsconfig.json"
|
|
58
59
|
}
|
|
59
60
|
},
|
|
60
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "bc5423d7547f8685db4cd8fc6d8f7a2a51ebed05"
|
|
61
62
|
}
|