@graphcommerce/graphql-mesh 4.1.2 → 4.1.5
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 +18 -0
- package/api/createEnvelop.ts +2 -2
- package/package.json +11 -17
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 4.1.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1552](https://github.com/graphcommerce-org/graphcommerce/pull/1552) [`18054c441`](https://github.com/graphcommerce-org/graphcommerce/commit/18054c441962ba750bed3acc39ab46c8d3a341ce) Thanks [@paales](https://github.com/paales)! - Updated to Next.js v12.2.2 and other packages and made compatible
|
|
8
|
+
|
|
9
|
+
## 4.1.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#1490](https://github.com/graphcommerce-org/graphcommerce/pull/1490) [`d311ef48b`](https://github.com/graphcommerce-org/graphcommerce/commit/d311ef48bb3e97806d992af5516d6b7f183ec9cb) Thanks [@paales](https://github.com/paales)! - upgraded packages
|
|
14
|
+
|
|
15
|
+
## 4.1.3
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [#1439](https://github.com/graphcommerce-org/graphcommerce/pull/1439) [`25ef6cf08`](https://github.com/graphcommerce-org/graphcommerce/commit/25ef6cf08c278105307d6f604b7135d637e9046c) Thanks [@paales](https://github.com/paales)! - Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 4.1.2
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/api/createEnvelop.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/* eslint-disable react-hooks/rules-of-hooks */
|
|
2
2
|
import { createServer as createYogaServer, useExtendContext } from '@graphql-yoga/node'
|
|
3
|
-
import { getBuiltMesh,
|
|
3
|
+
import { getBuiltMesh, rawServeConfig } from '../.mesh'
|
|
4
4
|
|
|
5
5
|
export async function createServer(endpoint: string) {
|
|
6
6
|
// retrieve the mesh instance (with configured Envelop plugins)
|
|
7
7
|
const mesh = await getBuiltMesh()
|
|
8
8
|
|
|
9
|
-
const { cors, playgroundTitle } =
|
|
9
|
+
const { cors, playgroundTitle } = rawServeConfig ?? {}
|
|
10
10
|
|
|
11
11
|
// pass the Mesh instance to Yoga and configure GraphiQL
|
|
12
12
|
const server = createYogaServer({
|
package/package.json
CHANGED
|
@@ -2,31 +2,25 @@
|
|
|
2
2
|
"name": "@graphcommerce/graphql-mesh",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "4.1.
|
|
5
|
+
"version": "4.1.5",
|
|
6
6
|
"author": "",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"main": "index.ts",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@graphql-mesh/config": "0.
|
|
11
|
-
"@graphql-mesh/graphql": "0.
|
|
12
|
-
"@graphql-mesh/
|
|
13
|
-
"@graphql-mesh/
|
|
14
|
-
"@graphql-
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"@graphql-mesh/transform-filter-schema": "0.14.48",
|
|
18
|
-
"@graphql-mesh/types": "0.71.3",
|
|
19
|
-
"@graphql-mesh/utils": "0.34.3",
|
|
20
|
-
"@graphql-yoga/node": "^2.3.0",
|
|
21
|
-
"graphql": "16.4.0",
|
|
22
|
-
"next": "12.1.5"
|
|
10
|
+
"@graphql-mesh/config": "5.0.0",
|
|
11
|
+
"@graphql-mesh/graphql": "0.29.1",
|
|
12
|
+
"@graphql-mesh/types": "0.78.0",
|
|
13
|
+
"@graphql-mesh/utils": "0.37.1",
|
|
14
|
+
"@graphql-yoga/node": "^2.12.0",
|
|
15
|
+
"graphql": "16.5.0",
|
|
16
|
+
"next": "12.2.2"
|
|
23
17
|
},
|
|
24
18
|
"devDependencies": {
|
|
25
|
-
"@graphcommerce/eslint-config-pwa": "^4.1.
|
|
19
|
+
"@graphcommerce/eslint-config-pwa": "^4.1.9",
|
|
26
20
|
"@graphcommerce/prettier-config-pwa": "^4.0.6",
|
|
27
|
-
"@graphcommerce/typescript-config-pwa": "^4.0.
|
|
21
|
+
"@graphcommerce/typescript-config-pwa": "^4.0.4",
|
|
28
22
|
"@playwright/test": "^1.21.1",
|
|
29
|
-
"typescript": "4.
|
|
23
|
+
"typescript": "4.7.4"
|
|
30
24
|
},
|
|
31
25
|
"sideEffects": false,
|
|
32
26
|
"prettier": "@graphcommerce/prettier-config-pwa",
|