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