@graphcommerce/graphql-mesh 4.0.1 → 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,49 @@
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
+
15
+ ## 4.0.3
16
+
17
+ ### Patch Changes
18
+
19
+ - [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96)
20
+ Thanks [@paales](https://github.com/paales)! - made packages public
21
+
22
+ * [#1278](https://github.com/ho-nl/m2-pwa/pull/1278)
23
+ [`81ea406d5`](https://github.com/ho-nl/m2-pwa/commit/81ea406d54d6b5c662c030a7fea444abc4117a20)
24
+ Thanks [@ErwinOtten](https://github.com/ErwinOtten)! - Upgraded dependencies to the latest version
25
+
26
+ ## 4.0.2
27
+
28
+ ### Patch Changes
29
+
30
+ - [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
31
+ [`ce09388e0`](https://github.com/ho-nl/m2-pwa/commit/ce09388e0d7ef33aee660612340f6fbae15ceec2)
32
+ Thanks [@paales](https://github.com/paales)! - We've moved lots of internal packages from
33
+ `dependencies` to `peerDependencies`. The result of this is that there will be significantly less
34
+ duplicate packages in the node_modules folders.
35
+
36
+ * [#1276](https://github.com/ho-nl/m2-pwa/pull/1276)
37
+ [`52a45bba4`](https://github.com/ho-nl/m2-pwa/commit/52a45bba4dc6dd6df3c81f5023df7d23ed8a534d)
38
+ Thanks [@paales](https://github.com/paales)! - Upgraded to
39
+ [NextJS 12.1](https://nextjs.org/blog/next-12-1)! This is just for compatibility, but we'll be
40
+ implementing
41
+ [On-demand Incremental Static Regeneration](https://nextjs.org/blog/next-12-1#on-demand-incremental-static-regeneration-beta)
42
+ soon.
43
+
44
+ This will greatly reduce the requirement to rebuid stuff and we'll add a management UI on the
45
+ frontend to be able to revalidate pages manually.
46
+
3
47
  ## 4.0.1
4
48
 
5
49
  ### 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.1",
5
+ "version": "4.0.4",
6
6
  "author": "",
7
7
  "license": "MIT",
8
8
  "scripts": {
@@ -11,19 +11,19 @@
11
11
  "start": "next start"
12
12
  },
13
13
  "dependencies": {
14
- "@graphql-mesh/cache-inmemory-lru": "^0.5.43",
15
- "@graphql-mesh/config": "^0.29.1",
16
- "@graphql-mesh/graphql": "^0.20.17",
17
- "@graphql-mesh/merger-stitching": "^0.15.5",
18
- "@graphql-mesh/runtime": "^0.30.0",
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.61.0",
24
- "@graphql-mesh/utils": "^0.27.0",
25
- "@graphql-tools/utils": "^8.6.1",
26
- "@vue/compiler-sfc": "^3.2.30",
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
+ "@vue/compiler-sfc": "^3.2.31",
27
27
  "apollo-server-core": "^3.6.3",
28
28
  "apollo-server-micro": "^3.6.3",
29
29
  "apollo-tracing": "^0.15.0",
@@ -36,10 +36,10 @@
36
36
  "ts-tiny-invariant": "^1.0.5"
37
37
  },
38
38
  "devDependencies": {
39
- "@graphcommerce/eslint-config-pwa": "^4.0.1",
40
- "@graphcommerce/prettier-config-pwa": "^4.0.1",
41
- "@graphcommerce/typescript-config-pwa": "^4.0.1",
42
- "@playwright/test": "^1.18.1",
39
+ "@graphcommerce/eslint-config-pwa": "^4.0.4",
40
+ "@graphcommerce/prettier-config-pwa": "^4.0.2",
41
+ "@graphcommerce/typescript-config-pwa": "^4.0.2",
42
+ "@playwright/test": "^1.19.1",
43
43
  "@types/micro-cors": "^0.1.2",
44
44
  "graphql-tag": "2.12.6",
45
45
  "typescript": "^4.5.5"