@hirokisakabe/pom 5.4.0 → 5.5.1
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/README.md +6 -5
- package/dist/autoFit/autoFit.d.ts +2 -1
- package/dist/autoFit/autoFit.d.ts.map +1 -1
- package/dist/autoFit/autoFit.js +33 -17
- package/dist/buildContext.d.ts +2 -0
- package/dist/buildContext.d.ts.map +1 -1
- package/dist/buildContext.js +2 -0
- package/dist/buildPptx.d.ts +7 -1
- package/dist/buildPptx.d.ts.map +1 -1
- package/dist/buildPptx.js +14 -5
- package/dist/calcYogaLayout/calcYogaLayout.d.ts +4 -2
- package/dist/calcYogaLayout/calcYogaLayout.d.ts.map +1 -1
- package/dist/calcYogaLayout/calcYogaLayout.js +76 -16
- package/dist/calcYogaLayout/fontLoader.d.ts +4 -0
- package/dist/calcYogaLayout/fontLoader.d.ts.map +1 -1
- package/dist/calcYogaLayout/fontLoader.js +8 -0
- package/dist/calcYogaLayout/measureText.d.ts.map +1 -1
- package/dist/calcYogaLayout/measureText.js +4 -3
- package/dist/calcYogaLayout/types.d.ts +16 -0
- package/dist/calcYogaLayout/types.d.ts.map +1 -0
- package/dist/calcYogaLayout/types.js +14 -0
- package/dist/diagnostics.d.ts +14 -0
- package/dist/diagnostics.d.ts.map +1 -0
- package/dist/diagnostics.js +17 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/parseXml/parseXml.d.ts +1 -1
- package/dist/parseXml/parseXml.d.ts.map +1 -1
- package/dist/parseXml/parseXml.js +16 -16
- package/dist/registry/definitions/icon.d.ts.map +1 -1
- package/dist/registry/definitions/icon.js +26 -14
- package/dist/registry/definitions/image.d.ts.map +1 -1
- package/dist/registry/definitions/image.js +2 -3
- package/dist/registry/definitions/layer.d.ts.map +1 -1
- package/dist/registry/definitions/layer.js +9 -6
- package/dist/registry/definitions/line.d.ts.map +1 -1
- package/dist/registry/definitions/line.js +1 -2
- package/dist/registry/definitions/list.d.ts.map +1 -1
- package/dist/registry/definitions/list.js +3 -1
- package/dist/registry/definitions/shape.d.ts.map +1 -1
- package/dist/registry/definitions/shape.js +2 -0
- package/dist/registry/definitions/text.d.ts.map +1 -1
- package/dist/registry/definitions/text.js +3 -1
- package/dist/registry/types.d.ts +2 -1
- package/dist/registry/types.d.ts.map +1 -1
- package/dist/renderPptx/nodes/chart.d.ts.map +1 -1
- package/dist/renderPptx/nodes/chart.js +6 -4
- package/dist/renderPptx/nodes/flow.d.ts.map +1 -1
- package/dist/renderPptx/nodes/flow.js +14 -4
- package/dist/renderPptx/nodes/image.d.ts.map +1 -1
- package/dist/renderPptx/nodes/image.js +9 -7
- package/dist/renderPptx/nodes/list.d.ts.map +1 -1
- package/dist/renderPptx/nodes/list.js +19 -16
- package/dist/renderPptx/nodes/matrix.d.ts.map +1 -1
- package/dist/renderPptx/nodes/matrix.js +11 -9
- package/dist/renderPptx/nodes/processArrow.d.ts.map +1 -1
- package/dist/renderPptx/nodes/processArrow.js +14 -4
- package/dist/renderPptx/nodes/pyramid.d.ts.map +1 -1
- package/dist/renderPptx/nodes/pyramid.js +6 -4
- package/dist/renderPptx/nodes/shape.d.ts.map +1 -1
- package/dist/renderPptx/nodes/shape.js +7 -5
- package/dist/renderPptx/nodes/table.d.ts.map +1 -1
- package/dist/renderPptx/nodes/table.js +7 -5
- package/dist/renderPptx/nodes/timeline.d.ts.map +1 -1
- package/dist/renderPptx/nodes/timeline.js +14 -4
- package/dist/renderPptx/nodes/tree.d.ts.map +1 -1
- package/dist/renderPptx/nodes/tree.js +6 -4
- package/dist/renderPptx/textOptions.d.ts +6 -6
- package/dist/renderPptx/textOptions.d.ts.map +1 -1
- package/dist/renderPptx/textOptions.js +6 -4
- package/dist/renderPptx/utils/backgroundBorder.js +1 -1
- package/dist/renderPptx/utils/contentArea.d.ts +26 -0
- package/dist/renderPptx/utils/contentArea.d.ts.map +1 -0
- package/dist/renderPptx/utils/contentArea.js +26 -0
- package/dist/renderPptx/utils/scaleToFit.d.ts +3 -2
- package/dist/renderPptx/utils/scaleToFit.d.ts.map +1 -1
- package/dist/renderPptx/utils/scaleToFit.js +3 -3
- package/dist/shared/freeYogaTree.d.ts +3 -3
- package/dist/shared/freeYogaTree.d.ts.map +1 -1
- package/dist/shared/freeYogaTree.js +16 -21
- package/dist/shared/measureImage.d.ts +3 -2
- package/dist/shared/measureImage.d.ts.map +1 -1
- package/dist/shared/measureImage.js +5 -5
- package/dist/toPositioned/toPositioned.d.ts +3 -6
- package/dist/toPositioned/toPositioned.d.ts.map +1 -1
- package/dist/toPositioned/toPositioned.js +11 -19
- package/dist/types.d.ts +12 -445
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +43 -50
- package/package.json +6 -3
- package/dist/parseXml/inputSchema.d.ts +0 -1622
- package/dist/parseXml/inputSchema.d.ts.map +0 -1
- package/dist/parseXml/inputSchema.js +0 -257
package/dist/types.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { ICON_DATA } from "./icons/iconData.js";
|
|
3
3
|
// ===== Basic Types =====
|
|
4
|
-
|
|
4
|
+
const lengthSchema = z.union([
|
|
5
5
|
z.number(),
|
|
6
6
|
z.literal("max"),
|
|
7
7
|
z.string().regex(/^\d+%$/),
|
|
8
8
|
]);
|
|
9
|
-
|
|
9
|
+
const paddingSchema = z.union([
|
|
10
10
|
z.number(),
|
|
11
11
|
z.object({
|
|
12
12
|
top: z.number().optional(),
|
|
@@ -15,7 +15,7 @@ export const paddingSchema = z.union([
|
|
|
15
15
|
left: z.number().optional(),
|
|
16
16
|
}),
|
|
17
17
|
]);
|
|
18
|
-
|
|
18
|
+
const borderDashSchema = z.enum([
|
|
19
19
|
"solid",
|
|
20
20
|
"dash",
|
|
21
21
|
"dashDot",
|
|
@@ -25,12 +25,12 @@ export const borderDashSchema = z.enum([
|
|
|
25
25
|
"sysDash",
|
|
26
26
|
"sysDot",
|
|
27
27
|
]);
|
|
28
|
-
|
|
28
|
+
const borderStyleSchema = z.object({
|
|
29
29
|
color: z.string().optional(),
|
|
30
30
|
width: z.number().optional(),
|
|
31
31
|
dashType: borderDashSchema.optional(),
|
|
32
32
|
});
|
|
33
|
-
|
|
33
|
+
const fillStyleSchema = z.object({
|
|
34
34
|
color: z.string().optional(),
|
|
35
35
|
transparency: z.number().optional(),
|
|
36
36
|
});
|
|
@@ -42,7 +42,7 @@ export const shadowStyleSchema = z.object({
|
|
|
42
42
|
offset: z.number().optional(),
|
|
43
43
|
color: z.string().optional(),
|
|
44
44
|
});
|
|
45
|
-
|
|
45
|
+
const bulletNumberTypeSchema = z.enum([
|
|
46
46
|
"alphaLcParenBoth",
|
|
47
47
|
"alphaLcParenR",
|
|
48
48
|
"alphaLcPeriod",
|
|
@@ -84,17 +84,11 @@ export const underlineSchema = z.union([
|
|
|
84
84
|
color: z.string().optional(),
|
|
85
85
|
}),
|
|
86
86
|
]);
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
"end",
|
|
93
|
-
"stretch",
|
|
94
|
-
]);
|
|
95
|
-
export const positionTypeSchema = z.enum(["relative", "absolute"]);
|
|
96
|
-
export const flexWrapSchema = z.enum(["nowrap", "wrap", "wrapReverse"]);
|
|
97
|
-
export const justifyContentSchema = z.enum([
|
|
87
|
+
const alignItemsSchema = z.enum(["start", "center", "end", "stretch"]);
|
|
88
|
+
const alignSelfSchema = z.enum(["auto", "start", "center", "end", "stretch"]);
|
|
89
|
+
const positionTypeSchema = z.enum(["relative", "absolute"]);
|
|
90
|
+
const flexWrapSchema = z.enum(["nowrap", "wrap", "wrapReverse"]);
|
|
91
|
+
const justifyContentSchema = z.enum([
|
|
98
92
|
"start",
|
|
99
93
|
"center",
|
|
100
94
|
"end",
|
|
@@ -102,7 +96,7 @@ export const justifyContentSchema = z.enum([
|
|
|
102
96
|
"spaceAround",
|
|
103
97
|
"spaceEvenly",
|
|
104
98
|
]);
|
|
105
|
-
|
|
99
|
+
const shapeTypeSchema = z.enum([
|
|
106
100
|
"accentBorderCallout1",
|
|
107
101
|
"accentBorderCallout2",
|
|
108
102
|
"accentBorderCallout3",
|
|
@@ -284,13 +278,12 @@ export const shapeTypeSchema = z.enum([
|
|
|
284
278
|
]);
|
|
285
279
|
// ===== Background Image =====
|
|
286
280
|
const backgroundImageSizingSchema = z.enum(["cover", "contain"]);
|
|
287
|
-
|
|
281
|
+
const backgroundImageSchema = z.object({
|
|
288
282
|
src: z.string(),
|
|
289
283
|
sizing: backgroundImageSizingSchema.optional(),
|
|
290
284
|
});
|
|
291
285
|
// ===== Base Node =====
|
|
292
286
|
const basePOMNodeSchema = z.object({
|
|
293
|
-
yogaNode: z.custom().optional(),
|
|
294
287
|
w: lengthSchema.optional(),
|
|
295
288
|
h: lengthSchema.optional(),
|
|
296
289
|
minW: z.number().optional(),
|
|
@@ -313,7 +306,7 @@ const basePOMNodeSchema = z.object({
|
|
|
313
306
|
alignSelf: alignSelfSchema.optional(),
|
|
314
307
|
});
|
|
315
308
|
// ===== Non-recursive Node Types =====
|
|
316
|
-
const textNodeSchema = basePOMNodeSchema.extend({
|
|
309
|
+
export const textNodeSchema = basePOMNodeSchema.extend({
|
|
317
310
|
type: z.literal("text"),
|
|
318
311
|
text: z.string(),
|
|
319
312
|
fontSize: z.number().optional(),
|
|
@@ -338,7 +331,7 @@ export const liNodeSchema = z.object({
|
|
|
338
331
|
fontSize: z.number().optional(),
|
|
339
332
|
fontFamily: z.string().optional(),
|
|
340
333
|
});
|
|
341
|
-
const ulNodeSchema = basePOMNodeSchema.extend({
|
|
334
|
+
export const ulNodeSchema = basePOMNodeSchema.extend({
|
|
342
335
|
type: z.literal("ul"),
|
|
343
336
|
items: z.array(liNodeSchema),
|
|
344
337
|
fontSize: z.number().optional(),
|
|
@@ -352,7 +345,7 @@ const ulNodeSchema = basePOMNodeSchema.extend({
|
|
|
352
345
|
fontFamily: z.string().optional(),
|
|
353
346
|
lineHeight: z.number().optional(),
|
|
354
347
|
});
|
|
355
|
-
const olNodeSchema = basePOMNodeSchema.extend({
|
|
348
|
+
export const olNodeSchema = basePOMNodeSchema.extend({
|
|
356
349
|
type: z.literal("ol"),
|
|
357
350
|
items: z.array(liNodeSchema),
|
|
358
351
|
fontSize: z.number().optional(),
|
|
@@ -375,18 +368,18 @@ const imageSizingSchema = z.object({
|
|
|
375
368
|
x: z.number().optional(),
|
|
376
369
|
y: z.number().optional(),
|
|
377
370
|
});
|
|
378
|
-
const imageNodeSchema = basePOMNodeSchema.extend({
|
|
371
|
+
export const imageNodeSchema = basePOMNodeSchema.extend({
|
|
379
372
|
type: z.literal("image"),
|
|
380
373
|
src: z.string(),
|
|
381
374
|
sizing: imageSizingSchema.optional(),
|
|
382
375
|
shadow: shadowStyleSchema.optional(),
|
|
383
376
|
});
|
|
384
|
-
|
|
385
|
-
|
|
377
|
+
const iconNameSchema = z.enum(Object.keys(ICON_DATA));
|
|
378
|
+
const iconColorSchema = z
|
|
386
379
|
.string()
|
|
387
380
|
.regex(/^#?[0-9a-fA-F]{3,8}$/)
|
|
388
381
|
.optional();
|
|
389
|
-
|
|
382
|
+
const iconVariantSchema = z
|
|
390
383
|
.enum([
|
|
391
384
|
"circle-filled",
|
|
392
385
|
"circle-outlined",
|
|
@@ -394,7 +387,7 @@ export const iconVariantSchema = z
|
|
|
394
387
|
"square-outlined",
|
|
395
388
|
])
|
|
396
389
|
.optional();
|
|
397
|
-
const iconNodeSchema = basePOMNodeSchema.extend({
|
|
390
|
+
export const iconNodeSchema = basePOMNodeSchema.extend({
|
|
398
391
|
type: z.literal("icon"),
|
|
399
392
|
name: iconNameSchema,
|
|
400
393
|
size: z.number().positive().max(1024).optional(),
|
|
@@ -416,11 +409,11 @@ const tableCellSchema = z.object({
|
|
|
416
409
|
colspan: z.number().int().min(1).optional(),
|
|
417
410
|
rowspan: z.number().int().min(1).optional(),
|
|
418
411
|
});
|
|
419
|
-
|
|
412
|
+
const tableRowSchema = z.object({
|
|
420
413
|
cells: z.array(tableCellSchema),
|
|
421
414
|
height: z.number().optional(),
|
|
422
415
|
});
|
|
423
|
-
|
|
416
|
+
const tableColumnSchema = z.object({
|
|
424
417
|
width: z.number().optional(),
|
|
425
418
|
});
|
|
426
419
|
export const tableNodeSchema = basePOMNodeSchema.extend({
|
|
@@ -429,7 +422,7 @@ export const tableNodeSchema = basePOMNodeSchema.extend({
|
|
|
429
422
|
rows: z.array(tableRowSchema),
|
|
430
423
|
defaultRowHeight: z.number().optional(),
|
|
431
424
|
});
|
|
432
|
-
const shapeNodeSchema = basePOMNodeSchema.extend({
|
|
425
|
+
export const shapeNodeSchema = basePOMNodeSchema.extend({
|
|
433
426
|
type: z.literal("shape"),
|
|
434
427
|
shapeType: shapeTypeSchema,
|
|
435
428
|
text: z.string().optional(),
|
|
@@ -447,7 +440,7 @@ const shapeNodeSchema = basePOMNodeSchema.extend({
|
|
|
447
440
|
fontFamily: z.string().optional(),
|
|
448
441
|
lineHeight: z.number().optional(),
|
|
449
442
|
});
|
|
450
|
-
|
|
443
|
+
const chartTypeSchema = z.enum([
|
|
451
444
|
"bar",
|
|
452
445
|
"line",
|
|
453
446
|
"pie",
|
|
@@ -455,13 +448,13 @@ export const chartTypeSchema = z.enum([
|
|
|
455
448
|
"doughnut",
|
|
456
449
|
"radar",
|
|
457
450
|
]);
|
|
458
|
-
|
|
459
|
-
|
|
451
|
+
const radarStyleSchema = z.enum(["standard", "marker", "filled"]);
|
|
452
|
+
const chartDataSchema = z.object({
|
|
460
453
|
name: z.string().optional(),
|
|
461
454
|
labels: z.array(z.string()),
|
|
462
455
|
values: z.array(z.number()),
|
|
463
456
|
});
|
|
464
|
-
const chartNodeSchema = basePOMNodeSchema.extend({
|
|
457
|
+
export const chartNodeSchema = basePOMNodeSchema.extend({
|
|
465
458
|
type: z.literal("chart"),
|
|
466
459
|
chartType: chartTypeSchema,
|
|
467
460
|
data: z.array(chartDataSchema),
|
|
@@ -473,8 +466,8 @@ const chartNodeSchema = basePOMNodeSchema.extend({
|
|
|
473
466
|
radarStyle: radarStyleSchema.optional(),
|
|
474
467
|
});
|
|
475
468
|
// ===== Timeline Node =====
|
|
476
|
-
|
|
477
|
-
|
|
469
|
+
const timelineDirectionSchema = z.enum(["horizontal", "vertical"]);
|
|
470
|
+
const timelineItemSchema = z.object({
|
|
478
471
|
date: z.string(),
|
|
479
472
|
title: z.string(),
|
|
480
473
|
description: z.string().optional(),
|
|
@@ -486,17 +479,17 @@ export const timelineNodeSchema = basePOMNodeSchema.extend({
|
|
|
486
479
|
items: z.array(timelineItemSchema),
|
|
487
480
|
});
|
|
488
481
|
// ===== Matrix Node =====
|
|
489
|
-
|
|
482
|
+
const matrixAxisSchema = z.object({
|
|
490
483
|
x: z.string(),
|
|
491
484
|
y: z.string(),
|
|
492
485
|
});
|
|
493
|
-
|
|
486
|
+
const matrixQuadrantsSchema = z.object({
|
|
494
487
|
topLeft: z.string(),
|
|
495
488
|
topRight: z.string(),
|
|
496
489
|
bottomLeft: z.string(),
|
|
497
490
|
bottomRight: z.string(),
|
|
498
491
|
});
|
|
499
|
-
|
|
492
|
+
const matrixItemSchema = z.object({
|
|
500
493
|
label: z.string(),
|
|
501
494
|
x: z.number().min(0).max(1),
|
|
502
495
|
y: z.number().min(0).max(1),
|
|
@@ -509,7 +502,7 @@ export const matrixNodeSchema = basePOMNodeSchema.extend({
|
|
|
509
502
|
items: z.array(matrixItemSchema),
|
|
510
503
|
});
|
|
511
504
|
// ===== Tree Node =====
|
|
512
|
-
|
|
505
|
+
const treeLayoutSchema = z.enum(["vertical", "horizontal"]);
|
|
513
506
|
export const treeNodeShapeSchema = z.enum(["rect", "roundRect", "ellipse"]);
|
|
514
507
|
export const treeConnectorStyleSchema = z.object({
|
|
515
508
|
color: z.string().optional(),
|
|
@@ -532,8 +525,8 @@ export const treeNodeSchema = basePOMNodeSchema.extend({
|
|
|
532
525
|
siblingGap: z.number().optional(),
|
|
533
526
|
});
|
|
534
527
|
// ===== ProcessArrow Node =====
|
|
535
|
-
|
|
536
|
-
|
|
528
|
+
const processArrowDirectionSchema = z.enum(["horizontal", "vertical"]);
|
|
529
|
+
const processArrowStepSchema = z.object({
|
|
537
530
|
label: z.string(),
|
|
538
531
|
color: z.string().optional(),
|
|
539
532
|
textColor: z.string().optional(),
|
|
@@ -553,8 +546,8 @@ export const processArrowNodeSchema = basePOMNodeSchema.extend({
|
|
|
553
546
|
highlight: z.string().optional(),
|
|
554
547
|
});
|
|
555
548
|
// ===== Pyramid Node =====
|
|
556
|
-
|
|
557
|
-
|
|
549
|
+
const pyramidDirectionSchema = z.enum(["up", "down"]);
|
|
550
|
+
const pyramidLevelSchema = z.object({
|
|
558
551
|
label: z.string(),
|
|
559
552
|
color: z.string().optional(),
|
|
560
553
|
textColor: z.string().optional(),
|
|
@@ -567,7 +560,7 @@ export const pyramidNodeSchema = basePOMNodeSchema.extend({
|
|
|
567
560
|
bold: z.boolean().optional(),
|
|
568
561
|
});
|
|
569
562
|
// ===== Flow Node =====
|
|
570
|
-
|
|
563
|
+
const flowDirectionSchema = z.enum(["horizontal", "vertical"]);
|
|
571
564
|
const flowNodeShapeSchema = z.enum([
|
|
572
565
|
"flowChartTerminator",
|
|
573
566
|
"flowChartProcess",
|
|
@@ -582,7 +575,7 @@ const flowNodeShapeSchema = z.enum([
|
|
|
582
575
|
"flowChartDelay",
|
|
583
576
|
"flowChartMagneticDisk",
|
|
584
577
|
]);
|
|
585
|
-
|
|
578
|
+
const flowNodeItemSchema = z.object({
|
|
586
579
|
id: z.string(),
|
|
587
580
|
shape: flowNodeShapeSchema,
|
|
588
581
|
text: z.string(),
|
|
@@ -591,13 +584,13 @@ export const flowNodeItemSchema = z.object({
|
|
|
591
584
|
width: z.number().optional(),
|
|
592
585
|
height: z.number().optional(),
|
|
593
586
|
});
|
|
594
|
-
|
|
587
|
+
const flowConnectionSchema = z.object({
|
|
595
588
|
from: z.string(),
|
|
596
589
|
to: z.string(),
|
|
597
590
|
label: z.string().optional(),
|
|
598
591
|
color: z.string().optional(),
|
|
599
592
|
});
|
|
600
|
-
|
|
593
|
+
const flowConnectorStyleSchema = z.object({
|
|
601
594
|
color: z.string().optional(),
|
|
602
595
|
width: z.number().optional(),
|
|
603
596
|
arrowType: z
|
|
@@ -627,7 +620,7 @@ const lineArrowOptionsSchema = z.object({
|
|
|
627
620
|
type: lineArrowTypeSchema.optional(),
|
|
628
621
|
});
|
|
629
622
|
export const lineArrowSchema = z.union([z.boolean(), lineArrowOptionsSchema]);
|
|
630
|
-
const lineNodeSchema = basePOMNodeSchema.extend({
|
|
623
|
+
export const lineNodeSchema = basePOMNodeSchema.extend({
|
|
631
624
|
type: z.literal("line"),
|
|
632
625
|
x1: z.number(),
|
|
633
626
|
y1: z.number(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hirokisakabe/pom",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.5.1",
|
|
4
4
|
"description": "AI-friendly PowerPoint generation with a Flexbox layout engine.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -63,7 +63,8 @@
|
|
|
63
63
|
"docs:images:docker:update": "docker compose build docs-images && docker compose run --rm docs-images",
|
|
64
64
|
"docs:images:vrt": "tsx scripts/docs-images/generateNodeImages.ts --check",
|
|
65
65
|
"docs:images:vrt:docker": "docker compose build docs-images-vrt && docker compose run --rm docs-images-vrt",
|
|
66
|
-
"release": "changeset publish"
|
|
66
|
+
"release": "changeset publish",
|
|
67
|
+
"size": "size-limit"
|
|
67
68
|
},
|
|
68
69
|
"publishConfig": {
|
|
69
70
|
"access": "public"
|
|
@@ -72,6 +73,7 @@
|
|
|
72
73
|
"@changesets/changelog-github": "^0.5.2",
|
|
73
74
|
"@changesets/cli": "^2.29.8",
|
|
74
75
|
"@eslint/js": "^9.39.1",
|
|
76
|
+
"@size-limit/file": "^12.0.1",
|
|
75
77
|
"@types/opentype.js": "^1.3.8",
|
|
76
78
|
"@types/pngjs": "6.0.5",
|
|
77
79
|
"@vitest/coverage-v8": "^4.1.0",
|
|
@@ -84,8 +86,9 @@
|
|
|
84
86
|
"pixelmatch": "7.1.0",
|
|
85
87
|
"pngjs": "7.0.0",
|
|
86
88
|
"prettier": "3.6.2",
|
|
89
|
+
"size-limit": "^12.0.1",
|
|
87
90
|
"tsx": "4.21.0",
|
|
88
|
-
"typescript": "
|
|
91
|
+
"typescript": "6.0.2",
|
|
89
92
|
"typescript-eslint": "^8.47.0",
|
|
90
93
|
"vitest": "^4.1.0"
|
|
91
94
|
},
|