@digitalcanopy/assets 0.1.0 → 1.1.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.
Files changed (42) hide show
  1. package/README.md +55 -0
  2. package/dist/catalog/index.d.mts +94 -0
  3. package/dist/catalog/index.d.ts +94 -0
  4. package/dist/catalog/index.js +540 -0
  5. package/dist/catalog/index.mjs +30 -0
  6. package/dist/chunk-BUUV7WRE.mjs +502 -0
  7. package/dist/chunk-CIMJYYCP.mjs +3612 -0
  8. package/dist/chunk-FECYZWQ6.mjs +278 -0
  9. package/dist/chunk-MFWLT2XV.mjs +47 -0
  10. package/dist/index.d.mts +5 -0
  11. package/dist/index.d.ts +5 -0
  12. package/dist/index.js +4483 -0
  13. package/dist/index.mjs +74 -0
  14. package/dist/manifests/index.d.mts +79 -0
  15. package/dist/manifests/index.d.ts +79 -0
  16. package/dist/manifests/index.js +3647 -0
  17. package/dist/manifests/index.mjs +24 -0
  18. package/dist/registry/index.d.mts +98 -0
  19. package/dist/registry/index.d.ts +98 -0
  20. package/dist/registry/index.js +321 -0
  21. package/dist/registry/index.mjs +12 -0
  22. package/dist/resolvers/cdn.d.mts +16 -0
  23. package/dist/resolvers/cdn.d.ts +16 -0
  24. package/dist/resolvers/cdn.js +76 -0
  25. package/dist/resolvers/cdn.mjs +16 -0
  26. package/dist/types-Cy3PZIX4.d.mts +52 -0
  27. package/dist/types-_dmvJ9qx.d.ts +52 -0
  28. package/package.json +32 -11
  29. package/scripts/generate-manifests.mjs +0 -409
  30. package/src/__tests__/manifests.test.ts +0 -129
  31. package/src/__tests__/resolvers.test.ts +0 -55
  32. package/src/__tests__/sync-r2.test.ts +0 -82
  33. package/src/index.ts +0 -2
  34. package/src/manifests/index.ts +0 -81
  35. package/src/manifests/isometric-tiles.atlas.json +0 -592
  36. package/src/manifests/keys.ts +0 -160
  37. package/src/manifests/modular-characters.atlas.json +0 -856
  38. package/src/manifests/playing-cards.atlas.json +0 -1408
  39. package/src/manifests/ui-sprites.atlas.json +0 -568
  40. package/src/resolvers/index.ts +0 -62
  41. package/tsconfig.build.json +0 -12
  42. package/tsconfig.json +0 -20
@@ -1,856 +0,0 @@
1
- {
2
- "meta": {
3
- "app": "sunshade-atlas-pipeline",
4
- "version": "1.0.0",
5
- "image": "https://cdn.sunshade.icu/assets/kenney/modular-characters/modular-characters-atlas.png",
6
- "format": "RGBA8888",
7
- "size": {
8
- "w": 2048,
9
- "h": 384
10
- },
11
- "scale": "1",
12
- "pack": "modular-characters"
13
- },
14
- "frames": {
15
- "char-face-face-0": {
16
- "frame": {
17
- "x": 0,
18
- "y": 0,
19
- "w": 128,
20
- "h": 128
21
- },
22
- "rotated": false,
23
- "trimmed": false,
24
- "spriteSourceSize": {
25
- "x": 0,
26
- "y": 0,
27
- "w": 128,
28
- "h": 128
29
- },
30
- "sourceSize": {
31
- "w": 128,
32
- "h": 128
33
- },
34
- "anchor": {
35
- "ax": 0.5,
36
- "ay": 0.5
37
- }
38
- },
39
- "char-face-face-1": {
40
- "frame": {
41
- "x": 128,
42
- "y": 0,
43
- "w": 128,
44
- "h": 128
45
- },
46
- "rotated": false,
47
- "trimmed": false,
48
- "spriteSourceSize": {
49
- "x": 0,
50
- "y": 0,
51
- "w": 128,
52
- "h": 128
53
- },
54
- "sourceSize": {
55
- "w": 128,
56
- "h": 128
57
- },
58
- "anchor": {
59
- "ax": 0.5,
60
- "ay": 0.5
61
- }
62
- },
63
- "char-face-face-2": {
64
- "frame": {
65
- "x": 256,
66
- "y": 0,
67
- "w": 128,
68
- "h": 128
69
- },
70
- "rotated": false,
71
- "trimmed": false,
72
- "spriteSourceSize": {
73
- "x": 0,
74
- "y": 0,
75
- "w": 128,
76
- "h": 128
77
- },
78
- "sourceSize": {
79
- "w": 128,
80
- "h": 128
81
- },
82
- "anchor": {
83
- "ax": 0.5,
84
- "ay": 0.5
85
- }
86
- },
87
- "char-face-face-3": {
88
- "frame": {
89
- "x": 384,
90
- "y": 0,
91
- "w": 128,
92
- "h": 128
93
- },
94
- "rotated": false,
95
- "trimmed": false,
96
- "spriteSourceSize": {
97
- "x": 0,
98
- "y": 0,
99
- "w": 128,
100
- "h": 128
101
- },
102
- "sourceSize": {
103
- "w": 128,
104
- "h": 128
105
- },
106
- "anchor": {
107
- "ax": 0.5,
108
- "ay": 0.5
109
- }
110
- },
111
- "char-face-face-4": {
112
- "frame": {
113
- "x": 512,
114
- "y": 0,
115
- "w": 128,
116
- "h": 128
117
- },
118
- "rotated": false,
119
- "trimmed": false,
120
- "spriteSourceSize": {
121
- "x": 0,
122
- "y": 0,
123
- "w": 128,
124
- "h": 128
125
- },
126
- "sourceSize": {
127
- "w": 128,
128
- "h": 128
129
- },
130
- "anchor": {
131
- "ax": 0.5,
132
- "ay": 0.5
133
- }
134
- },
135
- "char-face-face-5": {
136
- "frame": {
137
- "x": 640,
138
- "y": 0,
139
- "w": 128,
140
- "h": 128
141
- },
142
- "rotated": false,
143
- "trimmed": false,
144
- "spriteSourceSize": {
145
- "x": 0,
146
- "y": 0,
147
- "w": 128,
148
- "h": 128
149
- },
150
- "sourceSize": {
151
- "w": 128,
152
- "h": 128
153
- },
154
- "anchor": {
155
- "ax": 0.5,
156
- "ay": 0.5
157
- }
158
- },
159
- "char-face-face-6": {
160
- "frame": {
161
- "x": 768,
162
- "y": 0,
163
- "w": 128,
164
- "h": 128
165
- },
166
- "rotated": false,
167
- "trimmed": false,
168
- "spriteSourceSize": {
169
- "x": 0,
170
- "y": 0,
171
- "w": 128,
172
- "h": 128
173
- },
174
- "sourceSize": {
175
- "w": 128,
176
- "h": 128
177
- },
178
- "anchor": {
179
- "ax": 0.5,
180
- "ay": 0.5
181
- }
182
- },
183
- "char-face-face-7": {
184
- "frame": {
185
- "x": 896,
186
- "y": 0,
187
- "w": 128,
188
- "h": 128
189
- },
190
- "rotated": false,
191
- "trimmed": false,
192
- "spriteSourceSize": {
193
- "x": 0,
194
- "y": 0,
195
- "w": 128,
196
- "h": 128
197
- },
198
- "sourceSize": {
199
- "w": 128,
200
- "h": 128
201
- },
202
- "anchor": {
203
- "ax": 0.5,
204
- "ay": 0.5
205
- }
206
- },
207
- "char-hair-hair-blonde-0": {
208
- "frame": {
209
- "x": 1024,
210
- "y": 0,
211
- "w": 128,
212
- "h": 128
213
- },
214
- "rotated": false,
215
- "trimmed": false,
216
- "spriteSourceSize": {
217
- "x": 0,
218
- "y": 0,
219
- "w": 128,
220
- "h": 128
221
- },
222
- "sourceSize": {
223
- "w": 128,
224
- "h": 128
225
- },
226
- "anchor": {
227
- "ax": 0.5,
228
- "ay": 0.5
229
- }
230
- },
231
- "char-hair-hair-blonde-1": {
232
- "frame": {
233
- "x": 1152,
234
- "y": 0,
235
- "w": 128,
236
- "h": 128
237
- },
238
- "rotated": false,
239
- "trimmed": false,
240
- "spriteSourceSize": {
241
- "x": 0,
242
- "y": 0,
243
- "w": 128,
244
- "h": 128
245
- },
246
- "sourceSize": {
247
- "w": 128,
248
- "h": 128
249
- },
250
- "anchor": {
251
- "ax": 0.5,
252
- "ay": 0.5
253
- }
254
- },
255
- "char-hair-hair-brown-0": {
256
- "frame": {
257
- "x": 1280,
258
- "y": 0,
259
- "w": 128,
260
- "h": 128
261
- },
262
- "rotated": false,
263
- "trimmed": false,
264
- "spriteSourceSize": {
265
- "x": 0,
266
- "y": 0,
267
- "w": 128,
268
- "h": 128
269
- },
270
- "sourceSize": {
271
- "w": 128,
272
- "h": 128
273
- },
274
- "anchor": {
275
- "ax": 0.5,
276
- "ay": 0.5
277
- }
278
- },
279
- "char-hair-hair-brown-1": {
280
- "frame": {
281
- "x": 1408,
282
- "y": 0,
283
- "w": 128,
284
- "h": 128
285
- },
286
- "rotated": false,
287
- "trimmed": false,
288
- "spriteSourceSize": {
289
- "x": 0,
290
- "y": 0,
291
- "w": 128,
292
- "h": 128
293
- },
294
- "sourceSize": {
295
- "w": 128,
296
- "h": 128
297
- },
298
- "anchor": {
299
- "ax": 0.5,
300
- "ay": 0.5
301
- }
302
- },
303
- "char-hair-hair-black-0": {
304
- "frame": {
305
- "x": 1536,
306
- "y": 0,
307
- "w": 128,
308
- "h": 128
309
- },
310
- "rotated": false,
311
- "trimmed": false,
312
- "spriteSourceSize": {
313
- "x": 0,
314
- "y": 0,
315
- "w": 128,
316
- "h": 128
317
- },
318
- "sourceSize": {
319
- "w": 128,
320
- "h": 128
321
- },
322
- "anchor": {
323
- "ax": 0.5,
324
- "ay": 0.5
325
- }
326
- },
327
- "char-hair-hair-black-1": {
328
- "frame": {
329
- "x": 1664,
330
- "y": 0,
331
- "w": 128,
332
- "h": 128
333
- },
334
- "rotated": false,
335
- "trimmed": false,
336
- "spriteSourceSize": {
337
- "x": 0,
338
- "y": 0,
339
- "w": 128,
340
- "h": 128
341
- },
342
- "sourceSize": {
343
- "w": 128,
344
- "h": 128
345
- },
346
- "anchor": {
347
- "ax": 0.5,
348
- "ay": 0.5
349
- }
350
- },
351
- "char-hair-hair-red-0": {
352
- "frame": {
353
- "x": 1792,
354
- "y": 0,
355
- "w": 128,
356
- "h": 128
357
- },
358
- "rotated": false,
359
- "trimmed": false,
360
- "spriteSourceSize": {
361
- "x": 0,
362
- "y": 0,
363
- "w": 128,
364
- "h": 128
365
- },
366
- "sourceSize": {
367
- "w": 128,
368
- "h": 128
369
- },
370
- "anchor": {
371
- "ax": 0.5,
372
- "ay": 0.5
373
- }
374
- },
375
- "char-pants-pants-blue-0": {
376
- "frame": {
377
- "x": 1920,
378
- "y": 0,
379
- "w": 128,
380
- "h": 128
381
- },
382
- "rotated": false,
383
- "trimmed": false,
384
- "spriteSourceSize": {
385
- "x": 0,
386
- "y": 0,
387
- "w": 128,
388
- "h": 128
389
- },
390
- "sourceSize": {
391
- "w": 128,
392
- "h": 128
393
- },
394
- "anchor": {
395
- "ax": 0.5,
396
- "ay": 0.5
397
- }
398
- },
399
- "char-pants-pants-blue-1": {
400
- "frame": {
401
- "x": 0,
402
- "y": 128,
403
- "w": 128,
404
- "h": 128
405
- },
406
- "rotated": false,
407
- "trimmed": false,
408
- "spriteSourceSize": {
409
- "x": 0,
410
- "y": 0,
411
- "w": 128,
412
- "h": 128
413
- },
414
- "sourceSize": {
415
- "w": 128,
416
- "h": 128
417
- },
418
- "anchor": {
419
- "ax": 0.5,
420
- "ay": 0.5
421
- }
422
- },
423
- "char-pants-pants-green-0": {
424
- "frame": {
425
- "x": 128,
426
- "y": 128,
427
- "w": 128,
428
- "h": 128
429
- },
430
- "rotated": false,
431
- "trimmed": false,
432
- "spriteSourceSize": {
433
- "x": 0,
434
- "y": 0,
435
- "w": 128,
436
- "h": 128
437
- },
438
- "sourceSize": {
439
- "w": 128,
440
- "h": 128
441
- },
442
- "anchor": {
443
- "ax": 0.5,
444
- "ay": 0.5
445
- }
446
- },
447
- "char-pants-pants-red-0": {
448
- "frame": {
449
- "x": 256,
450
- "y": 128,
451
- "w": 128,
452
- "h": 128
453
- },
454
- "rotated": false,
455
- "trimmed": false,
456
- "spriteSourceSize": {
457
- "x": 0,
458
- "y": 0,
459
- "w": 128,
460
- "h": 128
461
- },
462
- "sourceSize": {
463
- "w": 128,
464
- "h": 128
465
- },
466
- "anchor": {
467
- "ax": 0.5,
468
- "ay": 0.5
469
- }
470
- },
471
- "char-pants-pants-black-0": {
472
- "frame": {
473
- "x": 384,
474
- "y": 128,
475
- "w": 128,
476
- "h": 128
477
- },
478
- "rotated": false,
479
- "trimmed": false,
480
- "spriteSourceSize": {
481
- "x": 0,
482
- "y": 0,
483
- "w": 128,
484
- "h": 128
485
- },
486
- "sourceSize": {
487
- "w": 128,
488
- "h": 128
489
- },
490
- "anchor": {
491
- "ax": 0.5,
492
- "ay": 0.5
493
- }
494
- },
495
- "char-pants-pants-white-0": {
496
- "frame": {
497
- "x": 512,
498
- "y": 128,
499
- "w": 128,
500
- "h": 128
501
- },
502
- "rotated": false,
503
- "trimmed": false,
504
- "spriteSourceSize": {
505
- "x": 0,
506
- "y": 0,
507
- "w": 128,
508
- "h": 128
509
- },
510
- "sourceSize": {
511
- "w": 128,
512
- "h": 128
513
- },
514
- "anchor": {
515
- "ax": 0.5,
516
- "ay": 0.5
517
- }
518
- },
519
- "char-shirts-shirt-blue-0": {
520
- "frame": {
521
- "x": 640,
522
- "y": 128,
523
- "w": 128,
524
- "h": 128
525
- },
526
- "rotated": false,
527
- "trimmed": false,
528
- "spriteSourceSize": {
529
- "x": 0,
530
- "y": 0,
531
- "w": 128,
532
- "h": 128
533
- },
534
- "sourceSize": {
535
- "w": 128,
536
- "h": 128
537
- },
538
- "anchor": {
539
- "ax": 0.5,
540
- "ay": 0.5
541
- }
542
- },
543
- "char-shirts-shirt-blue-1": {
544
- "frame": {
545
- "x": 768,
546
- "y": 128,
547
- "w": 128,
548
- "h": 128
549
- },
550
- "rotated": false,
551
- "trimmed": false,
552
- "spriteSourceSize": {
553
- "x": 0,
554
- "y": 0,
555
- "w": 128,
556
- "h": 128
557
- },
558
- "sourceSize": {
559
- "w": 128,
560
- "h": 128
561
- },
562
- "anchor": {
563
- "ax": 0.5,
564
- "ay": 0.5
565
- }
566
- },
567
- "char-shirts-shirt-green-0": {
568
- "frame": {
569
- "x": 896,
570
- "y": 128,
571
- "w": 128,
572
- "h": 128
573
- },
574
- "rotated": false,
575
- "trimmed": false,
576
- "spriteSourceSize": {
577
- "x": 0,
578
- "y": 0,
579
- "w": 128,
580
- "h": 128
581
- },
582
- "sourceSize": {
583
- "w": 128,
584
- "h": 128
585
- },
586
- "anchor": {
587
- "ax": 0.5,
588
- "ay": 0.5
589
- }
590
- },
591
- "char-shirts-shirt-red-0": {
592
- "frame": {
593
- "x": 1024,
594
- "y": 128,
595
- "w": 128,
596
- "h": 128
597
- },
598
- "rotated": false,
599
- "trimmed": false,
600
- "spriteSourceSize": {
601
- "x": 0,
602
- "y": 0,
603
- "w": 128,
604
- "h": 128
605
- },
606
- "sourceSize": {
607
- "w": 128,
608
- "h": 128
609
- },
610
- "anchor": {
611
- "ax": 0.5,
612
- "ay": 0.5
613
- }
614
- },
615
- "char-shirts-shirt-black-0": {
616
- "frame": {
617
- "x": 1152,
618
- "y": 128,
619
- "w": 128,
620
- "h": 128
621
- },
622
- "rotated": false,
623
- "trimmed": false,
624
- "spriteSourceSize": {
625
- "x": 0,
626
- "y": 0,
627
- "w": 128,
628
- "h": 128
629
- },
630
- "sourceSize": {
631
- "w": 128,
632
- "h": 128
633
- },
634
- "anchor": {
635
- "ax": 0.5,
636
- "ay": 0.5
637
- }
638
- },
639
- "char-shirts-shirt-white-0": {
640
- "frame": {
641
- "x": 1280,
642
- "y": 128,
643
- "w": 128,
644
- "h": 128
645
- },
646
- "rotated": false,
647
- "trimmed": false,
648
- "spriteSourceSize": {
649
- "x": 0,
650
- "y": 0,
651
- "w": 128,
652
- "h": 128
653
- },
654
- "sourceSize": {
655
- "w": 128,
656
- "h": 128
657
- },
658
- "anchor": {
659
- "ax": 0.5,
660
- "ay": 0.5
661
- }
662
- },
663
- "char-shoes-shoes-brown-0": {
664
- "frame": {
665
- "x": 1408,
666
- "y": 128,
667
- "w": 128,
668
- "h": 128
669
- },
670
- "rotated": false,
671
- "trimmed": false,
672
- "spriteSourceSize": {
673
- "x": 0,
674
- "y": 0,
675
- "w": 128,
676
- "h": 128
677
- },
678
- "sourceSize": {
679
- "w": 128,
680
- "h": 128
681
- },
682
- "anchor": {
683
- "ax": 0.5,
684
- "ay": 0.5
685
- }
686
- },
687
- "char-shoes-shoes-black-0": {
688
- "frame": {
689
- "x": 1536,
690
- "y": 128,
691
- "w": 128,
692
- "h": 128
693
- },
694
- "rotated": false,
695
- "trimmed": false,
696
- "spriteSourceSize": {
697
- "x": 0,
698
- "y": 0,
699
- "w": 128,
700
- "h": 128
701
- },
702
- "sourceSize": {
703
- "w": 128,
704
- "h": 128
705
- },
706
- "anchor": {
707
- "ax": 0.5,
708
- "ay": 0.5
709
- }
710
- },
711
- "char-shoes-shoes-white-0": {
712
- "frame": {
713
- "x": 1664,
714
- "y": 128,
715
- "w": 128,
716
- "h": 128
717
- },
718
- "rotated": false,
719
- "trimmed": false,
720
- "spriteSourceSize": {
721
- "x": 0,
722
- "y": 0,
723
- "w": 128,
724
- "h": 128
725
- },
726
- "sourceSize": {
727
- "w": 128,
728
- "h": 128
729
- },
730
- "anchor": {
731
- "ax": 0.5,
732
- "ay": 0.5
733
- }
734
- },
735
- "char-shoes-shoes-red-0": {
736
- "frame": {
737
- "x": 1792,
738
- "y": 128,
739
- "w": 128,
740
- "h": 128
741
- },
742
- "rotated": false,
743
- "trimmed": false,
744
- "spriteSourceSize": {
745
- "x": 0,
746
- "y": 0,
747
- "w": 128,
748
- "h": 128
749
- },
750
- "sourceSize": {
751
- "w": 128,
752
- "h": 128
753
- },
754
- "anchor": {
755
- "ax": 0.5,
756
- "ay": 0.5
757
- }
758
- },
759
- "char-skin-skin-beige-0": {
760
- "frame": {
761
- "x": 1920,
762
- "y": 128,
763
- "w": 128,
764
- "h": 128
765
- },
766
- "rotated": false,
767
- "trimmed": false,
768
- "spriteSourceSize": {
769
- "x": 0,
770
- "y": 0,
771
- "w": 128,
772
- "h": 128
773
- },
774
- "sourceSize": {
775
- "w": 128,
776
- "h": 128
777
- },
778
- "anchor": {
779
- "ax": 0.5,
780
- "ay": 0.5
781
- }
782
- },
783
- "char-skin-skin-brown-0": {
784
- "frame": {
785
- "x": 0,
786
- "y": 256,
787
- "w": 128,
788
- "h": 128
789
- },
790
- "rotated": false,
791
- "trimmed": false,
792
- "spriteSourceSize": {
793
- "x": 0,
794
- "y": 0,
795
- "w": 128,
796
- "h": 128
797
- },
798
- "sourceSize": {
799
- "w": 128,
800
- "h": 128
801
- },
802
- "anchor": {
803
- "ax": 0.5,
804
- "ay": 0.5
805
- }
806
- },
807
- "char-skin-skin-dark-0": {
808
- "frame": {
809
- "x": 128,
810
- "y": 256,
811
- "w": 128,
812
- "h": 128
813
- },
814
- "rotated": false,
815
- "trimmed": false,
816
- "spriteSourceSize": {
817
- "x": 0,
818
- "y": 0,
819
- "w": 128,
820
- "h": 128
821
- },
822
- "sourceSize": {
823
- "w": 128,
824
- "h": 128
825
- },
826
- "anchor": {
827
- "ax": 0.5,
828
- "ay": 0.5
829
- }
830
- },
831
- "char-skin-skin-light-0": {
832
- "frame": {
833
- "x": 256,
834
- "y": 256,
835
- "w": 128,
836
- "h": 128
837
- },
838
- "rotated": false,
839
- "trimmed": false,
840
- "spriteSourceSize": {
841
- "x": 0,
842
- "y": 0,
843
- "w": 128,
844
- "h": 128
845
- },
846
- "sourceSize": {
847
- "w": 128,
848
- "h": 128
849
- },
850
- "anchor": {
851
- "ax": 0.5,
852
- "ay": 0.5
853
- }
854
- }
855
- }
856
- }