@graphcommerce/graphql-mesh 4.0.3 → 4.0.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Change Log
2
2
 
3
+ ## 4.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1285](https://github.com/ho-nl/m2-pwa/pull/1285)
8
+ [`c85294ba6`](https://github.com/ho-nl/m2-pwa/commit/c85294ba6d742ce78c074559a1e95409b25a5017)
9
+ Thanks [@paales](https://github.com/paales)! - upgraded dependencies
10
+
11
+ * [#1285](https://github.com/ho-nl/m2-pwa/pull/1285)
12
+ [`d9cd4acca`](https://github.com/ho-nl/m2-pwa/commit/d9cd4acca218018dd6e20f033875ef93919fb462)
13
+ Thanks [@paales](https://github.com/paales)! - fix: issue with graphql server creation
14
+
3
15
  ## 4.0.3
4
16
 
5
17
  ### Patch Changes
package/createServer.ts CHANGED
@@ -23,6 +23,7 @@ export async function createServer(mesh: Promise<MeshInstance>, path: string) {
23
23
  const apolloServer = new ApolloServer({
24
24
  context: ({ req }) => req,
25
25
  introspection: true,
26
+ ...meshInstance,
26
27
  plugins: [
27
28
  ApolloServerPluginLandingPageGraphQLPlayground({
28
29
  // @ts-expect-error https://github.com/graphql/graphql-playground/issues/1289
@@ -31,7 +32,6 @@ export async function createServer(mesh: Promise<MeshInstance>, path: string) {
31
32
  // @ts-expect-error apolloTracingPlugin is not officially supported anymore
32
33
  apolloTracingPlugin(),
33
34
  ],
34
- ...meshInstance,
35
35
  })
36
36
  await apolloServer.start()
37
37
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/graphql-mesh",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "4.0.3",
5
+ "version": "4.0.4",
6
6
  "author": "",
7
7
  "license": "MIT",
8
8
  "scripts": {
@@ -11,18 +11,18 @@
11
11
  "start": "next start"
12
12
  },
13
13
  "dependencies": {
14
- "@graphql-mesh/cache-inmemory-lru": "^0.5.45",
15
- "@graphql-mesh/config": "^0.29.4",
16
- "@graphql-mesh/graphql": "^0.20.17",
17
- "@graphql-mesh/merger-stitching": "^0.15.5",
18
- "@graphql-mesh/runtime": "^0.30.3",
19
- "@graphql-mesh/store": "^0.3.13",
20
- "@graphql-mesh/transform-cache": "^0.11.14",
21
- "@graphql-mesh/transform-federation": "^0.8.13",
22
- "@graphql-mesh/transform-filter-schema": "^0.14.13",
23
- "@graphql-mesh/types": "^0.62.1",
24
- "@graphql-mesh/utils": "^0.27.0",
25
- "@graphql-tools/utils": "^8.6.1",
14
+ "@graphql-mesh/cache-inmemory-lru": "^0.5.49",
15
+ "@graphql-mesh/config": "^0.30.3",
16
+ "@graphql-mesh/graphql": "^0.20.24",
17
+ "@graphql-mesh/merger-stitching": "^0.15.12",
18
+ "@graphql-mesh/runtime": "^0.31.3",
19
+ "@graphql-mesh/store": "^0.3.19",
20
+ "@graphql-mesh/transform-cache": "^0.11.20",
21
+ "@graphql-mesh/transform-federation": "^0.8.19",
22
+ "@graphql-mesh/transform-filter-schema": "^0.14.20",
23
+ "@graphql-mesh/types": "^0.64.0",
24
+ "@graphql-mesh/utils": "^0.27.6",
25
+ "@graphql-tools/utils": "^8.6.2",
26
26
  "@vue/compiler-sfc": "^3.2.31",
27
27
  "apollo-server-core": "^3.6.3",
28
28
  "apollo-server-micro": "^3.6.3",
@@ -36,7 +36,7 @@
36
36
  "ts-tiny-invariant": "^1.0.5"
37
37
  },
38
38
  "devDependencies": {
39
- "@graphcommerce/eslint-config-pwa": "^4.0.3",
39
+ "@graphcommerce/eslint-config-pwa": "^4.0.4",
40
40
  "@graphcommerce/prettier-config-pwa": "^4.0.2",
41
41
  "@graphcommerce/typescript-config-pwa": "^4.0.2",
42
42
  "@playwright/test": "^1.19.1",