@graphcommerce/graphql-mesh 3.2.10 → 4.0.1

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,138 +1,139 @@
1
1
  # Change Log
2
2
 
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
3
+ ## 4.0.1
5
4
 
6
- # [3.2.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/graphql-mesh@3.1.0...@graphcommerce/graphql-mesh@3.2.0) (2021-10-21)
5
+ ### Patch Changes
7
6
 
7
+ - [`0cbaa878b`](https://github.com/ho-nl/m2-pwa/commit/0cbaa878b8a844d5abbeb1797b625a33130e6514)
8
+ Thanks [@paales](https://github.com/paales)! - Added homepage and repository package.json files,
9
+ so that the packages link to back to the website and repository
8
10
 
9
- ### Bug Fixes
11
+ ## 4.0.0
10
12
 
11
- * **graphql-mesh:** use a build mesh for production environments ([cd2f318](https://github.com/ho-nl/m2-pwa/commit/cd2f3189383fa9d304bd367334e3f47ca4aa6100))
12
- * unable to find cache matching inmemoryLru ([520f6f3](https://github.com/ho-nl/m2-pwa/commit/520f6f329573471ecfdbdc4aa6f2e4b688b31f11))
13
+ ### Major Changes
13
14
 
15
+ - [#1258](https://github.com/ho-nl/m2-pwa/pull/1258)
16
+ [`ad36382a4`](https://github.com/ho-nl/m2-pwa/commit/ad36382a4d55d83d9e47b7eb6a02671a2a631a05)
17
+ Thanks [@paales](https://github.com/paales)! - Upgraded to Material UI 5
14
18
 
15
- ### Features
19
+ All notable changes to this project will be documented in this file. See
20
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
16
21
 
17
- * **graphql-mesh:** remove the api project and use a single project 🎉👩‍👩‍👦‍👦 ([ea4ad03](https://github.com/ho-nl/m2-pwa/commit/ea4ad0397d4ff289ef3b3253593fb0914c8c5246))
22
+ # [3.2.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/graphql-mesh@3.1.0...@graphcommerce/graphql-mesh@3.2.0) (2021-10-21)
18
23
 
24
+ ### Bug Fixes
19
25
 
26
+ - **graphql-mesh:** use a build mesh for production environments
27
+ ([cd2f318](https://github.com/ho-nl/m2-pwa/commit/cd2f3189383fa9d304bd367334e3f47ca4aa6100))
28
+ - unable to find cache matching inmemoryLru
29
+ ([520f6f3](https://github.com/ho-nl/m2-pwa/commit/520f6f329573471ecfdbdc4aa6f2e4b688b31f11))
20
30
 
31
+ ### Features
21
32
 
33
+ - **graphql-mesh:** remove the api project and use a single project 🎉👩‍👩‍👦‍👦
34
+ ([ea4ad03](https://github.com/ho-nl/m2-pwa/commit/ea4ad0397d4ff289ef3b3253593fb0914c8c5246))
22
35
 
23
36
  # [3.1.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/graphql-mesh@3.0.11...@graphcommerce/graphql-mesh@3.1.0) (2021-10-20)
24
37
 
25
-
26
38
  ### Features
27
39
 
28
- * **graphql-mesh:** simplified the handler to use less code in the project ([f62b752](https://github.com/ho-nl/m2-pwa/commit/f62b75249492f40c5972deede529a25a17c8a617))
29
-
30
-
31
-
32
-
40
+ - **graphql-mesh:** simplified the handler to use less code in the project
41
+ ([f62b752](https://github.com/ho-nl/m2-pwa/commit/f62b75249492f40c5972deede529a25a17c8a617))
33
42
 
34
43
  ## [3.0.11](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/graphql-mesh@3.0.10...@graphcommerce/graphql-mesh@3.0.11) (2021-10-20)
35
44
 
36
-
37
45
  ### Bug Fixes
38
46
 
39
- * **recaptcha:** allow and forward the the X-ReCaptcha to Magento ([2f3170e](https://github.com/ho-nl/m2-pwa/commit/2f3170e0f1652d84948b69a446634ffe02f08f80))
40
-
41
-
42
-
43
-
47
+ - **recaptcha:** allow and forward the the X-ReCaptcha to Magento
48
+ ([2f3170e](https://github.com/ho-nl/m2-pwa/commit/2f3170e0f1652d84948b69a446634ffe02f08f80))
44
49
 
45
50
  ## [3.0.9](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/graphql-mesh@3.0.8...@graphcommerce/graphql-mesh@3.0.9) (2021-10-18)
46
51
 
47
-
48
52
  ### Bug Fixes
49
53
 
50
- * add cache-inmemory-lru ([2cd23a4](https://github.com/ho-nl/m2-pwa/commit/2cd23a40c8a2b02175b160aa9ce0b695c88c12f7))
51
- * graphql-mesh missing inmemory lru ([6c71c25](https://github.com/ho-nl/m2-pwa/commit/6c71c256911072ace19037616e0ce2ab478bf070))
52
-
53
-
54
-
55
-
54
+ - add cache-inmemory-lru
55
+ ([2cd23a4](https://github.com/ho-nl/m2-pwa/commit/2cd23a40c8a2b02175b160aa9ce0b695c88c12f7))
56
+ - graphql-mesh missing inmemory lru
57
+ ([6c71c25](https://github.com/ho-nl/m2-pwa/commit/6c71c256911072ace19037616e0ce2ab478bf070))
56
58
 
57
59
  ## [3.0.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/graphql-mesh@3.0.0...@graphcommerce/graphql-mesh@3.0.1) (2021-09-27)
58
60
 
59
61
  **Note:** Version bump only for package @graphcommerce/graphql-mesh
60
62
 
61
-
62
-
63
-
64
-
65
63
  # 3.0.0 (2021-09-27)
66
64
 
67
-
68
65
  ### Bug Fixes
69
66
 
70
- * apollo server ([43c3535](https://github.com/ho-nl/m2-pwa/commit/43c3535fe26ab9c7b97be8feacba34794bb3fa20))
71
- * ignore md files from triggering version updates ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
72
- * products couldn’t be added to the cart ([79512a4](https://github.com/ho-nl/m2-pwa/commit/79512a440b02565808ac4becce9537a59ad4b463))
73
- * remove conflicting files ([0c17ae4](https://github.com/ho-nl/m2-pwa/commit/0c17ae46be62b775ac83b35f11c532ce2d9401a3))
74
- * yarn workspace packages hot reload ([d03fc9f](https://github.com/ho-nl/m2-pwa/commit/d03fc9fdda3486476761786f2b56a934cc92befc))
75
-
67
+ - apollo server
68
+ ([43c3535](https://github.com/ho-nl/m2-pwa/commit/43c3535fe26ab9c7b97be8feacba34794bb3fa20))
69
+ - ignore md files from triggering version updates
70
+ ([4f98392](https://github.com/ho-nl/m2-pwa/commit/4f9839250b3a32d3070da5290e5efcc5e2243fba))
71
+ - products couldn’t be added to the cart
72
+ ([79512a4](https://github.com/ho-nl/m2-pwa/commit/79512a440b02565808ac4becce9537a59ad4b463))
73
+ - remove conflicting files
74
+ ([0c17ae4](https://github.com/ho-nl/m2-pwa/commit/0c17ae46be62b775ac83b35f11c532ce2d9401a3))
75
+ - yarn workspace packages hot reload
76
+ ([d03fc9f](https://github.com/ho-nl/m2-pwa/commit/d03fc9fdda3486476761786f2b56a934cc92befc))
76
77
 
77
78
  ### Features
78
79
 
79
- * created stacked-pages package ([d86008e](https://github.com/ho-nl/m2-pwa/commit/d86008ee659ccb25b194a41d624b394a1ddbd088))
80
- * **framer-next-pages:** implemented the FullPageShell for the remaining pages ([88386b4](https://github.com/ho-nl/m2-pwa/commit/88386b4652abb7765d6e755c7fb7a3cb6285a0e7))
81
- * **GraphQL:** shareEnabled: true added to ApolloServer ([379df3c](https://github.com/ho-nl/m2-pwa/commit/379df3c363116a2434115497f9936dca868c58d4))
82
- * i18n routing added (/ and /fr for demo) ([bb3b339](https://github.com/ho-nl/m2-pwa/commit/bb3b339fbc9fceddd264a891ad81f00327a241ae))
83
- * **image:** introduced completely rewritten Image component ([e3413b3](https://github.com/ho-nl/m2-pwa/commit/e3413b3a57392d6571ea64cb8d9c8dca05ea31df))
84
- * major performance refactor ([03f8e2f](https://github.com/ho-nl/m2-pwa/commit/03f8e2fa16ef919bd6bd6eadd36922d0245ed960))
85
- * **mesh:** use mesh with build version with increased stability/performance ([63863f3](https://github.com/ho-nl/m2-pwa/commit/63863f3a2df4d596819b85f3cf736c7f52f828c1))
86
- * next.js 11 ([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
87
- * **playwright:** added new playwright package to enable browser testing ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
88
- * renamed all packages to use [@graphcommerce](https://github.com/graphcommerce) instead of [@reachdigital](https://github.com/reachdigital) ([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
89
- * upgrade to node 14 ([d079a75](https://github.com/ho-nl/m2-pwa/commit/d079a751e9bfd8dc7f5009d2c9f31c336a0c96ab))
90
-
91
-
80
+ - created stacked-pages package
81
+ ([d86008e](https://github.com/ho-nl/m2-pwa/commit/d86008ee659ccb25b194a41d624b394a1ddbd088))
82
+ - **framer-next-pages:** implemented the FullPageShell for the remaining pages
83
+ ([88386b4](https://github.com/ho-nl/m2-pwa/commit/88386b4652abb7765d6e755c7fb7a3cb6285a0e7))
84
+ - **GraphQL:** shareEnabled: true added to ApolloServer
85
+ ([379df3c](https://github.com/ho-nl/m2-pwa/commit/379df3c363116a2434115497f9936dca868c58d4))
86
+ - i18n routing added (/ and /fr for demo)
87
+ ([bb3b339](https://github.com/ho-nl/m2-pwa/commit/bb3b339fbc9fceddd264a891ad81f00327a241ae))
88
+ - **image:** introduced completely rewritten Image component
89
+ ([e3413b3](https://github.com/ho-nl/m2-pwa/commit/e3413b3a57392d6571ea64cb8d9c8dca05ea31df))
90
+ - major performance refactor
91
+ ([03f8e2f](https://github.com/ho-nl/m2-pwa/commit/03f8e2fa16ef919bd6bd6eadd36922d0245ed960))
92
+ - **mesh:** use mesh with build version with increased stability/performance
93
+ ([63863f3](https://github.com/ho-nl/m2-pwa/commit/63863f3a2df4d596819b85f3cf736c7f52f828c1))
94
+ - next.js 11
95
+ ([7d61407](https://github.com/ho-nl/m2-pwa/commit/7d614075a778f488045034f74be4f75b93f63c43))
96
+ - **playwright:** added new playwright package to enable browser testing
97
+ ([6f49ec7](https://github.com/ho-nl/m2-pwa/commit/6f49ec7595563775b96ebf21c27e39da1282e8d9))
98
+ - renamed all packages to use [@graphcommerce](https://github.com/graphcommerce) instead of
99
+ [@reachdigital](https://github.com/reachdigital)
100
+ ([491e4ce](https://github.com/ho-nl/m2-pwa/commit/491e4cec9a2686472dac36b79f999257c0811ffe))
101
+ - upgrade to node 14
102
+ ([d079a75](https://github.com/ho-nl/m2-pwa/commit/d079a751e9bfd8dc7f5009d2c9f31c336a0c96ab))
92
103
 
93
104
  ## 2.0.8 (2020-10-28)
94
105
 
95
-
96
-
97
106
  ## 2.0.7 (2020-10-28)
98
107
 
99
-
100
108
  ### Bug Fixes
101
109
 
102
- * another shot at preflight request ([11de0a3](https://github.com/ho-nl/m2-pwa/commit/11de0a36b45230818f8df4b52a4d5aeb35bf4029))
103
-
104
-
110
+ - another shot at preflight request
111
+ ([11de0a3](https://github.com/ho-nl/m2-pwa/commit/11de0a36b45230818f8df4b52a4d5aeb35bf4029))
105
112
 
106
113
  ## 2.0.5 (2020-10-28)
107
114
 
108
-
109
115
  ### Bug Fixes
110
116
 
111
- * add OPTIONS header ([b35b009](https://github.com/ho-nl/m2-pwa/commit/b35b0097be1f9c9b5f8cf8b359c1a0e73ba078aa))
112
-
113
-
117
+ - add OPTIONS header
118
+ ([b35b009](https://github.com/ho-nl/m2-pwa/commit/b35b0097be1f9c9b5f8cf8b359c1a0e73ba078aa))
114
119
 
115
120
  ## 2.0.4 (2020-10-28)
116
121
 
117
-
118
122
  ### Bug Fixes
119
123
 
120
- * cross origin headers again ([1746cbc](https://github.com/ho-nl/m2-pwa/commit/1746cbce4cee848420927c2df52c31687b96e5c5))
121
-
124
+ - cross origin headers again
125
+ ([1746cbc](https://github.com/ho-nl/m2-pwa/commit/1746cbce4cee848420927c2df52c31687b96e5c5))
122
126
 
123
127
  ### Features
124
128
 
125
- * added separate api package ([65cdd49](https://github.com/ho-nl/m2-pwa/commit/65cdd493f74bb172c3434dd4fb63184601678e1d))
126
- * split into packages ([2ee7fd6](https://github.com/ho-nl/m2-pwa/commit/2ee7fd6c0056f467d114f04d92c6c0ddf622d151))
127
-
129
+ - added separate api package
130
+ ([65cdd49](https://github.com/ho-nl/m2-pwa/commit/65cdd493f74bb172c3434dd4fb63184601678e1d))
131
+ - split into packages
132
+ ([2ee7fd6](https://github.com/ho-nl/m2-pwa/commit/2ee7fd6c0056f467d114f04d92c6c0ddf622d151))
128
133
 
129
134
  ### BREAKING CHANGES
130
135
 
131
- * huge folder structure refactor, please read README to reinstall
132
-
133
-
134
-
135
-
136
+ - huge folder structure refactor, please read README to reinstall
136
137
 
137
138
  # Change Log
138
139
 
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,8 @@
1
1
  {
2
2
  "name": "@graphcommerce/graphql-mesh",
3
- "version": "3.2.10",
3
+ "homepage": "https://www.graphcommerce.org/",
4
+ "repository": "github:graphcommerce-org/graphcommerce",
5
+ "version": "4.0.1",
4
6
  "author": "",
5
7
  "license": "MIT",
6
8
  "scripts": {
@@ -9,45 +11,41 @@
9
11
  "start": "next start"
10
12
  },
11
13
  "dependencies": {
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
- "@vue/compiler-sfc": "^3.2.26",
26
- "apollo-server-core": "^3.5.0",
27
- "apollo-server-micro": "^3.5.0",
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",
27
+ "apollo-server-core": "^3.6.3",
28
+ "apollo-server-micro": "^3.6.3",
29
+ "apollo-tracing": "^0.15.0",
28
30
  "camel-case": "^4.1.2",
29
31
  "fetchache": "^0.1.1",
30
- "graphql": "^16.2.0",
32
+ "graphql": "^16.3.0",
31
33
  "micro": "^9.3.4",
32
34
  "micro-cors": "^0.1.1",
33
35
  "pascal-case": "^3.1.2",
34
36
  "ts-tiny-invariant": "^1.0.5"
35
37
  },
36
38
  "devDependencies": {
37
- "@graphcommerce/browserslist-config-pwa": "^3.0.3",
38
- "@graphcommerce/eslint-config-pwa": "^3.1.9",
39
- "@graphcommerce/prettier-config-pwa": "^3.0.5",
40
- "@graphcommerce/typescript-config-pwa": "^3.1.2",
41
- "@playwright/test": "^1.17.1",
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",
42
43
  "@types/micro-cors": "^0.1.2",
43
44
  "graphql-tag": "2.12.6",
44
- "typescript": "^4.5.4"
45
+ "typescript": "^4.5.5"
45
46
  },
46
47
  "sideEffects": false,
47
48
  "prettier": "@graphcommerce/prettier-config-pwa",
48
- "browserslist": [
49
- "extends @graphcommerce/browserslist-config-pwa"
50
- ],
51
49
  "eslint": {
52
50
  "extends": "@graphcommerce/eslint-config-pwa"
53
51
  },
@@ -56,6 +54,5 @@
56
54
  "parserOptions": {
57
55
  "project": "./tsconfig.json"
58
56
  }
59
- },
60
- "gitHead": "7cfbdb5a042e271252c8b9729393e084002a321e"
57
+ }
61
58
  }