@graphcommerce/graphql-codegen-near-operation-file 9.0.0-canary.98 → 9.0.0

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