@graphcommerce/graphql-mesh 9.0.0-canary.101 → 9.0.0-canary.104

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,771 +1,83 @@
1
1
  # Change Log
2
2
 
3
- ## 9.0.0-canary.101
4
-
5
- ### Minor Changes
6
-
7
- - [#2380](https://github.com/graphcommerce-org/graphcommerce/pull/2380) [`3710d8b`](https://github.com/graphcommerce-org/graphcommerce/commit/3710d8bf1cceb5a991e5cfdfc15d42e462704c6d) - Solves the issue `TypeError: url?.startsWith is not a function`. The generated `.mesh/index.ts` would be generated as a requirejs module while next.js expects an esm module. In the end we properly generated the mesh correctly and now there is an `import.meta.url` instead of using `require('node:url')`. To solve this we needed to solve a chain of issues:
8
-
9
- 1. The generation of the mesh is based on the version of the mesh that is imported (esm or commonjs). See [source](https://github.com/ardatan/graphql-mesh/blob/bf588d372c0078378aaa24beea2da794af7949e6/scripts/replace-import-meta-url-in-cjs.ts#L9-L10) for the lines that need to be different. This meant that we needed to change the @graphcommerce/cli package to be of type:module instead of a commonjs module.
10
-
11
- 2) To properly convert the module to an esm module we've migrated the build of the cli package to use 'pkgroll' instead of tsc, because tsc is limited in what it outputs and can't really convert classic imports to esm.
12
- 3) To load possible mesh plugins we require additional .ts files to be loaded with [tsx](https://tsx.is/). To get the tsx loader to work properly in combination with esm modules, we need at least [node 18.19.0](https://nodejs.org/en/blog/release/v18.19.0#new-nodemodule-api-register-for-module-customization-hooks-new-initialize-hook). Minimal Node version upped to 18.19.0 and add support for node 22. ([@paales](https://github.com/paales))
13
-
14
- ## 9.0.0-canary.100
15
-
16
- ## 9.0.0-canary.99
17
-
18
- ## 9.0.0-canary.98
19
-
20
- ## 9.0.0-canary.97
21
-
22
- ## 9.0.0-canary.96
23
-
24
- ## 9.0.0-canary.95
25
-
26
- ## 9.0.0-canary.94
27
-
28
- ## 9.0.0-canary.93
29
-
30
- ## 9.0.0-canary.92
31
-
32
- ## 9.0.0-canary.91
33
-
34
- ## 9.0.0-canary.90
35
-
36
- ## 9.0.0-canary.89
37
-
38
- ## 9.0.0-canary.88
39
-
40
- ## 9.0.0-canary.87
41
-
42
- ## 9.0.0-canary.86
43
-
44
- ## 9.0.0-canary.85
45
-
46
- ## 9.0.0-canary.84
47
-
48
- ## 9.0.0-canary.83
49
-
50
- ## 9.0.0-canary.82
51
-
52
- ## 9.0.0-canary.81
53
-
54
- ## 9.0.0-canary.80
55
-
56
- ## 9.0.0-canary.79
57
-
58
- ## 9.0.0-canary.78
59
-
60
- ## 9.0.0-canary.77
61
-
62
- ## 9.0.0-canary.76
63
-
64
- ## 9.0.0-canary.75
65
-
66
- ## 9.0.0-canary.74
67
-
68
- ## 9.0.0-canary.73
69
-
70
- ## 9.0.0-canary.72
71
-
72
- ## 9.0.0-canary.71
73
-
74
- ### Patch Changes
75
-
76
- - [#2345](https://github.com/graphcommerce-org/graphcommerce/pull/2345) [`d4ae30b`](https://github.com/graphcommerce-org/graphcommerce/commit/d4ae30ba28815ccb9d3a0478da995b7c609618e5) - Solve issue where customFetch coudn’t be loaded correctly ([@paales](https://github.com/paales))
77
-
78
- ## 9.0.0-canary.70
79
-
80
- ## 9.0.0-canary.69
81
-
82
- ## 9.0.0-canary.68
83
-
84
- ## 9.0.0-canary.67
85
-
86
- ### Patch Changes
87
-
88
- - [#2336](https://github.com/graphcommerce-org/graphcommerce/pull/2336) [`214bc56`](https://github.com/graphcommerce-org/graphcommerce/commit/214bc56950f397727d2c5417741dc62419080dfa) - Added traverseSelectionSet utility function to extract a child selection set from the parent. ([@Renzovh](https://github.com/Renzovh))
89
-
90
- ## 9.0.0-canary.66
91
-
92
- ## 9.0.0-canary.65
93
-
94
- ## 9.0.0-canary.64
95
-
96
- ## 9.0.0-canary.63
97
-
98
- ## 9.0.0-canary.62
99
-
100
- ## 9.0.0-canary.61
101
-
102
- ## 9.0.0-canary.60
103
-
104
- ## 9.0.0-canary.59
105
-
106
- ### Minor Changes
107
-
108
- - [#2309](https://github.com/graphcommerce-org/graphcommerce/pull/2309) [`b46e17e`](https://github.com/graphcommerce-org/graphcommerce/commit/b46e17ebe390b4d0040639dfdac33c36a60576ac) - When generating the mesh the configuration is passed through `@graphcommerce/graphql-mesh/meshConfig` allowing plugins to modify the mesh configuration without having to change the `.meshrc.yaml` itself. ([@Renzovh](https://github.com/Renzovh))
109
-
110
- ## 9.0.0-canary.58
111
-
112
- ### Minor Changes
113
-
114
- - [#2330](https://github.com/graphcommerce-org/graphcommerce/pull/2330) [`bc3ec5e`](https://github.com/graphcommerce-org/graphcommerce/commit/bc3ec5e439b97cea4a2cef23e4008c7e0cfd6797) - Created a new @graphql-mesh plugin to forward headers from backends as forwardedHeaders in extensions ([@paales](https://github.com/paales))
115
-
116
- ## 9.0.0-canary.57
117
-
118
- ## 9.0.0-canary.56
119
-
120
- ## 9.0.0-canary.55
121
-
122
- ## 9.0.0-canary.54
123
-
124
- ## 8.1.0-canary.53
125
-
126
- ## 8.1.0-canary.52
127
-
128
- ## 8.1.0-canary.51
129
-
130
- ## 8.1.0-canary.50
131
-
132
- ## 8.1.0-canary.49
133
-
134
- ## 8.1.0-canary.48
135
-
136
- ## 8.1.0-canary.47
137
-
138
- ## 8.1.0-canary.46
139
-
140
- ## 8.1.0-canary.45
141
-
142
- ## 8.1.0-canary.44
143
-
144
- ## 8.1.0-canary.43
145
-
146
- ## 8.1.0-canary.42
147
-
148
- ## 8.1.0-canary.41
149
-
150
- ## 8.1.0-canary.40
151
-
152
- ## 8.1.0-canary.39
153
-
154
- ## 8.1.0-canary.38
155
-
156
- ## 8.1.0-canary.37
157
-
158
- ## 8.1.0-canary.36
159
-
160
- ## 8.1.0-canary.35
161
-
162
- ## 8.1.0-canary.34
163
-
164
- ## 8.1.0-canary.33
165
-
166
- ## 8.1.0-canary.32
167
-
168
- ## 8.1.0-canary.31
169
-
170
- ## 8.1.0-canary.30
171
-
172
- ## 8.1.0-canary.29
173
-
174
- ### Patch Changes
175
-
176
- - [#2290](https://github.com/graphcommerce-org/graphcommerce/pull/2290) [`21f2ac0`](https://github.com/graphcommerce-org/graphcommerce/commit/21f2ac06b95cfc9b51febe19e6859cbba2b578b4) - Fix cors issues with Dynamic Row Property Picker App ([@JoshuaS98](https://github.com/JoshuaS98))
177
-
178
- ## 8.1.0-canary.28
179
-
180
- ## 8.1.0-canary.27
181
-
182
- ## 8.1.0-canary.26
183
-
184
- ## 8.1.0-canary.25
185
-
186
- ## 8.1.0-canary.24
187
-
188
- ## 8.1.0-canary.23
189
-
190
- ## 8.1.0-canary.22
191
-
192
- ## 8.1.0-canary.21
193
-
194
- ## 8.1.0-canary.20
195
-
196
- ## 8.1.0-canary.19
197
-
198
- ## 8.1.0-canary.18
199
-
200
- ## 8.1.0-canary.17
201
-
202
- ## 8.1.0-canary.16
203
-
204
- ## 8.1.0-canary.15
205
-
206
- ## 8.1.0-canary.14
207
-
208
- ## 8.1.0-canary.13
209
-
210
- ## 8.1.0-canary.12
211
-
212
- ## 8.1.0-canary.11
213
-
214
- ## 8.1.0-canary.10
215
-
216
- ## 8.1.0-canary.9
217
-
218
- ## 8.1.0-canary.8
219
-
220
- ### Patch Changes
221
-
222
- - [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`6831040`](https://github.com/graphcommerce-org/graphcommerce/commit/68310401448b7b42b53757db4a84de4a01e35aa2) - Suppress warning where a dependency is an expression, Added uglify-es and long as the dependencies couldn’t be found ([@paales](https://github.com/paales))
223
-
224
- ## 8.1.0-canary.7
225
-
226
- ## 8.1.0-canary.6
227
-
228
- ## 8.1.0-canary.5
229
-
230
- ## 8.0.6-canary.4
231
-
232
- ## 8.0.6-canary.3
233
-
234
- ## 8.0.6-canary.2
235
-
236
- ## 8.0.6-canary.1
237
-
238
- ## 8.0.6-canary.0
239
-
240
- ## 8.0.5
241
-
242
- ## 8.0.5-canary.10
243
-
244
- ## 8.0.5-canary.9
245
-
246
- ## 8.0.5-canary.8
247
-
248
- ## 8.0.5-canary.7
249
-
250
- ## 8.0.5-canary.6
251
-
252
- ## 8.0.5-canary.5
253
-
254
- ## 8.0.5-canary.4
255
-
256
- ## 8.0.5-canary.3
257
-
258
- ## 8.0.5-canary.2
259
-
260
- ## 8.0.5-canary.1
261
-
262
- ## 8.0.5-canary.0
263
-
264
- ## 8.0.4
265
-
266
- ## 8.0.4-canary.1
267
-
268
- ## 8.0.4-canary.0
269
-
270
- ## 8.0.3
271
-
272
- ## 8.0.3-canary.6
273
-
274
- ## 8.0.3-canary.5
275
-
276
- ## 8.0.3-canary.4
277
-
278
- ## 8.0.3-canary.3
279
-
280
- ## 8.0.3-canary.2
281
-
282
- ## 8.0.3-canary.1
283
-
284
- ## 8.0.3-canary.0
285
-
286
- ## 8.0.2
287
-
288
- ## 8.0.2-canary.3
289
-
290
- ## 8.0.2-canary.2
291
-
292
- ## 8.0.2-canary.1
293
-
294
- ## 8.0.2-canary.0
295
-
296
- ## 8.0.1
297
-
298
- ## 8.0.1-canary.4
299
-
300
- ## 8.0.1-canary.3
301
-
302
- ## 8.0.1-canary.2
303
-
304
- ## 8.0.1-canary.1
305
-
306
- ## 8.0.1-canary.0
307
-
308
- ## 8.0.0
309
-
310
- ### Patch Changes
311
-
312
- - [#2113](https://github.com/graphcommerce-org/graphcommerce/pull/2113) [`bf5ae89`](https://github.com/graphcommerce-org/graphcommerce/commit/bf5ae8979b145e7a96303f839ef2b1238712531a) - Remove requirement of toplevelAwait for graphqlSsrClient and solve logging issue in cli ([@paales](https://github.com/paales))
313
-
314
- ## 8.0.0-canary.100
315
-
316
- ## 8.0.0-canary.99
317
-
318
- ## 8.0.0-canary.98
319
-
320
- ## 8.0.0-canary.97
321
-
322
- ## 8.0.0-canary.96
323
-
324
- ## 8.0.0-canary.95
325
-
326
- ## 8.0.0-canary.94
327
-
328
- ## 8.0.0-canary.93
329
-
330
- ## 8.0.0-canary.92
331
-
332
- ## 8.0.0-canary.91
333
-
334
- ## 8.0.0-canary.90
335
-
336
- ## 8.0.0-canary.89
337
-
338
- ## 8.0.0-canary.88
339
-
340
- ## 8.0.0-canary.87
341
-
342
- ## 8.0.0-canary.86
343
-
344
- ## 8.0.0-canary.85
345
-
346
- ## 8.0.0-canary.84
347
-
348
- ## 8.0.0-canary.83
349
-
350
- ## 8.0.0-canary.82
351
-
352
- ## 8.0.0-canary.81
353
-
354
- ## 8.0.0-canary.80
355
-
356
- ## 8.0.0-canary.79
357
-
358
- ## 8.0.0-canary.78
359
-
360
- ## 8.0.0-canary.77
361
-
362
- ## 8.0.0-canary.76
363
-
364
- ## 8.0.0-canary.75
365
-
366
- ## 8.0.0-canary.74
367
-
368
- ## 8.0.0-canary.73
369
-
370
- ## 8.0.0-canary.72
371
-
372
- ## 8.0.0-canary.71
373
-
374
- ## 8.0.0-canary.70
375
-
376
- ## 8.0.0-canary.69
377
-
378
- ## 7.1.0-canary.68
379
-
380
- ## 7.1.0-canary.67
381
-
382
- ## 7.1.0-canary.66
383
-
384
- ## 7.1.0-canary.65
385
-
386
- ## 7.1.0-canary.64
387
-
388
- ## 7.1.0-canary.63
389
-
390
- ## 7.1.0-canary.62
391
-
392
- ## 7.1.0-canary.61
393
-
394
- ## 7.1.0-canary.60
395
-
396
- ## 7.1.0-canary.59
397
-
398
- ## 7.1.0-canary.58
399
-
400
- ## 7.1.0-canary.57
401
-
402
- ## 7.1.0-canary.56
403
-
404
- ## 7.1.0-canary.55
405
-
406
- ## 7.1.0-canary.54
407
-
408
- ## 7.1.0-canary.53
409
-
410
- ## 7.1.0-canary.52
411
-
412
- ## 7.1.0-canary.51
413
-
414
- ## 7.1.0-canary.50
415
-
416
- ## 7.1.0-canary.49
417
-
418
- ## 7.1.0-canary.48
419
-
420
- ## 7.1.0-canary.47
421
-
422
- ## 7.1.0-canary.46
423
-
424
- ## 7.1.0-canary.45
425
-
426
- ### Patch Changes
427
-
428
- - [#2113](https://github.com/graphcommerce-org/graphcommerce/pull/2113) [`bf5ae8979`](https://github.com/graphcommerce-org/graphcommerce/commit/bf5ae8979b145e7a96303f839ef2b1238712531a) - Remove requirement of toplevelAwait for graphqlSsrClient and solve logging issue in cli ([@paales](https://github.com/paales))
429
-
430
- ## 7.1.0-canary.38
431
-
432
- ## 7.1.0-canary.37
433
-
434
- ## 7.1.0-canary.36
435
-
436
- ## 7.1.0-canary.35
437
-
438
- ## 7.1.0-canary.34
439
-
440
- ## 7.1.0-canary.33
441
-
442
- ## 7.1.0-canary.32
443
-
444
- ## 7.1.0-canary.31
445
-
446
- ## 7.1.0-canary.30
447
-
448
- ## 7.1.0-canary.29
449
-
450
- ## 7.1.0-canary.28
451
-
452
- ## 7.1.0-canary.27
453
-
454
- ## 7.1.0-canary.26
455
-
456
- ## 7.1.0-canary.25
457
-
458
- ## 7.1.0-canary.24
459
-
460
- ## 7.1.0-canary.23
461
-
462
- ## 7.1.0-canary.22
463
-
464
- ## 7.1.0-canary.21
465
-
466
- ## 7.1.0-canary.20
467
-
468
- ## 7.1.0-canary.19
469
-
470
- ## 7.1.0-canary.18
471
-
472
- ## 7.1.0-canary.17
473
-
474
- ## 7.1.0-canary.16
475
-
476
- ## 7.1.0-canary.15
477
-
478
- ## 7.1.0-canary.14
479
-
480
- ## 7.1.0-canary.13
481
-
482
- ## 7.1.0-canary.12
483
-
484
- ## 7.1.0-canary.11
485
-
486
- ## 7.1.0-canary.10
487
-
488
- ## 7.1.0-canary.9
489
-
490
- ## 7.1.0-canary.8
491
-
492
- ## 7.0.2-canary.7
493
-
494
- ## 7.0.2-canary.6
495
-
496
- ## 7.0.2-canary.5
497
-
498
- ## 7.0.1
499
-
500
- ### Patch Changes
501
-
502
- - [#2047](https://github.com/graphcommerce-org/graphcommerce/pull/2047) [`136580b39`](https://github.com/graphcommerce-org/graphcommerce/commit/136580b39e3cffdd07e3fa087e049bd532c3e8f1) - Updated all dependencies to the latest version where possible. ([@paales](https://github.com/paales))
503
-
504
- ## 7.0.1-canary.15
505
-
506
- ## 7.0.1-canary.14
507
-
508
- ## 7.0.1-canary.13
509
-
510
- ## 7.0.1-canary.12
511
-
512
- ## 7.0.1-canary.11
513
-
514
- ## 7.0.1-canary.10
515
-
516
- ## 7.0.1-canary.9
517
-
518
- ## 7.0.1-canary.8
519
-
520
- ## 7.0.1-canary.7
521
-
522
- ## 7.0.1-canary.6
523
-
524
- ## 7.0.1-canary.5
525
-
526
- ## 7.0.1-canary.4
527
-
528
- ## 7.0.1-canary.3
529
-
530
- ## 7.0.1-canary.2
531
-
532
- ## 7.0.1-canary.1
533
-
534
- ## 7.0.1-canary.0
535
-
536
- ### Patch Changes
537
-
538
- - [#2047](https://github.com/graphcommerce-org/graphcommerce/pull/2047) [`136580b39`](https://github.com/graphcommerce-org/graphcommerce/commit/136580b39e3cffdd07e3fa087e049bd532c3e8f1) - Updated all dependencies to the latest version where possible. ([@paales](https://github.com/paales))
539
-
540
- ## 7.0.0
541
-
542
- ### Patch Changes
543
-
544
- - [#1960](https://github.com/graphcommerce-org/graphcommerce/pull/1960) [`f78caf5a8`](https://github.com/graphcommerce-org/graphcommerce/commit/f78caf5a83683f1ae4b901fb94bd22d50943fa2f) - Updated packages: `next`, `@apollo/client`, `react-hook-form`, `@emotion/*`, `@lingui/*`, `@mui/*` and various others. ([@paales](https://github.com/paales))
545
-
546
- - [#2012](https://github.com/graphcommerce-org/graphcommerce/pull/2012) [`1dbb3ae13`](https://github.com/graphcommerce-org/graphcommerce/commit/1dbb3ae13553992ee1ed77f375375560f28c418c) - Upgrade graphql to 16.7.1, add graphql as peer dependency ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
547
-
548
- - [#1924](https://github.com/graphcommerce-org/graphcommerce/pull/1924) [`04581f619`](https://github.com/graphcommerce-org/graphcommerce/commit/04581f619c609f2f6ca5268ee5effb6a1db3f0eb) - Use the latest branch from graphql-mesh so that all versions are in sync ([@paales](https://github.com/paales))
549
-
550
- - [`48f4f5cbd`](https://github.com/graphcommerce-org/graphcommerce/commit/48f4f5cbd07bbc08e1bf58cabc0e0230b2bd78bc) - Peer dependency warnings reduced ([@paales](https://github.com/paales))
551
-
552
- ## 6.2.0-canary.98
553
-
554
- ### Patch Changes
555
-
556
- - [`48f4f5cbd`](https://github.com/graphcommerce-org/graphcommerce/commit/48f4f5cbd07bbc08e1bf58cabc0e0230b2bd78bc) - Peer dependency warnings reduced ([@paales](https://github.com/paales))
557
-
558
- ## 6.2.0-canary.97
559
-
560
- ## 6.2.0-canary.96
561
-
562
- ## 6.2.0-canary.95
3
+ ## 9.0.0-canary.104
563
4
 
564
- ## 6.2.0-canary.94
5
+ ## 9.0.0-canary.103
565
6
 
566
- ## 6.2.0-canary.93
567
-
568
- ## 6.2.0-canary.92
569
-
570
- ## 6.2.0-canary.91
571
-
572
- ## 6.2.0-canary.90
573
-
574
- ## 6.2.0-canary.89
575
-
576
- ## 6.2.0-canary.88
577
-
578
- ## 6.2.0-canary.87
579
-
580
- ## 6.2.0-canary.86
581
-
582
- ## 6.2.0-canary.85
583
-
584
- ## 6.2.0-canary.84
585
-
586
- ## 6.2.0-canary.83
587
-
588
- ## 6.2.0-canary.82
589
-
590
- ## 6.2.0-canary.81
591
-
592
- ## 6.2.0-canary.80
593
-
594
- ## 6.2.0-canary.79
595
-
596
- ## 6.2.0-canary.78
597
-
598
- ## 6.2.0-canary.77
599
-
600
- ## 6.2.0-canary.76
7
+ ### Patch Changes
601
8
 
602
- ## 6.2.0-canary.75
9
+ - [#2421](https://github.com/graphcommerce-org/graphcommerce/pull/2421) [`d500643`](https://github.com/graphcommerce-org/graphcommerce/commit/d500643138799b6db1610cb10a1d065d6219d8ea) - Resolve peer dependency issues so we get a clean install ([@paales](https://github.com/paales))
603
10
 
604
- ## 6.2.0-canary.74
11
+ ## 9.0.0-canary.101
605
12
 
606
- ## 6.2.0-canary.73
13
+ ### Minor Changes
607
14
 
608
- ## 6.2.0-canary.72
15
+ - [#2380](https://github.com/graphcommerce-org/graphcommerce/pull/2380) [`3710d8b`](https://github.com/graphcommerce-org/graphcommerce/commit/3710d8bf1cceb5a991e5cfdfc15d42e462704c6d) - Solves the issue `TypeError: url?.startsWith is not a function`. The generated `.mesh/index.ts` would be generated as a requirejs module while next.js expects an esm module. In the end we properly generated the mesh correctly and now there is an `import.meta.url` instead of using `require('node:url')`. To solve this we needed to solve a chain of issues:
609
16
 
610
- ## 6.2.0-canary.71
17
+ 1. The generation of the mesh is based on the version of the mesh that is imported (esm or commonjs). See [source](https://github.com/ardatan/graphql-mesh/blob/bf588d372c0078378aaa24beea2da794af7949e6/scripts/replace-import-meta-url-in-cjs.ts#L9-L10) for the lines that need to be different. This meant that we needed to change the @graphcommerce/cli package to be of type:module instead of a commonjs module.
611
18
 
612
- ## 6.2.0-canary.70
19
+ 2) To properly convert the module to an esm module we've migrated the build of the cli package to use 'pkgroll' instead of tsc, because tsc is limited in what it outputs and can't really convert classic imports to esm.
20
+ 3) To load possible mesh plugins we require additional .ts files to be loaded with [tsx](https://tsx.is/). To get the tsx loader to work properly in combination with esm modules, we need at least [node 18.19.0](https://nodejs.org/en/blog/release/v18.19.0#new-nodemodule-api-register-for-module-customization-hooks-new-initialize-hook). Minimal Node version upped to 18.19.0 and add support for node 22. ([@paales](https://github.com/paales))
613
21
 
614
- ## 6.2.0-canary.69
22
+ ## 9.0.0-canary.71
615
23
 
616
24
  ### Patch Changes
617
25
 
618
- - [#2012](https://github.com/graphcommerce-org/graphcommerce/pull/2012) [`1dbb3ae13`](https://github.com/graphcommerce-org/graphcommerce/commit/1dbb3ae13553992ee1ed77f375375560f28c418c) - Upgrade graphql to 16.7.1, add graphql as peer dependency ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
619
-
620
- ## 6.2.0-canary.68
26
+ - [#2345](https://github.com/graphcommerce-org/graphcommerce/pull/2345) [`d4ae30b`](https://github.com/graphcommerce-org/graphcommerce/commit/d4ae30ba28815ccb9d3a0478da995b7c609618e5) - Solve issue where customFetch coudn’t be loaded correctly ([@paales](https://github.com/paales))
621
27
 
622
- ## 6.2.0-canary.67
28
+ ## 9.0.0-canary.67
623
29
 
624
30
  ### Patch Changes
625
31
 
626
- - [#2002](https://github.com/graphcommerce-org/graphcommerce/pull/2002) [`1234bb61f`](https://github.com/graphcommerce-org/graphcommerce/commit/1234bb61f8332da8a9e4dd7262b0c70beaed8c91) - Updated next and apollo/client ([@paales](https://github.com/paales))
627
-
628
- ## 6.2.0-canary.66
629
-
630
- ## 6.2.0-canary.65
631
-
632
- ## 6.2.0-canary.64
633
-
634
- ## 6.2.0-canary.63
635
-
636
- ## 6.2.0-canary.62
637
-
638
- ## 6.2.0-canary.61
639
-
640
- ## 6.2.0-canary.60
641
-
642
- ## 6.2.0-canary.59
643
-
644
- ## 6.2.0-canary.58
645
-
646
- ## 6.2.0-canary.57
647
-
648
- ## 6.2.0-canary.56
649
-
650
- ## 6.2.0-canary.55
651
-
652
- ## 6.2.0-canary.54
653
-
654
- ## 6.2.0-canary.53
655
-
656
- ## 6.2.0-canary.52
657
-
658
- ## 6.2.0-canary.51
659
-
660
- ## 6.2.0-canary.50
661
-
662
- ## 6.2.0-canary.49
663
-
664
- ## 6.2.0-canary.48
32
+ - [#2336](https://github.com/graphcommerce-org/graphcommerce/pull/2336) [`214bc56`](https://github.com/graphcommerce-org/graphcommerce/commit/214bc56950f397727d2c5417741dc62419080dfa) - Added traverseSelectionSet utility function to extract a child selection set from the parent. ([@Renzovh](https://github.com/Renzovh))
665
33
 
666
- ## 6.2.0-canary.47
34
+ ## 9.0.0-canary.59
667
35
 
668
- ## 6.2.0-canary.46
36
+ ### Minor Changes
669
37
 
670
- ## 6.2.0-canary.45
38
+ - [#2309](https://github.com/graphcommerce-org/graphcommerce/pull/2309) [`b46e17e`](https://github.com/graphcommerce-org/graphcommerce/commit/b46e17ebe390b4d0040639dfdac33c36a60576ac) - When generating the mesh the configuration is passed through `@graphcommerce/graphql-mesh/meshConfig` allowing plugins to modify the mesh configuration without having to change the `.meshrc.yaml` itself. ([@Renzovh](https://github.com/Renzovh))
671
39
 
672
- ## 6.2.0-canary.44
40
+ ## 9.0.0-canary.58
673
41
 
674
- ## 6.2.0-canary.43
42
+ ### Minor Changes
675
43
 
676
- ## 6.2.0-canary.42
44
+ - [#2330](https://github.com/graphcommerce-org/graphcommerce/pull/2330) [`bc3ec5e`](https://github.com/graphcommerce-org/graphcommerce/commit/bc3ec5e439b97cea4a2cef23e4008c7e0cfd6797) - Created a new @graphql-mesh plugin to forward headers from backends as forwardedHeaders in extensions ([@paales](https://github.com/paales))
677
45
 
678
- ## 6.2.0-canary.41
46
+ ## 8.1.0-canary.29
679
47
 
680
48
  ### Patch Changes
681
49
 
682
- - [#1960](https://github.com/graphcommerce-org/graphcommerce/pull/1960) [`f78caf5a8`](https://github.com/graphcommerce-org/graphcommerce/commit/f78caf5a83683f1ae4b901fb94bd22d50943fa2f) - Updated packages @apollo/client, react-hook-form, @emotion/\*, @lingui/\*, @mui/\* and various others. ([@paales](https://github.com/paales))
683
-
684
- ## 6.2.0-canary.40
685
-
686
- ## 6.2.0-canary.39
687
-
688
- ## 6.2.0-canary.38
689
-
690
- ## 6.2.0-canary.37
691
-
692
- ## 6.2.0-canary.36
693
-
694
- ## 6.2.0-canary.35
695
-
696
- ## 6.2.0-canary.34
697
-
698
- ## 6.2.0-canary.33
699
-
700
- ## 6.2.0-canary.32
701
-
702
- ## 6.2.0-canary.31
703
-
704
- ## 6.2.0-canary.30
705
-
706
- ## 6.2.0-canary.29
707
-
708
- ## 6.2.0-canary.28
709
-
710
- ## 6.2.0-canary.27
711
-
712
- ## 6.2.0-canary.26
713
-
714
- ## 6.2.0-canary.25
715
-
716
- ## 6.2.0-canary.24
717
-
718
- ## 6.2.0-canary.23
719
-
720
- ## 6.2.0-canary.22
721
-
722
- ## 6.2.0-canary.21
723
-
724
- ## 6.2.0-canary.20
725
-
726
- ## 6.2.0-canary.19
727
-
728
- ## 6.2.0-canary.18
729
-
730
- ## 6.2.0-canary.17
731
-
732
- ## 6.2.0-canary.16
733
-
734
- ## 6.2.0-canary.15
735
-
736
- ## 6.2.0-canary.14
50
+ - [#2290](https://github.com/graphcommerce-org/graphcommerce/pull/2290) [`21f2ac0`](https://github.com/graphcommerce-org/graphcommerce/commit/21f2ac06b95cfc9b51febe19e6859cbba2b578b4) - Fix cors issues with Dynamic Row Property Picker App ([@JoshuaS98](https://github.com/JoshuaS98))
737
51
 
738
- ## 6.2.0-canary.13
52
+ ## 8.1.0-canary.8
739
53
 
740
54
  ### Patch Changes
741
55
 
742
- - [#1924](https://github.com/graphcommerce-org/graphcommerce/pull/1924) [`04581f619`](https://github.com/graphcommerce-org/graphcommerce/commit/04581f619c609f2f6ca5268ee5effb6a1db3f0eb) - Use the latest branch from graphql-mesh so that all versions are in sync ([@paales](https://github.com/paales))
743
-
744
- ## 6.2.0-canary.12
56
+ - [#2247](https://github.com/graphcommerce-org/graphcommerce/pull/2247) [`6831040`](https://github.com/graphcommerce-org/graphcommerce/commit/68310401448b7b42b53757db4a84de4a01e35aa2) - Suppress warning where a dependency is an expression, Added uglify-es and long as the dependencies couldn’t be found ([@paales](https://github.com/paales))
745
57
 
746
- ## 6.2.0-canary.11
58
+ ## 8.0.0
747
59
 
748
- ## 6.2.0-canary.10
60
+ ### Patch Changes
749
61
 
750
- ## 6.2.0-canary.9
62
+ - [#2113](https://github.com/graphcommerce-org/graphcommerce/pull/2113) [`bf5ae89`](https://github.com/graphcommerce-org/graphcommerce/commit/bf5ae8979b145e7a96303f839ef2b1238712531a) - Remove requirement of toplevelAwait for graphqlSsrClient and solve logging issue in cli ([@paales](https://github.com/paales))
751
63
 
752
- ## 6.2.0-canary.8
64
+ ## 7.0.1
753
65
 
754
- ## 6.2.0-canary.7
66
+ ### Patch Changes
755
67
 
756
- ## 6.2.0-canary.6
68
+ - [#2047](https://github.com/graphcommerce-org/graphcommerce/pull/2047) [`136580b39`](https://github.com/graphcommerce-org/graphcommerce/commit/136580b39e3cffdd07e3fa087e049bd532c3e8f1) - Updated all dependencies to the latest version where possible. ([@paales](https://github.com/paales))
757
69
 
758
- ## 6.1.1-canary.5
70
+ ## 7.0.0
759
71
 
760
- ## 6.1.1-canary.4
72
+ ### Patch Changes
761
73
 
762
- ## 6.1.1-canary.3
74
+ - [#1960](https://github.com/graphcommerce-org/graphcommerce/pull/1960) [`f78caf5a8`](https://github.com/graphcommerce-org/graphcommerce/commit/f78caf5a83683f1ae4b901fb94bd22d50943fa2f) - Updated packages: `next`, `@apollo/client`, `react-hook-form`, `@emotion/*`, `@lingui/*`, `@mui/*` and various others. ([@paales](https://github.com/paales))
763
75
 
764
- ## 6.1.1-canary.2
76
+ - [#2012](https://github.com/graphcommerce-org/graphcommerce/pull/2012) [`1dbb3ae13`](https://github.com/graphcommerce-org/graphcommerce/commit/1dbb3ae13553992ee1ed77f375375560f28c418c) - Upgrade graphql to 16.7.1, add graphql as peer dependency ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
765
77
 
766
- ## 6.1.1-canary.1
78
+ - [#1924](https://github.com/graphcommerce-org/graphcommerce/pull/1924) [`04581f619`](https://github.com/graphcommerce-org/graphcommerce/commit/04581f619c609f2f6ca5268ee5effb6a1db3f0eb) - Use the latest branch from graphql-mesh so that all versions are in sync ([@paales](https://github.com/paales))
767
79
 
768
- ## 6.1.1-canary.0
80
+ - [`48f4f5cbd`](https://github.com/graphcommerce-org/graphcommerce/commit/48f4f5cbd07bbc08e1bf58cabc0e0230b2bd78bc) - Peer dependency warnings reduced ([@paales](https://github.com/paales))
769
81
 
770
82
  ## 6.1.0
771
83
 
@@ -775,210 +87,18 @@
775
87
 
776
88
  - [#1874](https://github.com/graphcommerce-org/graphcommerce/pull/1874) [`2a60491c2`](https://github.com/graphcommerce-org/graphcommerce/commit/2a60491c23a9cd0bfd79296d29f6c9ee31faada5) - Big Magento performance improvements; Magento couldn't respond with any cached Varnish responses because there was an empty authorization header sent with each request. ([@paales](https://github.com/paales))
777
89
 
778
- ## 6.0.2-canary.22
779
-
780
- ## 6.0.2-canary.21
781
-
782
- ## 6.0.2-canary.20
783
-
784
- ## 6.0.2-canary.19
785
-
786
- ## 6.0.2-canary.18
787
-
788
- ## 6.0.2-canary.17
789
-
790
- ## 6.0.2-canary.16
791
-
792
- ## 6.0.2-canary.15
793
-
794
- ## 6.0.2-canary.14
795
-
796
- ## 6.0.2-canary.13
797
-
798
- ## 6.0.2-canary.12
799
-
800
- ## 6.0.2-canary.11
801
-
802
- ## 6.0.2-canary.10
803
-
804
- ## 6.0.2-canary.9
805
-
806
- ## 6.0.2-canary.8
807
-
808
- ## 6.0.2-canary.7
809
-
810
- ## 6.0.2-canary.6
811
-
812
- ## 6.0.2-canary.5
813
-
814
- ## 6.0.2-canary.4
815
-
816
- ### Patch Changes
817
-
818
- - [#1874](https://github.com/graphcommerce-org/graphcommerce/pull/1874) [`2a60491c2`](https://github.com/graphcommerce-org/graphcommerce/commit/2a60491c23a9cd0bfd79296d29f6c9ee31faada5) - The mesh wouldn't keep ssl handshakes alive causing an additional delay for each request. Solving this will improve every fetch request 30-100ms, depending on the ssl handshake performance of the server. ([@paales](https://github.com/paales))
819
-
820
- - [#1874](https://github.com/graphcommerce-org/graphcommerce/pull/1874) [`2a60491c2`](https://github.com/graphcommerce-org/graphcommerce/commit/2a60491c23a9cd0bfd79296d29f6c9ee31faada5) - Magento couldn't respond with any cached Varnish responses because there was an empty authorization header sent with each request. ([@paales](https://github.com/paales))
821
-
822
- ## 6.0.2-canary.3
823
-
824
- ## 6.0.2-canary.2
825
-
826
- ## 6.0.2-canary.1
827
-
828
- ## 6.0.2-canary.0
829
-
830
- ## 6.0.1
831
-
832
- ## 6.0.1-canary.7
833
-
834
- ## 6.0.1-canary.6
835
-
836
- ## 6.0.1-canary.5
837
-
838
- ## 6.0.1-canary.4
839
-
840
- ## 6.0.1-canary.3
841
-
842
- ## 6.0.1-canary.2
843
-
844
- ## 6.0.1-canary.1
845
-
846
- ## 6.0.1-canary.0
847
-
848
90
  ## 6.0.0
849
91
 
850
92
  ### Patch Changes
851
93
 
852
94
  - [#1821](https://github.com/graphcommerce-org/graphcommerce/pull/1821) [`1abc50a21`](https://github.com/graphcommerce-org/graphcommerce/commit/1abc50a21103270fad04e4a9ea892ee1e75233e9) - Upgrade packages to latest version ([@paales](https://github.com/paales))
853
95
 
854
- ## 6.0.0-canary.54
855
-
856
- ## 6.0.0-canary.53
857
-
858
- ## 6.0.0-canary.52
859
-
860
- ## 6.0.0-canary.51
861
-
862
- ## 6.0.0-canary.50
863
-
864
- ## 6.0.0-canary.49
865
-
866
- ## 6.0.0-canary.48
867
-
868
- ## 6.0.0-canary.47
869
-
870
- ## 6.0.0-canary.46
871
-
872
- ## 6.0.0-canary.45
873
-
874
- ## 6.0.0-canary.44
875
-
876
- ## 6.0.0-canary.43
877
-
878
- ## 6.0.0-canary.42
879
-
880
- ## 6.0.0-canary.41
881
-
882
- ## 6.0.0-canary.40
883
-
884
- ## 6.0.0-canary.39
885
-
886
- ## 6.0.0-canary.38
887
-
888
- ## 6.0.0-canary.37
889
-
890
- ## 6.0.0-canary.36
891
-
892
- ## 6.0.0-canary.35
893
-
894
- ## 6.0.0-canary.34
895
-
896
- ## 6.0.0-canary.33
897
-
898
- ## 6.0.0-canary.32
899
-
900
- ## 6.0.0-canary.31
901
-
902
- ## 6.0.0-canary.30
903
-
904
- ## 6.0.0-canary.29
905
-
906
- ## 6.0.0-canary.28
907
-
908
- ## 6.0.0-canary.27
909
-
910
- ### Patch Changes
911
-
912
- - [#1821](https://github.com/graphcommerce-org/graphcommerce/pull/1821) [`1abc50a21`](https://github.com/graphcommerce-org/graphcommerce/commit/1abc50a21103270fad04e4a9ea892ee1e75233e9) - Fix regression bugs and upgrade packages to latest versions ([@paales](https://github.com/paales))
913
-
914
- ## 6.0.0-canary.26
915
-
916
- ## 6.0.0-canary.25
917
-
918
- ## 6.0.0-canary.24
919
-
920
- ## 6.0.0-canary.23
921
-
922
- ## 6.0.0-canary.22
923
-
924
- ## 6.0.0-canary.21
925
-
926
- ## 6.0.0-canary.20
927
-
928
- ## 5.2.0-canary.19
929
-
930
- ## 5.2.0-canary.18
931
-
932
- ## 5.2.0-canary.17
933
-
934
- ## 5.2.0-canary.16
935
-
936
- ## 5.2.0-canary.15
937
-
938
- ## 5.2.0-canary.14
939
-
940
- ## 5.2.0-canary.13
941
-
942
- ## 5.2.0-canary.12
943
-
944
- ## 5.2.0-canary.11
945
-
946
- ## 5.2.0-canary.10
947
-
948
- ## 5.2.0-canary.9
949
-
950
- ## 5.2.0-canary.8
951
-
952
- ## 5.2.0-canary.7
953
-
954
- ## 5.2.0-canary.6
955
-
956
- ## 5.2.0-canary.5
957
-
958
- ## 5.2.0-canary.4
959
-
960
- ## 5.2.0-canary.3
961
-
962
- ## 5.2.0-canary.2
963
-
964
- ## 5.2.0-canary.1
965
-
966
- ## 5.2.0-canary.0
967
-
968
96
  ## 5.1.1
969
97
 
970
98
  ### Patch Changes
971
99
 
972
100
  - [#1764](https://github.com/graphcommerce-org/graphcommerce/pull/1764) [`5829ffc73`](https://github.com/graphcommerce-org/graphcommerce/commit/5829ffc732c6aea95da53314722385a2c0edce85) - Update dependencies ([@paales](https://github.com/paales))
973
101
 
974
- ## 5.1.1-canary.1
975
-
976
- ### Patch Changes
977
-
978
- - [#1764](https://github.com/graphcommerce-org/graphcommerce/pull/1764) [`5829ffc73`](https://github.com/graphcommerce-org/graphcommerce/commit/5829ffc732c6aea95da53314722385a2c0edce85) - Update dependencies ([@paales](https://github.com/paales))
979
-
980
- ## 5.1.1-canary.0
981
-
982
102
  ## 5.1.0
983
103
 
984
104
  ### Minor Changes
@@ -1000,103 +120,18 @@
1000
120
  - Upgraded dependencies including type-fest and graphql-mesh
1001
121
  - Solved peer dependency issues ([@paales](https://github.com/paales))
1002
122
 
1003
- ## 5.1.0-canary.11
1004
-
1005
- ## 5.1.0-canary.10
1006
-
1007
- ### Patch Changes
1008
-
1009
- - [#1760](https://github.com/graphcommerce-org/graphcommerce/pull/1760) [`8badc8550`](https://github.com/graphcommerce-org/graphcommerce/commit/8badc8550c402ac7b80c8d3238d313550c28a055) - Updated dependencies ([@paales](https://github.com/paales))
1010
-
1011
- ## 5.1.0-canary.9
1012
-
1013
- ## 5.1.0-canary.8
1014
-
1015
- ## 5.1.0-canary.7
1016
-
1017
- ## 5.1.0-canary.6
1018
-
1019
- ## 5.1.0-canary.5
1020
-
1021
- ### Patch Changes
1022
-
1023
- - [`c7816cd69`](https://github.com/graphcommerce-org/graphcommerce/commit/c7816cd693f2fad61be6e2ed119e7e8bf13f079f) - Added JS version of the customFetch method, node_module files aren't transpiled ([@paales](https://github.com/paales))
1024
-
1025
- ## 5.1.0-canary.4
1026
-
1027
- ### Minor Changes
1028
-
1029
- - [#1755](https://github.com/graphcommerce-org/graphcommerce/pull/1755) [`053ef07d0`](https://github.com/graphcommerce-org/graphcommerce/commit/053ef07d0acf25fba840b50f3ad56746fc97d6a2) - Add [httpDetailsExtensions](https://the-guild.dev/graphql/mesh/docs/plugins/http-details-extensions) plugin to the mesh for a better debugging experience. ([@paales](https://github.com/paales))
1030
-
1031
- ## 5.1.0-canary.3
1032
-
1033
- ### Patch Changes
1034
-
1035
- - [#1752](https://github.com/graphcommerce-org/graphcommerce/pull/1752) [`188f23452`](https://github.com/graphcommerce-org/graphcommerce/commit/188f2345255aacd7665d8e443cf42e20a3070a01) - Implement a custom fetch that has an exponential backoff so that build don’t fail as often ([@paales](https://github.com/paales))
1036
-
1037
- - [#1752](https://github.com/graphcommerce-org/graphcommerce/pull/1752) [`2a6a4d9ec`](https://github.com/graphcommerce-org/graphcommerce/commit/2a6a4d9ecfa1b58a66ba9b9d00016d6feda9aa95) - Updated dependencies to latest versions, except for nextjs; Solve tons of peer dependency issues.
1038
-
1039
- - Updated the @mui/material package
1040
- - Removed dependencies on react-hook-form-mui and @playwright/test
1041
- - Upgraded dependencies including type-fest and graphql-mesh
1042
- - Solved peer dependency issues ([@paales](https://github.com/paales))
1043
-
1044
- ## 5.1.0-canary.2
1045
-
1046
- ## 5.1.0-canary.1
1047
-
1048
- ## 5.1.0-canary.0
1049
-
1050
123
  ## 5.0.0
1051
124
 
1052
125
  ### Major Changes
1053
126
 
1054
127
  - [#1734](https://github.com/graphcommerce-org/graphcommerce/pull/1734) [`e4c7fe17e`](https://github.com/graphcommerce-org/graphcommerce/commit/e4c7fe17e413e37362ceae92e67f1b3a5f62d398) - Bump major version of all packages ([@github-actions](https://github.com/apps/github-actions))
1055
128
 
1056
- ## 5.0.0-canary.14
1057
-
1058
- ## 5.0.0-canary.9
1059
-
1060
- ### Major Changes
1061
-
1062
- - [`e4c7fe17e`](https://github.com/graphcommerce-org/graphcommerce/commit/e4c7fe17e413e37362ceae92e67f1b3a5f62d398) - Bump major version of all packages ([@paales](https://github.com/paales))
1063
-
1064
- ## 4.31.0-canary.8
1065
-
1066
- ## 4.31.0-canary.7
1067
-
1068
- ## 4.31.0-canary.6
1069
-
1070
- ## 4.31.0-canary.5
1071
-
1072
- ## 4.31.0-canary.4
1073
-
1074
- ## 4.31.0-canary.3
1075
-
1076
- ## 4.31.0-canary.2
1077
-
1078
- ## 4.31.0-canary.1
1079
-
1080
- ## 4.31.0-canary.0
1081
-
1082
- ## 4.30.2
1083
-
1084
- ## 4.30.1
1085
-
1086
129
  ## 4.30.0
1087
130
 
1088
131
  ### Patch Changes
1089
132
 
1090
133
  - [#1702](https://github.com/graphcommerce-org/graphcommerce/pull/1702) [`abb15ef4a`](https://github.com/graphcommerce-org/graphcommerce/commit/abb15ef4a79b12eddb32cc006e5d1d31dd06ac2d) Thanks [@paales](https://github.com/paales)! - Added canary releases to GraphCommerce
1091
134
 
1092
- ## 4.30.0-canary.1
1093
-
1094
- ### Patch Changes
1095
-
1096
- - [`abb15ef4a`](https://github.com/graphcommerce-org/graphcommerce/commit/abb15ef4a79b12eddb32cc006e5d1d31dd06ac2d) Thanks [@paales](https://github.com/paales)! - Added canary releases to GraphCommerce
1097
-
1098
- ## 4.30.0-canary.0
1099
-
1100
135
  ## 4.2.0
1101
136
 
1102
137
  ### Minor Changes
@@ -1313,8 +348,6 @@ All notable changes to this project will be documented in this file. See [Conven
1313
348
  - 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))
1314
349
  - upgrade to node 14 ([d079a75](https://github.com/ho-nl/m2-pwa/commit/d079a751e9bfd8dc7f5009d2c9f31c336a0c96ab))
1315
350
 
1316
- ## 2.0.8 (2020-10-28)
1317
-
1318
351
  ## 2.0.7 (2020-10-28)
1319
352
 
1320
353
  ### Bug Fixes
package/api/apolloLink.ts CHANGED
@@ -1,5 +1,6 @@
1
- import { ApolloLink, FetchResult, Observable, Operation, RequestHandler } from '@apollo/client/core'
2
- import { ExecuteMeshFn, MeshInstance, SubscribeMeshFn } from '@graphql-mesh/runtime'
1
+ import type { FetchResult, Operation, RequestHandler } from '@apollo/client/core'
2
+ import { ApolloLink, Observable } from '@apollo/client/core'
3
+ import type { ExecuteMeshFn, MeshInstance, SubscribeMeshFn } from '@graphql-mesh/runtime'
3
4
  import { isAsyncIterable } from '@graphql-tools/utils'
4
5
 
5
6
  const ROOT_VALUE = {}
package/customFetch.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import fetchRetry from 'fetch-retry'
2
+ import type { RequestInitWithRetry } from 'fetch-retry'
2
3
 
3
4
  const fetcher = fetchRetry(
4
5
  // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, no-underscore-dangle, @typescript-eslint/no-var-requires
@@ -12,10 +13,10 @@ const fetcher = fetchRetry(
12
13
  */
13
14
  export default (
14
15
  url: RequestInfo | URL,
15
- options: import('fetch-retry').RequestInitWithRetry | undefined,
16
+ options: RequestInitWithRetry | undefined,
16
17
  ): Promise<Response> => {
17
18
  const headers = Object.fromEntries(
18
- Object.entries(options?.headers ?? {}).filter(([_, value]) => value !== ''),
19
+ Object.entries(options?.headers ?? {}).filter(([, value]) => value !== ''),
19
20
  )
20
21
 
21
22
  return fetcher(url, {
package/meshConfig.ts CHANGED
@@ -5,6 +5,7 @@ export type MeshConfigFunction = typeof meshConfig
5
5
 
6
6
  export function meshConfig(
7
7
  config: YamlConfig.Config,
8
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
8
9
  graphCommerceConfig: GraphCommerceConfig,
9
10
  ): YamlConfig.Config {
10
11
  return config
package/package.json CHANGED
@@ -2,10 +2,9 @@
2
2
  "name": "@graphcommerce/graphql-mesh",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "9.0.0-canary.101",
5
+ "version": "9.0.0-canary.104",
6
6
  "main": "index.ts",
7
7
  "dependencies": {
8
- "@graphql-mesh/apollo-link": "latest",
9
8
  "@graphql-mesh/config": "latest",
10
9
  "@graphql-mesh/cross-helpers": "latest",
11
10
  "@graphql-mesh/graphql": "latest",
@@ -29,16 +28,16 @@
29
28
  "@graphql-tools/utils": "^10.3.2",
30
29
  "@whatwg-node/fetch": "^0.9.21",
31
30
  "fetch-retry": "^5.0.6",
31
+ "graphql": "^16.7.1",
32
32
  "long": "^5.2.3",
33
33
  "tslib": "^2.7.0",
34
34
  "uglify-es": "3.3.10"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "@apollo/client": "^3",
38
- "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.101",
39
- "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.101",
40
- "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.101",
41
- "graphql": "^16.7.1"
38
+ "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.104",
39
+ "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.104",
40
+ "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.104"
42
41
  },
43
42
  "devDependencies": {
44
43
  "@types/uglify-es": "^3.0.3",
@@ -1,5 +1,6 @@
1
+ // eslint-disable-next-line import/no-extraneous-dependencies
1
2
  import { isAsyncIterable } from '@envelop/core'
2
- import { MeshPlugin, MeshPluginOptions } from '@graphql-mesh/types'
3
+ import type { MeshPlugin, MeshPluginOptions } from '@graphql-mesh/types'
3
4
  import type { MeshContext } from '../.mesh'
4
5
 
5
6
  interface ForwardHeaderConfig {
@@ -1,4 +1,5 @@
1
- import { Kind, SelectionNode, SelectionSetNode } from 'graphql'
1
+ import type { SelectionNode, SelectionSetNode } from 'graphql'
2
+ import { Kind } from 'graphql'
2
3
  import type { Path } from 'react-hook-form'
3
4
 
4
5
  function isNumeric(n: string) {