@graphcommerce/graphql-codegen-near-operation-file 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,158 +1,12 @@
1
1
  # Change Log
2
2
 
3
- ## 9.0.0-canary.101
3
+ ## 9.0.0-canary.104
4
4
 
5
- ## 9.0.0-canary.100
5
+ ## 9.0.0-canary.103
6
6
 
7
- ## 9.0.0-canary.99
8
-
9
- ## 9.0.0-canary.98
10
-
11
- ## 9.0.0-canary.97
12
-
13
- ## 9.0.0-canary.96
14
-
15
- ## 9.0.0-canary.95
16
-
17
- ## 9.0.0-canary.94
18
-
19
- ## 9.0.0-canary.93
20
-
21
- ## 9.0.0-canary.92
22
-
23
- ## 9.0.0-canary.91
24
-
25
- ## 9.0.0-canary.90
26
-
27
- ## 9.0.0-canary.89
28
-
29
- ## 9.0.0-canary.88
30
-
31
- ## 9.0.0-canary.87
32
-
33
- ## 9.0.0-canary.86
34
-
35
- ## 9.0.0-canary.85
36
-
37
- ## 9.0.0-canary.84
38
-
39
- ## 9.0.0-canary.83
40
-
41
- ## 9.0.0-canary.82
42
-
43
- ## 9.0.0-canary.81
44
-
45
- ## 9.0.0-canary.80
46
-
47
- ## 9.0.0-canary.79
48
-
49
- ## 9.0.0-canary.78
50
-
51
- ## 9.0.0-canary.77
52
-
53
- ## 9.0.0-canary.76
54
-
55
- ## 9.0.0-canary.75
56
-
57
- ## 9.0.0-canary.74
58
-
59
- ## 9.0.0-canary.73
60
-
61
- ## 9.0.0-canary.72
62
-
63
- ## 9.0.0-canary.71
64
-
65
- ## 9.0.0-canary.70
66
-
67
- ## 9.0.0-canary.69
68
-
69
- ## 9.0.0-canary.68
70
-
71
- ## 9.0.0-canary.67
72
-
73
- ## 9.0.0-canary.66
74
-
75
- ## 9.0.0-canary.65
76
-
77
- ## 9.0.0-canary.64
78
-
79
- ## 9.0.0-canary.63
80
-
81
- ## 9.0.0-canary.62
82
-
83
- ## 9.0.0-canary.61
84
-
85
- ## 9.0.0-canary.60
86
-
87
- ## 9.0.0-canary.59
88
-
89
- ## 9.0.0-canary.58
90
-
91
- ## 9.0.0-canary.57
92
-
93
- ## 9.0.0-canary.56
94
-
95
- ## 9.0.0-canary.55
96
-
97
- ## 9.0.0-canary.54
98
-
99
- ## 8.1.0-canary.53
100
-
101
- ## 8.1.0-canary.52
102
-
103
- ## 8.1.0-canary.51
104
-
105
- ## 8.1.0-canary.50
106
-
107
- ## 8.1.0-canary.49
108
-
109
- ## 8.1.0-canary.48
110
-
111
- ## 8.1.0-canary.47
112
-
113
- ## 8.1.0-canary.46
114
-
115
- ## 8.1.0-canary.45
116
-
117
- ## 8.1.0-canary.44
118
-
119
- ## 8.1.0-canary.43
120
-
121
- ## 8.1.0-canary.42
122
-
123
- ## 8.1.0-canary.41
124
-
125
- ## 8.1.0-canary.40
126
-
127
- ## 8.1.0-canary.39
128
-
129
- ## 8.1.0-canary.38
130
-
131
- ## 8.1.0-canary.37
132
-
133
- ## 8.1.0-canary.36
134
-
135
- ## 8.1.0-canary.35
136
-
137
- ## 8.1.0-canary.34
138
-
139
- ## 8.1.0-canary.33
140
-
141
- ## 8.1.0-canary.32
142
-
143
- ## 8.1.0-canary.31
144
-
145
- ## 8.1.0-canary.30
146
-
147
- ## 8.1.0-canary.29
148
-
149
- ## 8.1.0-canary.28
150
-
151
- ## 8.1.0-canary.27
152
-
153
- ## 8.1.0-canary.26
7
+ ### Patch Changes
154
8
 
155
- ## 8.1.0-canary.25
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))
156
10
 
157
11
  ## 8.1.0-canary.24
158
12
 
@@ -160,346 +14,12 @@
160
14
 
161
15
  - [#2289](https://github.com/graphcommerce-org/graphcommerce/pull/2289) [`d2a6f58`](https://github.com/graphcommerce-org/graphcommerce/commit/d2a6f58276abadb132473d4da2d7d25e0b996106) - Do not require fragments to be marked @injectable but always accept @inject directives. ([@paales](https://github.com/paales))
162
16
 
163
- ## 8.1.0-canary.23
164
-
165
- ## 8.1.0-canary.22
166
-
167
- ## 8.1.0-canary.21
168
-
169
- ## 8.1.0-canary.20
170
-
171
- ## 8.1.0-canary.19
172
-
173
- ## 8.1.0-canary.18
174
-
175
- ## 8.1.0-canary.17
176
-
177
- ## 8.1.0-canary.16
178
-
179
- ## 8.1.0-canary.15
180
-
181
- ## 8.1.0-canary.14
182
-
183
- ## 8.1.0-canary.13
184
-
185
- ## 8.1.0-canary.12
186
-
187
- ## 8.1.0-canary.11
188
-
189
- ## 8.1.0-canary.10
190
-
191
- ## 8.1.0-canary.9
192
-
193
- ## 8.1.0-canary.8
194
-
195
- ## 8.1.0-canary.7
196
-
197
- ## 8.1.0-canary.6
198
-
199
- ## 8.1.0-canary.5
200
-
201
- ## 8.0.6-canary.4
202
-
203
- ## 8.0.6-canary.3
204
-
205
- ## 8.0.6-canary.2
206
-
207
- ## 8.0.6-canary.1
208
-
209
- ## 8.0.6-canary.0
210
-
211
- ## 8.0.5
212
-
213
- ## 8.0.5-canary.10
214
-
215
- ## 8.0.5-canary.9
216
-
217
- ## 8.0.5-canary.8
218
-
219
- ## 8.0.5-canary.7
220
-
221
- ## 8.0.5-canary.6
222
-
223
- ## 8.0.5-canary.5
224
-
225
- ## 8.0.5-canary.4
226
-
227
- ## 8.0.5-canary.3
228
-
229
- ## 8.0.5-canary.2
230
-
231
- ## 8.0.5-canary.1
232
-
233
- ## 8.0.5-canary.0
234
-
235
- ## 8.0.4
236
-
237
- ## 8.0.4-canary.1
238
-
239
- ## 8.0.4-canary.0
240
-
241
- ## 8.0.3
242
-
243
- ## 8.0.3-canary.6
244
-
245
- ## 8.0.3-canary.5
246
-
247
- ## 8.0.3-canary.4
248
-
249
- ## 8.0.3-canary.3
250
-
251
- ## 8.0.3-canary.2
252
-
253
- ## 8.0.3-canary.1
254
-
255
- ## 8.0.3-canary.0
256
-
257
- ## 8.0.2
258
-
259
- ## 8.0.2-canary.3
260
-
261
- ## 8.0.2-canary.2
262
-
263
- ## 8.0.2-canary.1
264
-
265
- ## 8.0.2-canary.0
266
-
267
- ## 8.0.1
268
-
269
- ## 8.0.1-canary.4
270
-
271
- ## 8.0.1-canary.3
272
-
273
- ## 8.0.1-canary.2
274
-
275
- ## 8.0.1-canary.1
276
-
277
- ## 8.0.1-canary.0
278
-
279
- ## 8.0.0
280
-
281
- ## 8.0.0-canary.100
282
-
283
- ## 8.0.0-canary.99
284
-
285
- ## 8.0.0-canary.98
286
-
287
- ## 8.0.0-canary.97
288
-
289
- ## 8.0.0-canary.96
290
-
291
- ## 8.0.0-canary.95
292
-
293
- ## 8.0.0-canary.94
294
-
295
- ## 8.0.0-canary.93
296
-
297
- ## 8.0.0-canary.92
298
-
299
- ## 8.0.0-canary.91
300
-
301
- ## 8.0.0-canary.90
302
-
303
- ## 8.0.0-canary.89
304
-
305
- ## 8.0.0-canary.88
306
-
307
- ## 8.0.0-canary.87
308
-
309
- ## 8.0.0-canary.86
310
-
311
- ## 8.0.0-canary.85
312
-
313
- ## 8.0.0-canary.84
314
-
315
- ## 8.0.0-canary.83
316
-
317
- ## 8.0.0-canary.82
318
-
319
- ## 8.0.0-canary.81
320
-
321
- ## 8.0.0-canary.80
322
-
323
- ## 8.0.0-canary.79
324
-
325
- ## 8.0.0-canary.78
326
-
327
- ## 8.0.0-canary.77
328
-
329
- ## 8.0.0-canary.76
330
-
331
- ## 8.0.0-canary.75
332
-
333
- ## 8.0.0-canary.74
334
-
335
- ## 8.0.0-canary.73
336
-
337
- ## 8.0.0-canary.72
338
-
339
- ## 8.0.0-canary.71
340
-
341
- ## 8.0.0-canary.70
342
-
343
- ## 8.0.0-canary.69
344
-
345
- ## 7.1.0-canary.68
346
-
347
- ## 7.1.0-canary.67
348
-
349
- ## 7.1.0-canary.66
350
-
351
- ## 7.1.0-canary.65
352
-
353
- ## 7.1.0-canary.64
354
-
355
- ## 7.1.0-canary.63
356
-
357
- ## 7.1.0-canary.62
358
-
359
- ## 7.1.0-canary.61
360
-
361
- ## 7.1.0-canary.60
362
-
363
- ## 7.1.0-canary.59
364
-
365
- ## 7.1.0-canary.58
366
-
367
- ## 7.1.0-canary.57
368
-
369
- ## 7.1.0-canary.56
370
-
371
- ## 7.1.0-canary.55
372
-
373
- ## 7.1.0-canary.54
374
-
375
- ## 7.1.0-canary.53
376
-
377
- ## 7.1.0-canary.52
378
-
379
- ## 7.1.0-canary.51
380
-
381
- ## 7.1.0-canary.50
382
-
383
- ## 7.1.0-canary.49
384
-
385
- ## 7.1.0-canary.48
386
-
387
- ## 7.1.0-canary.47
388
-
389
- ## 7.1.0-canary.46
390
-
391
- ## 7.1.0-canary.45
392
-
393
- ## 7.1.0-canary.38
394
-
395
- ## 7.1.0-canary.37
396
-
397
- ## 7.1.0-canary.36
398
-
399
- ## 7.1.0-canary.35
400
-
401
- ## 7.1.0-canary.34
402
-
403
- ## 7.1.0-canary.33
404
-
405
- ## 7.1.0-canary.32
406
-
407
- ## 7.1.0-canary.31
408
-
409
- ## 7.1.0-canary.30
410
-
411
- ## 7.1.0-canary.29
412
-
413
- ## 7.1.0-canary.28
414
-
415
- ## 7.1.0-canary.27
416
-
417
- ## 7.1.0-canary.26
418
-
419
- ## 7.1.0-canary.25
420
-
421
- ## 7.1.0-canary.24
422
-
423
- ## 7.1.0-canary.23
424
-
425
- ## 7.1.0-canary.22
426
-
427
- ## 7.1.0-canary.21
428
-
429
- ## 7.1.0-canary.20
430
-
431
- ## 7.1.0-canary.19
432
-
433
- ## 7.1.0-canary.18
434
-
435
- ## 7.1.0-canary.17
436
-
437
- ## 7.1.0-canary.16
438
-
439
- ## 7.1.0-canary.15
440
-
441
- ## 7.1.0-canary.14
442
-
443
- ## 7.1.0-canary.13
444
-
445
- ## 7.1.0-canary.12
446
-
447
- ## 7.1.0-canary.11
448
-
449
- ## 7.1.0-canary.10
450
-
451
- ## 7.1.0-canary.9
452
-
453
- ## 7.1.0-canary.8
454
-
455
- ## 7.0.2-canary.7
456
-
457
- ## 7.0.2-canary.6
458
-
459
- ## 7.0.2-canary.5
460
-
461
17
  ## 7.0.1
462
18
 
463
19
  ### Patch Changes
464
20
 
465
21
  - [#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))
466
22
 
467
- ## 7.0.1-canary.15
468
-
469
- ## 7.0.1-canary.14
470
-
471
- ## 7.0.1-canary.13
472
-
473
- ## 7.0.1-canary.12
474
-
475
- ## 7.0.1-canary.11
476
-
477
- ## 7.0.1-canary.10
478
-
479
- ## 7.0.1-canary.9
480
-
481
- ## 7.0.1-canary.8
482
-
483
- ## 7.0.1-canary.7
484
-
485
- ## 7.0.1-canary.6
486
-
487
- ## 7.0.1-canary.5
488
-
489
- ## 7.0.1-canary.4
490
-
491
- ## 7.0.1-canary.3
492
-
493
- ## 7.0.1-canary.2
494
-
495
- ## 7.0.1-canary.1
496
-
497
- ## 7.0.1-canary.0
498
-
499
- ### Patch Changes
500
-
501
- - [#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))
502
-
503
23
  ## 7.0.0
504
24
 
505
25
  ### Patch Changes
@@ -510,408 +30,12 @@
510
30
 
511
31
  - [#1982](https://github.com/graphcommerce-org/graphcommerce/pull/1982) [`e1fab2f6d`](https://github.com/graphcommerce-org/graphcommerce/commit/e1fab2f6d8f57d0488d8a915596d5c19cb7718e6) - Better detection what the package roots are when a custom node_modules directory is used ([@paales](https://github.com/paales))
512
32
 
513
- ## 6.2.0-canary.98
514
-
515
- ## 6.2.0-canary.97
516
-
517
- ## 6.2.0-canary.96
518
-
519
- ## 6.2.0-canary.95
520
-
521
- ## 6.2.0-canary.94
522
-
523
- ## 6.2.0-canary.93
524
-
525
- ## 6.2.0-canary.92
526
-
527
- ## 6.2.0-canary.91
528
-
529
- ## 6.2.0-canary.90
530
-
531
- ## 6.2.0-canary.89
532
-
533
- ## 6.2.0-canary.88
534
-
535
- ## 6.2.0-canary.87
536
-
537
- ## 6.2.0-canary.86
538
-
539
- ## 6.2.0-canary.85
540
-
541
- ## 6.2.0-canary.84
542
-
543
- ## 6.2.0-canary.83
544
-
545
- ## 6.2.0-canary.82
546
-
547
- ## 6.2.0-canary.81
548
-
549
- ## 6.2.0-canary.80
550
-
551
- ## 6.2.0-canary.79
552
-
553
- ## 6.2.0-canary.78
554
-
555
- ## 6.2.0-canary.77
556
-
557
- ## 6.2.0-canary.76
558
-
559
- ## 6.2.0-canary.75
560
-
561
- ## 6.2.0-canary.74
562
-
563
- ## 6.2.0-canary.73
564
-
565
- ## 6.2.0-canary.72
566
-
567
- ## 6.2.0-canary.71
568
-
569
- ## 6.2.0-canary.70
570
-
571
- ## 6.2.0-canary.69
572
-
573
- ### Patch Changes
574
-
575
- - [#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))
576
-
577
- ## 6.2.0-canary.68
578
-
579
- ## 6.2.0-canary.67
580
-
581
- ## 6.2.0-canary.66
582
-
583
- ## 6.2.0-canary.65
584
-
585
- ## 6.2.0-canary.64
586
-
587
- ## 6.2.0-canary.63
588
-
589
- ## 6.2.0-canary.62
590
-
591
- ## 6.2.0-canary.61
592
-
593
- ## 6.2.0-canary.60
594
-
595
- ## 6.2.0-canary.59
596
-
597
- ## 6.2.0-canary.58
598
-
599
- ## 6.2.0-canary.57
600
-
601
- ### Patch Changes
602
-
603
- - [#1982](https://github.com/graphcommerce-org/graphcommerce/pull/1982) [`e1fab2f6d`](https://github.com/graphcommerce-org/graphcommerce/commit/e1fab2f6d8f57d0488d8a915596d5c19cb7718e6) - Better detection what the package roots are when a custom node_modules directory is used ([@paales](https://github.com/paales))
604
-
605
- ## 6.2.0-canary.56
606
-
607
- ## 6.2.0-canary.55
608
-
609
- ## 6.2.0-canary.54
610
-
611
- ## 6.2.0-canary.53
612
-
613
- ## 6.2.0-canary.52
614
-
615
- ## 6.2.0-canary.51
616
-
617
- ## 6.2.0-canary.50
618
-
619
- ## 6.2.0-canary.49
620
-
621
- ## 6.2.0-canary.48
622
-
623
- ## 6.2.0-canary.47
624
-
625
- ## 6.2.0-canary.46
626
-
627
- ## 6.2.0-canary.45
628
-
629
- ## 6.2.0-canary.44
630
-
631
- ## 6.2.0-canary.43
632
-
633
- ## 6.2.0-canary.42
634
-
635
- ## 6.2.0-canary.41
636
-
637
- ### Patch Changes
638
-
639
- - [#1960](https://github.com/graphcommerce-org/graphcommerce/pull/1960) [`86e14569b`](https://github.com/graphcommerce-org/graphcommerce/commit/86e14569b1f68f73be7f93b614e36b382c5debff) - Updated to the latest release of GraphQL codegen and solve compatibility issues with our own generator ([@paales](https://github.com/paales))
640
-
641
- ## 6.2.0-canary.40
642
-
643
- ## 6.2.0-canary.39
644
-
645
- ## 6.2.0-canary.38
646
-
647
- ## 6.2.0-canary.37
648
-
649
- ## 6.2.0-canary.36
650
-
651
- ## 6.2.0-canary.35
652
-
653
- ## 6.2.0-canary.34
654
-
655
- ## 6.2.0-canary.33
656
-
657
- ## 6.2.0-canary.32
658
-
659
- ## 6.2.0-canary.31
660
-
661
- ## 6.2.0-canary.30
662
-
663
- ## 6.2.0-canary.29
664
-
665
- ## 6.2.0-canary.28
666
-
667
- ## 6.2.0-canary.27
668
-
669
- ## 6.2.0-canary.26
670
-
671
- ## 6.2.0-canary.25
672
-
673
- ## 6.2.0-canary.24
674
-
675
- ## 6.2.0-canary.23
676
-
677
- ## 6.2.0-canary.22
678
-
679
- ## 6.2.0-canary.21
680
-
681
- ## 6.2.0-canary.20
682
-
683
- ## 6.2.0-canary.19
684
-
685
- ## 6.2.0-canary.18
686
-
687
- ## 6.2.0-canary.17
688
-
689
- ## 6.2.0-canary.16
690
-
691
- ## 6.2.0-canary.15
692
-
693
- ## 6.2.0-canary.14
694
-
695
- ## 6.2.0-canary.13
696
-
697
- ## 6.2.0-canary.12
698
-
699
- ## 6.2.0-canary.11
700
-
701
- ## 6.2.0-canary.10
702
-
703
- ## 6.2.0-canary.9
704
-
705
- ## 6.2.0-canary.8
706
-
707
- ## 6.2.0-canary.7
708
-
709
- ## 6.2.0-canary.6
710
-
711
- ## 6.1.1-canary.5
712
-
713
- ## 6.1.1-canary.4
714
-
715
- ## 6.1.1-canary.3
716
-
717
- ## 6.1.1-canary.2
718
-
719
- ## 6.1.1-canary.1
720
-
721
- ## 6.1.1-canary.0
722
-
723
- ## 6.1.0
724
-
725
- ## 6.0.2-canary.22
726
-
727
- ## 6.0.2-canary.21
728
-
729
- ## 6.0.2-canary.20
730
-
731
- ## 6.0.2-canary.19
732
-
733
- ## 6.0.2-canary.18
734
-
735
- ## 6.0.2-canary.17
736
-
737
- ## 6.0.2-canary.16
738
-
739
- ## 6.0.2-canary.15
740
-
741
- ## 6.0.2-canary.14
742
-
743
- ## 6.0.2-canary.13
744
-
745
- ## 6.0.2-canary.12
746
-
747
- ## 6.0.2-canary.11
748
-
749
- ## 6.0.2-canary.10
750
-
751
- ## 6.0.2-canary.9
752
-
753
- ## 6.0.2-canary.8
754
-
755
- ## 6.0.2-canary.7
756
-
757
- ## 6.0.2-canary.6
758
-
759
- ## 6.0.2-canary.5
760
-
761
- ## 6.0.2-canary.4
762
-
763
- ## 6.0.2-canary.3
764
-
765
- ## 6.0.2-canary.2
766
-
767
- ## 6.0.2-canary.1
768
-
769
- ## 6.0.2-canary.0
770
-
771
33
  ## 6.0.1
772
34
 
773
35
  ### Patch Changes
774
36
 
775
37
  - [#1854](https://github.com/graphcommerce-org/graphcommerce/pull/1854) [`30e51025b`](https://github.com/graphcommerce-org/graphcommerce/commit/30e51025b64b8ace49b54979c18c6fa5b6ff0a10) - GraphQL Codegen would throw a very unhelpful error message because of skipDocumentsValidation, will now throw a more helpful error message. ([@paales](https://github.com/paales))
776
38
 
777
- ## 6.0.1-canary.7
778
-
779
- ## 6.0.1-canary.6
780
-
781
- ## 6.0.1-canary.5
782
-
783
- ## 6.0.1-canary.4
784
-
785
- ## 6.0.1-canary.3
786
-
787
- ## 6.0.1-canary.2
788
-
789
- ## 6.0.1-canary.1
790
-
791
- ## 6.0.1-canary.0
792
-
793
- ### Patch Changes
794
-
795
- - [#1854](https://github.com/graphcommerce-org/graphcommerce/pull/1854) [`30e51025b`](https://github.com/graphcommerce-org/graphcommerce/commit/30e51025b64b8ace49b54979c18c6fa5b6ff0a10) - GraphQL Codegen would throw a very unhelpful error message because of skipDocumentsValidation, will now throw a more helpful error message. ([@paales](https://github.com/paales))
796
-
797
- ## 6.0.0
798
-
799
- ## 6.0.0-canary.54
800
-
801
- ## 6.0.0-canary.53
802
-
803
- ## 6.0.0-canary.52
804
-
805
- ## 6.0.0-canary.51
806
-
807
- ## 6.0.0-canary.50
808
-
809
- ## 6.0.0-canary.49
810
-
811
- ## 6.0.0-canary.48
812
-
813
- ## 6.0.0-canary.47
814
-
815
- ## 6.0.0-canary.46
816
-
817
- ## 6.0.0-canary.45
818
-
819
- ## 6.0.0-canary.44
820
-
821
- ## 6.0.0-canary.43
822
-
823
- ## 6.0.0-canary.42
824
-
825
- ## 6.0.0-canary.41
826
-
827
- ## 6.0.0-canary.40
828
-
829
- ## 6.0.0-canary.39
830
-
831
- ## 6.0.0-canary.38
832
-
833
- ## 6.0.0-canary.37
834
-
835
- ## 6.0.0-canary.36
836
-
837
- ## 6.0.0-canary.35
838
-
839
- ## 6.0.0-canary.34
840
-
841
- ## 6.0.0-canary.33
842
-
843
- ## 6.0.0-canary.32
844
-
845
- ## 6.0.0-canary.31
846
-
847
- ## 6.0.0-canary.30
848
-
849
- ## 6.0.0-canary.29
850
-
851
- ## 6.0.0-canary.28
852
-
853
- ## 6.0.0-canary.27
854
-
855
- ## 6.0.0-canary.26
856
-
857
- ## 6.0.0-canary.25
858
-
859
- ## 6.0.0-canary.24
860
-
861
- ## 6.0.0-canary.23
862
-
863
- ## 6.0.0-canary.22
864
-
865
- ## 6.0.0-canary.21
866
-
867
- ## 6.0.0-canary.20
868
-
869
- ## 5.2.0-canary.19
870
-
871
- ## 5.2.0-canary.18
872
-
873
- ## 5.2.0-canary.17
874
-
875
- ## 5.2.0-canary.16
876
-
877
- ## 5.2.0-canary.15
878
-
879
- ## 5.2.0-canary.14
880
-
881
- ## 5.2.0-canary.13
882
-
883
- ## 5.2.0-canary.12
884
-
885
- ## 5.2.0-canary.11
886
-
887
- ## 5.2.0-canary.10
888
-
889
- ## 5.2.0-canary.9
890
-
891
- ## 5.2.0-canary.8
892
-
893
- ## 5.2.0-canary.7
894
-
895
- ## 5.2.0-canary.6
896
-
897
- ## 5.2.0-canary.5
898
-
899
- ## 5.2.0-canary.4
900
-
901
- ## 5.2.0-canary.3
902
-
903
- ## 5.2.0-canary.2
904
-
905
- ## 5.2.0-canary.1
906
-
907
- ## 5.2.0-canary.0
908
-
909
- ## 5.1.1
910
-
911
- ## 5.1.1-canary.1
912
-
913
- ## 5.1.1-canary.0
914
-
915
39
  ## 5.1.0
916
40
 
917
41
  ### Patch Changes
@@ -923,39 +47,6 @@
923
47
  - Upgraded dependencies including type-fest and graphql-mesh
924
48
  - Solved peer dependency issues ([@paales](https://github.com/paales))
925
49
 
926
- ## 5.1.0-canary.11
927
-
928
- ## 5.1.0-canary.10
929
-
930
- ## 5.1.0-canary.9
931
-
932
- ## 5.1.0-canary.8
933
-
934
- ## 5.1.0-canary.7
935
-
936
- ## 5.1.0-canary.6
937
-
938
- ## 5.1.0-canary.5
939
-
940
- ## 5.1.0-canary.4
941
-
942
- ## 5.1.0-canary.3
943
-
944
- ### Patch Changes
945
-
946
- - [#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.
947
-
948
- - Updated the @mui/material package
949
- - Removed dependencies on react-hook-form-mui and @playwright/test
950
- - Upgraded dependencies including type-fest and graphql-mesh
951
- - Solved peer dependency issues ([@paales](https://github.com/paales))
952
-
953
- ## 5.1.0-canary.2
954
-
955
- ## 5.1.0-canary.1
956
-
957
- ## 5.1.0-canary.0
958
-
959
50
  ## 5.0.0
960
51
 
961
52
  ### Major Changes
@@ -966,32 +57,12 @@
966
57
 
967
58
  - [#1738](https://github.com/graphcommerce-org/graphcommerce/pull/1738) [`bd3a30438`](https://github.com/graphcommerce-org/graphcommerce/commit/bd3a30438cf6b69cd37a191406c8190a20e572cc) - Created directive @env(if: String!) on FRAGMENT_DEFINITION to conditionally include a fragment ([@paales](https://github.com/paales))
968
59
 
969
- ## 5.0.0-canary.14
970
-
971
- ## 4.0.0-canary.1
972
-
973
- ### Major Changes
974
-
975
- - [`e4c7fe17e`](https://github.com/graphcommerce-org/graphcommerce/commit/e4c7fe17e413e37362ceae92e67f1b3a5f62d398) - Bump major version of all packages ([@paales](https://github.com/paales))
976
-
977
- ## 3.1.0-canary.0
978
-
979
- ### Minor Changes
980
-
981
- - [#1738](https://github.com/graphcommerce-org/graphcommerce/pull/1738) [`bd3a30438`](https://github.com/graphcommerce-org/graphcommerce/commit/bd3a30438cf6b69cd37a191406c8190a20e572cc) - Created directive @env(if: String!) on FRAGMENT_DEFINITION to conditionally include a fragment ([@paales](https://github.com/paales))
982
-
983
60
  ## 3.0.19
984
61
 
985
62
  ### Patch Changes
986
63
 
987
64
  - [#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
988
65
 
989
- ## 3.0.19-canary.0
990
-
991
- ### Patch Changes
992
-
993
- - [`abb15ef4a`](https://github.com/graphcommerce-org/graphcommerce/commit/abb15ef4a79b12eddb32cc006e5d1d31dd06ac2d) Thanks [@paales](https://github.com/paales)! - Added canary releases to GraphCommerce
994
-
995
66
  ## 3.0.18
996
67
 
997
68
  ### Patch Changes
@@ -11,16 +11,6 @@ function isFragment(document) {
11
11
  });
12
12
  return is;
13
13
  }
14
- function hasInjectableDirective(document) {
15
- let is = false;
16
- (0, graphql_1.visit)(document, {
17
- Directive: (node) => {
18
- if (!is && node.name.value === 'injectable')
19
- is = true;
20
- },
21
- });
22
- return is && isFragment;
23
- }
24
14
  function hasInjectDirective(document) {
25
15
  let is = false;
26
16
  (0, graphql_1.visit)(document, {
@@ -59,7 +59,7 @@ function buildFragmentRegistry({ generateFilePath }, { documents, config }, sche
59
59
  const imports = getFragmentImports(possibleTypes.map((t) => t.name), fragment.name.value);
60
60
  if (prev[fragment.name.value] &&
61
61
  (0, graphql_1.print)(fragment) !== (0, graphql_1.print)(prev[fragment.name.value].node)) {
62
- duplicateFragmentNames.push(`${prev[fragment.name.value]} ${prev[fragment.name.value].filePath}`);
62
+ duplicateFragmentNames.push(`${prev[fragment.name.value].node.name.value} ${prev[fragment.name.value].filePath}`);
63
63
  duplicateFragmentNames.push(`${fragment.name.value} ${fragment.loc?.source.name}`);
64
64
  }
65
65
  prev[fragment.name.value] = {
package/dist/index.js CHANGED
@@ -4,9 +4,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.preset = exports.resolveDocumentImports = void 0;
7
- const path_1 = require("path");
8
7
  const add_1 = __importDefault(require("@graphql-codegen/add"));
9
8
  const graphql_1 = require("graphql");
9
+ const path_1 = require("path");
10
10
  const env_1 = require("./directive/env");
11
11
  const injectable_1 = require("./directive/injectable");
12
12
  const resolve_document_imports_1 = require("./resolve-document-imports");
@@ -40,7 +40,7 @@ exports.preset = {
40
40
  const { importAllFragmentsFrom } = options.presetConfig;
41
41
  const { baseTypesPath } = options.presetConfig;
42
42
  if (!baseTypesPath) {
43
- throw new Error(`Preset "near-operation-file" requires you to specify "baseTypesPath" configuration and point it to your base types file (generated by "typescript" plugin)!`);
43
+ throw new Error('Preset "near-operation-file" requires you to specify "baseTypesPath" configuration and point it to your base types file (generated by "typescript" plugin)!');
44
44
  }
45
45
  const shouldAbsolute = !baseTypesPath.startsWith('~');
46
46
  const pluginMap = {
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ /* eslint-disable @typescript-eslint/no-non-null-assertion */
2
3
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
4
  if (k2 === undefined) k2 = k;
4
5
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -24,12 +25,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
25
  };
25
26
  Object.defineProperty(exports, "__esModule", { value: true });
26
27
  exports.resolveDocumentImports = resolveDocumentImports;
27
- /* eslint-disable @typescript-eslint/no-non-null-assertion */
28
- /* eslint-disable import/no-cycle */
29
- const path_1 = require("path");
30
28
  const plugin_helpers_1 = require("@graphql-codegen/plugin-helpers");
31
29
  const visitor_plugin_common_1 = require("@graphql-codegen/visitor-plugin-common");
32
30
  const graphql_1 = require("graphql");
31
+ const path_1 = require("path");
33
32
  const fragment_resolver_1 = __importStar(require("./fragment-resolver"));
34
33
  const utils_1 = require("./utils");
35
34
  function getFragmentName(documentFile) {
package/dist/utils.js CHANGED
@@ -6,10 +6,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.defineFilepathSubfolder = defineFilepathSubfolder;
7
7
  exports.appendExtensionToFilePath = appendExtensionToFilePath;
8
8
  exports.extractExternalFragmentsInUse = extractExternalFragmentsInUse;
9
- /* eslint-disable import/no-cycle */
10
- const path_1 = require("path");
11
9
  const graphql_1 = require("graphql");
12
10
  const parse_filepath_1 = __importDefault(require("parse-filepath"));
11
+ const path_1 = require("path");
13
12
  function defineFilepathSubfolder(baseFilePath, folder) {
14
13
  const parsedPath = (0, parse_filepath_1.default)(baseFilePath);
15
14
  return (0, path_1.join)(parsedPath.dir, folder, parsedPath.base).replace(/\\/g, '/');
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/graphql-codegen-near-operation-file",
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
  "sideEffects": false,
7
7
  "type": "commonjs",
8
8
  "main": "dist/index.js",
@@ -25,12 +25,12 @@
25
25
  "@graphql-codegen/visitor-plugin-common": "5.3.1",
26
26
  "@graphql-tools/utils": "^10.3.2",
27
27
  "@types/parse-filepath": "^1.0.2",
28
+ "graphql": "^16.7.1",
28
29
  "parse-filepath": "^1.0.2"
29
30
  },
30
31
  "peerDependencies": {
31
- "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.101",
32
- "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.101",
33
- "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.101",
34
- "graphql": "^16.7.1"
32
+ "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.104",
33
+ "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.104",
34
+ "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.104"
35
35
  }
36
36
  }
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable react/destructuring-assignment */
2
- import { Types } from '@graphql-codegen/plugin-helpers'
2
+ import type { Types } from '@graphql-codegen/plugin-helpers'
3
3
  import { Kind, visit } from 'graphql'
4
4
 
5
5
  /**
@@ -1,6 +1,7 @@
1
1
  /* eslint-disable react/destructuring-assignment */
2
- import { Types } from '@graphql-codegen/plugin-helpers'
3
- import { visit, DocumentNode, FragmentSpreadNode, FragmentDefinitionNode, Kind } from 'graphql'
2
+ import type { Types } from '@graphql-codegen/plugin-helpers'
3
+ import type { DocumentNode, FragmentDefinitionNode, FragmentSpreadNode } from 'graphql'
4
+ import { Kind, visit } from 'graphql'
4
5
 
5
6
  function isFragment(document: DocumentNode) {
6
7
  let is = false
@@ -12,16 +13,6 @@ function isFragment(document: DocumentNode) {
12
13
  return is
13
14
  }
14
15
 
15
- function hasInjectableDirective(document: DocumentNode) {
16
- let is = false
17
- visit(document, {
18
- Directive: (node) => {
19
- if (!is && node.name.value === 'injectable') is = true
20
- },
21
- })
22
- return is && isFragment
23
- }
24
-
25
16
  function hasInjectDirective(document: DocumentNode) {
26
17
  let is = false
27
18
  visit(document, {
@@ -1,18 +1,21 @@
1
1
  /* eslint-disable import/no-cycle */
2
- import { Types } from '@graphql-codegen/plugin-helpers'
3
- import {
4
- BaseVisitor,
2
+ import type { Types } from '@graphql-codegen/plugin-helpers'
3
+ import type {
5
4
  FragmentImport,
6
- getConfigValue,
7
- getPossibleTypes,
5
+ ImportDeclaration,
8
6
  LoadedFragment,
9
7
  ParsedConfig,
10
8
  RawConfig,
11
- ImportDeclaration,
9
+ } from '@graphql-codegen/visitor-plugin-common'
10
+ import {
11
+ BaseVisitor,
12
12
  buildScalarsFromConfig,
13
+ getConfigValue,
14
+ getPossibleTypes,
13
15
  } from '@graphql-codegen/visitor-plugin-common'
14
- import { DocumentNode, FragmentDefinitionNode, GraphQLSchema, Kind, print } from 'graphql'
15
- import { DocumentImportResolverOptions } from './resolve-document-imports'
16
+ import type { DocumentNode, FragmentDefinitionNode, GraphQLSchema } from 'graphql'
17
+ import { Kind, print } from 'graphql'
18
+ import type { DocumentImportResolverOptions } from './resolve-document-imports'
16
19
  import { extractExternalFragmentsInUse } from './utils'
17
20
 
18
21
  export interface NearOperationFileParsedConfig extends ParsedConfig {
@@ -83,7 +86,7 @@ export function buildFragmentRegistry<T>(
83
86
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
84
87
  const fragments: FragmentDefinitionNode[] = documentRecord.document!.definitions.filter(
85
88
  (d) => d.kind === Kind.FRAGMENT_DEFINITION,
86
- ) as FragmentDefinitionNode[]
89
+ )
87
90
 
88
91
  if (fragments.length > 0) {
89
92
  for (const fragment of fragments) {
@@ -108,7 +111,7 @@ export function buildFragmentRegistry<T>(
108
111
  print(fragment) !== print(prev[fragment.name.value].node)
109
112
  ) {
110
113
  duplicateFragmentNames.push(
111
- `${prev[fragment.name.value]} ${prev[fragment.name.value].filePath}`,
114
+ `${prev[fragment.name.value].node.name.value} ${prev[fragment.name.value].filePath}`,
112
115
  )
113
116
  duplicateFragmentNames.push(`${fragment.name.value} ${fragment.loc?.source.name}`)
114
117
  }
package/src/index.ts CHANGED
@@ -1,15 +1,17 @@
1
- import { join } from 'path'
2
1
  import addPlugin from '@graphql-codegen/add'
3
- import { Types, CodegenPlugin } from '@graphql-codegen/plugin-helpers'
4
- import {
2
+ import type { CodegenPlugin, Types } from '@graphql-codegen/plugin-helpers'
3
+ import type {
5
4
  FragmentImport,
6
5
  ImportDeclaration,
7
6
  ImportSource,
8
7
  } from '@graphql-codegen/visitor-plugin-common'
9
- import { FragmentDefinitionNode, buildASTSchema, visit } from 'graphql'
8
+ import type { FragmentDefinitionNode } from 'graphql'
9
+ import { buildASTSchema, visit } from 'graphql'
10
+ import { join } from 'path'
10
11
  import { envDirective } from './directive/env'
11
12
  import { injectableDirective } from './directive/injectable'
12
- import { resolveDocumentImports, DocumentImportResolverOptions } from './resolve-document-imports'
13
+ import type { DocumentImportResolverOptions } from './resolve-document-imports'
14
+ import { resolveDocumentImports } from './resolve-document-imports'
13
15
  import { appendExtensionToFilePath, defineFilepathSubfolder } from './utils'
14
16
 
15
17
  export { resolveDocumentImports }
@@ -182,7 +184,7 @@ export const preset: Types.OutputPreset<NearOperationFileConfig> = {
182
184
 
183
185
  if (!baseTypesPath) {
184
186
  throw new Error(
185
- `Preset "near-operation-file" requires you to specify "baseTypesPath" configuration and point it to your base types file (generated by "typescript" plugin)!`,
187
+ 'Preset "near-operation-file" requires you to specify "baseTypesPath" configuration and point it to your base types file (generated by "typescript" plugin)!',
186
188
  )
187
189
  }
188
190
 
@@ -1,17 +1,22 @@
1
1
  /* eslint-disable @typescript-eslint/no-non-null-assertion */
2
+
2
3
  /* eslint-disable import/no-cycle */
3
- import { resolve } from 'path'
4
- import { isUsingTypes, Types } from '@graphql-codegen/plugin-helpers'
5
- import {
6
- generateImportStatement,
7
- ImportSource,
8
- resolveImportSource,
4
+ import type { Types } from '@graphql-codegen/plugin-helpers'
5
+ import { isUsingTypes } from '@graphql-codegen/plugin-helpers'
6
+ import type {
9
7
  FragmentImport,
10
8
  ImportDeclaration,
9
+ ImportSource,
11
10
  LoadedFragment,
12
11
  } from '@graphql-codegen/visitor-plugin-common'
13
- import { Source } from '@graphql-tools/utils'
14
- import { DocumentNode, FragmentDefinitionNode, GraphQLSchema, visit } from 'graphql'
12
+ import {
13
+ generateImportStatement,
14
+ resolveImportSource,
15
+ } from '@graphql-codegen/visitor-plugin-common'
16
+ import type { Source } from '@graphql-tools/utils'
17
+ import type { DocumentNode, FragmentDefinitionNode, GraphQLSchema } from 'graphql'
18
+ import { visit } from 'graphql'
19
+ import { resolve } from 'path'
15
20
  import buildFragmentResolver, { buildFragmentRegistry } from './fragment-resolver'
16
21
  import { extractExternalFragmentsInUse } from './utils'
17
22
 
package/src/utils.ts CHANGED
@@ -1,8 +1,9 @@
1
1
  /* eslint-disable import/no-cycle */
2
- import { join } from 'path'
3
- import { DocumentNode, visit, FragmentSpreadNode, FragmentDefinitionNode } from 'graphql'
2
+ import type { DocumentNode, FragmentDefinitionNode, FragmentSpreadNode } from 'graphql'
3
+ import { visit } from 'graphql'
4
4
  import parsePath from 'parse-filepath'
5
- import { FragmentRegistry } from './fragment-resolver'
5
+ import { join } from 'path'
6
+ import type { FragmentRegistry } from './fragment-resolver'
6
7
 
7
8
  export function defineFilepathSubfolder(baseFilePath: string, folder: string) {
8
9
  const parsedPath = parsePath(baseFilePath)