@connectci/xdmod-charts 0.0.0-stage → 0.2.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 (76) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +6 -2
  3. package/dist/caption.d.ts +68 -0
  4. package/dist/caption.js +118 -0
  5. package/dist/csv.d.ts +22 -0
  6. package/dist/csv.js +95 -0
  7. package/dist/fixtures.d.ts +58 -0
  8. package/dist/fixtures.js +1 -0
  9. package/dist/format.d.ts +6 -0
  10. package/dist/format.js +39 -0
  11. package/dist/generated/palette.d.ts +4 -0
  12. package/dist/generated/palette.js +23 -0
  13. package/dist/generated/statistics.d.ts +6 -0
  14. package/dist/generated/statistics.js +217 -0
  15. package/dist/index.d.ts +13 -0
  16. package/dist/index.js +8 -0
  17. package/dist/measure.d.ts +7 -0
  18. package/dist/measure.js +14 -0
  19. package/dist/palette.d.ts +11 -0
  20. package/dist/palette.js +19 -0
  21. package/dist/parse.d.ts +3 -0
  22. package/dist/parse.js +82 -0
  23. package/dist/payload.d.ts +81 -0
  24. package/dist/payload.js +1 -0
  25. package/dist/view.d.ts +58 -0
  26. package/dist/view.js +243 -0
  27. package/fixtures/README.md +13 -0
  28. package/fixtures/aggregate-empty.json +85 -0
  29. package/fixtures/aggregate-fills-empty-buckets.json +118 -0
  30. package/fixtures/aggregate-has-more-others-count.json +103 -0
  31. package/fixtures/aggregate-incomplete-with-probe-day.json +108 -0
  32. package/fixtures/aggregate-jobs-by-resource.json +66 -0
  33. package/fixtures/aggregate-marks-resources-that-stop.json +125 -0
  34. package/fixtures/aggregate-no-fill-for-average.json +115 -0
  35. package/fixtures/aggregate-no-fill-incomplete-buckets.json +110 -0
  36. package/fixtures/aggregate-no-fill-when-bucket-filtered.json +114 -0
  37. package/fixtures/aggregate-no-fill-when-more.json +110 -0
  38. package/fixtures/aggregate-no-fill-with-offset.json +110 -0
  39. package/fixtures/aggregate-nominal-not-reordered.json +107 -0
  40. package/fixtures/aggregate-offset-page.json +103 -0
  41. package/fixtures/aggregate-ordered-bucket-order.json +116 -0
  42. package/fixtures/aggregate-probe-reaches-end.json +108 -0
  43. package/fixtures/aggregate-unknown-bucket-last.json +115 -0
  44. package/fixtures/aggregate-unordered.json +103 -0
  45. package/fixtures/average-leaves-gaps.json +125 -0
  46. package/fixtures/calendar-december-into-january.json +113 -0
  47. package/fixtures/calendar-range-ends-at-month-end.json +108 -0
  48. package/fixtures/cpu-hours-by-resource-incomplete.json +125 -0
  49. package/fixtures/early-end-average-by-resource-not-filled.json +147 -0
  50. package/fixtures/early-end-average-other-dimension.json +144 -0
  51. package/fixtures/early-end-daily-by-queue.json +180 -0
  52. package/fixtures/early-end-daily-series-stops.json +139 -0
  53. package/fixtures/early-end-day-inside-last-period.json +147 -0
  54. package/fixtures/early-end-fill-stops-at-last-day.json +145 -0
  55. package/fixtures/early-end-fills-to-resource-last-day.json +149 -0
  56. package/fixtures/early-end-other-dimension-never-filled.json +145 -0
  57. package/fixtures/early-end-probe-window-too-short.json +144 -0
  58. package/fixtures/early-end-resource-retired.json +144 -0
  59. package/fixtures/early-end-several-resources.json +205 -0
  60. package/fixtures/early-end-without-probe.json +140 -0
  61. package/fixtures/label-stripped-from-description.json +95 -0
  62. package/fixtures/no-series-values.json +86 -0
  63. package/fixtures/partial-last-day.json +119 -0
  64. package/fixtures/partial-last-month.json +122 -0
  65. package/fixtures/probe-day-after-range.json +113 -0
  66. package/fixtures/probe-day-inside-last-month.json +113 -0
  67. package/fixtures/probe-day-last-day-of-period.json +113 -0
  68. package/fixtures/rank-prefixes-on-series.json +130 -0
  69. package/fixtures/series-ended-before-probe-day.json +188 -0
  70. package/fixtures/timeseries-complete-last-period.json +113 -0
  71. package/fixtures/timeseries-month-gaps.json +121 -0
  72. package/package.json +28 -4
  73. package/rules/README.md +29 -0
  74. package/rules/palette.json +4 -0
  75. package/rules/statistics.json +217 -0
  76. package/schema/chart-payload.v1.json +320 -0
@@ -0,0 +1,113 @@
1
+ {
2
+ "description": "A latest data day on the last day of the period: day precision, not partial.",
3
+ "producers": [
4
+ "ts",
5
+ "py"
6
+ ],
7
+ "input": {
8
+ "request": {
9
+ "realm": "Jobs",
10
+ "statistic": "job_count",
11
+ "group_by": "resource",
12
+ "dataset_type": "timeseries",
13
+ "start_date": "2026-08-01",
14
+ "end_date": "2026-10-31",
15
+ "filters_notes": [],
16
+ "dimension_filtered": false,
17
+ "offset": 0,
18
+ "limit": 10,
19
+ "unit": "Month"
20
+ },
21
+ "label": "Number of Jobs Ended",
22
+ "description": "Jobs run",
23
+ "today": "2026-11-09",
24
+ "others_count": 0,
25
+ "has_more": false,
26
+ "latest_data_day": "2026-10-31",
27
+ "resource_days": null,
28
+ "link": "https://xdmod.example/chart",
29
+ "time_zone": "America/New_York",
30
+ "instance": {
31
+ "name": "ACCESS XDMoD",
32
+ "url": "https://xdmod.access-ci.org"
33
+ },
34
+ "series": [
35
+ {
36
+ "name": "Anvil",
37
+ "values": {
38
+ "2026-08-01": 12,
39
+ "2026-09-01": 11,
40
+ "2026-10-01": 0.05
41
+ }
42
+ }
43
+ ]
44
+ },
45
+ "expected": {
46
+ "version": 1,
47
+ "realm": "Jobs",
48
+ "statistic": "job_count",
49
+ "group_by": "resource",
50
+ "dataset_type": "timeseries",
51
+ "unit": "Month",
52
+ "requested": {
53
+ "start": "2026-08-01",
54
+ "end": "2026-10-31"
55
+ },
56
+ "counted": {
57
+ "start": "2026-08-01",
58
+ "end": "2026-10-31"
59
+ },
60
+ "last_period_incomplete": false,
61
+ "measure": {
62
+ "label": "Number of Jobs Ended",
63
+ "description": "Jobs run",
64
+ "kind": "total",
65
+ "missing": "zero",
66
+ "unit": "jobs"
67
+ },
68
+ "dimension": {
69
+ "name": "resource",
70
+ "ordered": false
71
+ },
72
+ "filters": {
73
+ "notes": []
74
+ },
75
+ "time_basis": {
76
+ "zone": "America/New_York"
77
+ },
78
+ "instance": {
79
+ "name": "ACCESS XDMoD",
80
+ "url": "https://xdmod.access-ci.org"
81
+ },
82
+ "warnings": [],
83
+ "offset": 0,
84
+ "data_through": "2026-10-31",
85
+ "data_through_precision": "day",
86
+ "others_count": 0,
87
+ "last_data_period_partial": false,
88
+ "has_more": false,
89
+ "ranked_by": "value",
90
+ "link": "https://xdmod.example/chart",
91
+ "source": "XDMoD",
92
+ "retrieved": "2026-11-09",
93
+ "series": [
94
+ {
95
+ "name": "Anvil",
96
+ "points": [
97
+ {
98
+ "start": "2026-08-01",
99
+ "value": 12
100
+ },
101
+ {
102
+ "start": "2026-09-01",
103
+ "value": 11
104
+ },
105
+ {
106
+ "start": "2026-10-01",
107
+ "value": 0.05
108
+ }
109
+ ]
110
+ }
111
+ ]
112
+ }
113
+ }
@@ -0,0 +1,130 @@
1
+ {
2
+ "description": "Rank prefixes are stripped from series names; a series that stops before the chart's last period is marked.",
3
+ "producers": [
4
+ "ts",
5
+ "py"
6
+ ],
7
+ "input": {
8
+ "request": {
9
+ "realm": "Jobs",
10
+ "statistic": "job_count",
11
+ "group_by": "resource",
12
+ "dataset_type": "timeseries",
13
+ "start_date": "2026-08-01",
14
+ "end_date": "2026-09-30",
15
+ "filters_notes": [],
16
+ "dimension_filtered": false,
17
+ "offset": 0,
18
+ "limit": 10,
19
+ "unit": "Month"
20
+ },
21
+ "label": "Number of Jobs Ended",
22
+ "description": "Jobs run",
23
+ "today": "2026-11-09",
24
+ "others_count": 0,
25
+ "has_more": false,
26
+ "latest_data_day": null,
27
+ "resource_days": null,
28
+ "link": "https://xdmod.example/chart",
29
+ "time_zone": "America/New_York",
30
+ "instance": {
31
+ "name": "ACCESS XDMoD",
32
+ "url": "https://xdmod.access-ci.org"
33
+ },
34
+ "series": [
35
+ {
36
+ "name": "1. NCSA DELTA GPU",
37
+ "values": {
38
+ "2026-08-01": 3
39
+ }
40
+ },
41
+ {
42
+ "name": "2. NCSA DELTA CPU",
43
+ "values": {
44
+ "2026-08-01": 1,
45
+ "2026-09-01": 2
46
+ }
47
+ }
48
+ ]
49
+ },
50
+ "expected": {
51
+ "version": 1,
52
+ "realm": "Jobs",
53
+ "statistic": "job_count",
54
+ "group_by": "resource",
55
+ "dataset_type": "timeseries",
56
+ "unit": "Month",
57
+ "requested": {
58
+ "start": "2026-08-01",
59
+ "end": "2026-09-30"
60
+ },
61
+ "counted": {
62
+ "start": "2026-08-01",
63
+ "end": "2026-09-30"
64
+ },
65
+ "last_period_incomplete": false,
66
+ "measure": {
67
+ "label": "Number of Jobs Ended",
68
+ "description": "Jobs run",
69
+ "kind": "total",
70
+ "missing": "zero",
71
+ "unit": "jobs"
72
+ },
73
+ "dimension": {
74
+ "name": "resource",
75
+ "ordered": false
76
+ },
77
+ "filters": {
78
+ "notes": []
79
+ },
80
+ "time_basis": {
81
+ "zone": "America/New_York"
82
+ },
83
+ "instance": {
84
+ "name": "ACCESS XDMoD",
85
+ "url": "https://xdmod.access-ci.org"
86
+ },
87
+ "warnings": [],
88
+ "offset": 0,
89
+ "data_through": "2026-09-01",
90
+ "data_through_precision": "period",
91
+ "others_count": 0,
92
+ "last_data_period_partial": false,
93
+ "has_more": false,
94
+ "ranked_by": "value",
95
+ "link": "https://xdmod.example/chart",
96
+ "source": "XDMoD",
97
+ "retrieved": "2026-11-09",
98
+ "series": [
99
+ {
100
+ "name": "NCSA DELTA GPU",
101
+ "points": [
102
+ {
103
+ "start": "2026-08-01",
104
+ "value": 3
105
+ },
106
+ {
107
+ "start": "2026-09-01",
108
+ "value": null
109
+ }
110
+ ],
111
+ "data_through": "2026-08-01",
112
+ "data_through_precision": "period",
113
+ "data_through_source": "series"
114
+ },
115
+ {
116
+ "name": "NCSA DELTA CPU",
117
+ "points": [
118
+ {
119
+ "start": "2026-08-01",
120
+ "value": 1
121
+ },
122
+ {
123
+ "start": "2026-09-01",
124
+ "value": 2
125
+ }
126
+ ]
127
+ }
128
+ ]
129
+ }
130
+ }
@@ -0,0 +1,188 @@
1
+ {
2
+ "description": "A series that ended earlier wins over a later realm-wide day: data_through stays the series' day.",
3
+ "producers": [
4
+ "ts",
5
+ "py"
6
+ ],
7
+ "input": {
8
+ "request": {
9
+ "realm": "Jobs",
10
+ "statistic": "job_count",
11
+ "group_by": "resource",
12
+ "dataset_type": "timeseries",
13
+ "start_date": "2026-10-18",
14
+ "end_date": "2026-11-08",
15
+ "filters_notes": [],
16
+ "dimension_filtered": false,
17
+ "offset": 0,
18
+ "limit": 10,
19
+ "unit": "Day"
20
+ },
21
+ "label": "Number of Jobs Ended",
22
+ "description": "Jobs run",
23
+ "today": "2026-11-09",
24
+ "others_count": 0,
25
+ "has_more": false,
26
+ "latest_data_day": "2026-11-08",
27
+ "resource_days": null,
28
+ "link": "https://xdmod.example/chart",
29
+ "time_zone": "America/New_York",
30
+ "instance": {
31
+ "name": "ACCESS XDMoD",
32
+ "url": "https://xdmod.access-ci.org"
33
+ },
34
+ "series": [
35
+ {
36
+ "name": "Anvil",
37
+ "values": {
38
+ "2026-10-18": 4,
39
+ "2026-10-19": 5
40
+ }
41
+ }
42
+ ]
43
+ },
44
+ "expected": {
45
+ "version": 1,
46
+ "realm": "Jobs",
47
+ "statistic": "job_count",
48
+ "group_by": "resource",
49
+ "dataset_type": "timeseries",
50
+ "unit": "Day",
51
+ "requested": {
52
+ "start": "2026-10-18",
53
+ "end": "2026-11-08"
54
+ },
55
+ "counted": {
56
+ "start": "2026-10-18",
57
+ "end": "2026-11-08"
58
+ },
59
+ "last_period_incomplete": false,
60
+ "measure": {
61
+ "label": "Number of Jobs Ended",
62
+ "description": "Jobs run",
63
+ "kind": "total",
64
+ "missing": "zero",
65
+ "unit": "jobs"
66
+ },
67
+ "dimension": {
68
+ "name": "resource",
69
+ "ordered": false
70
+ },
71
+ "filters": {
72
+ "notes": []
73
+ },
74
+ "time_basis": {
75
+ "zone": "America/New_York"
76
+ },
77
+ "instance": {
78
+ "name": "ACCESS XDMoD",
79
+ "url": "https://xdmod.access-ci.org"
80
+ },
81
+ "warnings": [],
82
+ "offset": 0,
83
+ "data_through": "2026-10-19",
84
+ "data_through_precision": "day",
85
+ "others_count": 0,
86
+ "last_data_period_partial": true,
87
+ "has_more": false,
88
+ "ranked_by": "value",
89
+ "link": "https://xdmod.example/chart",
90
+ "source": "XDMoD",
91
+ "retrieved": "2026-11-09",
92
+ "series": [
93
+ {
94
+ "name": "Anvil",
95
+ "points": [
96
+ {
97
+ "start": "2026-10-18",
98
+ "value": 4
99
+ },
100
+ {
101
+ "start": "2026-10-19",
102
+ "value": 5
103
+ },
104
+ {
105
+ "start": "2026-10-20",
106
+ "value": null
107
+ },
108
+ {
109
+ "start": "2026-10-21",
110
+ "value": null
111
+ },
112
+ {
113
+ "start": "2026-10-22",
114
+ "value": null
115
+ },
116
+ {
117
+ "start": "2026-10-23",
118
+ "value": null
119
+ },
120
+ {
121
+ "start": "2026-10-24",
122
+ "value": null
123
+ },
124
+ {
125
+ "start": "2026-10-25",
126
+ "value": null
127
+ },
128
+ {
129
+ "start": "2026-10-26",
130
+ "value": null
131
+ },
132
+ {
133
+ "start": "2026-10-27",
134
+ "value": null
135
+ },
136
+ {
137
+ "start": "2026-10-28",
138
+ "value": null
139
+ },
140
+ {
141
+ "start": "2026-10-29",
142
+ "value": null
143
+ },
144
+ {
145
+ "start": "2026-10-30",
146
+ "value": null
147
+ },
148
+ {
149
+ "start": "2026-10-31",
150
+ "value": null
151
+ },
152
+ {
153
+ "start": "2026-11-01",
154
+ "value": null
155
+ },
156
+ {
157
+ "start": "2026-11-02",
158
+ "value": null
159
+ },
160
+ {
161
+ "start": "2026-11-03",
162
+ "value": null
163
+ },
164
+ {
165
+ "start": "2026-11-04",
166
+ "value": null
167
+ },
168
+ {
169
+ "start": "2026-11-05",
170
+ "value": null
171
+ },
172
+ {
173
+ "start": "2026-11-06",
174
+ "value": null
175
+ },
176
+ {
177
+ "start": "2026-11-07",
178
+ "value": null
179
+ },
180
+ {
181
+ "start": "2026-11-08",
182
+ "value": null
183
+ }
184
+ ]
185
+ }
186
+ ]
187
+ }
188
+ }
@@ -0,0 +1,113 @@
1
+ {
2
+ "description": "Counted range ends before today: last_period_incomplete is false and there is no Jobs warning.",
3
+ "producers": [
4
+ "ts",
5
+ "py"
6
+ ],
7
+ "input": {
8
+ "request": {
9
+ "realm": "Jobs",
10
+ "statistic": "job_count",
11
+ "group_by": "resource",
12
+ "dataset_type": "timeseries",
13
+ "start_date": "2026-08-01",
14
+ "end_date": "2026-10-31",
15
+ "filters_notes": [],
16
+ "dimension_filtered": false,
17
+ "offset": 0,
18
+ "limit": 10,
19
+ "unit": "Month"
20
+ },
21
+ "label": "Number of Jobs Ended",
22
+ "description": "Jobs run",
23
+ "today": "2026-11-09",
24
+ "others_count": 0,
25
+ "has_more": false,
26
+ "latest_data_day": null,
27
+ "resource_days": null,
28
+ "link": "https://xdmod.example/chart",
29
+ "time_zone": "America/New_York",
30
+ "instance": {
31
+ "name": "ACCESS XDMoD",
32
+ "url": "https://xdmod.access-ci.org"
33
+ },
34
+ "series": [
35
+ {
36
+ "name": "Anvil",
37
+ "values": {
38
+ "2026-08-01": 1,
39
+ "2026-09-01": 2,
40
+ "2026-10-01": 3
41
+ }
42
+ }
43
+ ]
44
+ },
45
+ "expected": {
46
+ "version": 1,
47
+ "realm": "Jobs",
48
+ "statistic": "job_count",
49
+ "group_by": "resource",
50
+ "dataset_type": "timeseries",
51
+ "unit": "Month",
52
+ "requested": {
53
+ "start": "2026-08-01",
54
+ "end": "2026-10-31"
55
+ },
56
+ "counted": {
57
+ "start": "2026-08-01",
58
+ "end": "2026-10-31"
59
+ },
60
+ "last_period_incomplete": false,
61
+ "measure": {
62
+ "label": "Number of Jobs Ended",
63
+ "description": "Jobs run",
64
+ "kind": "total",
65
+ "missing": "zero",
66
+ "unit": "jobs"
67
+ },
68
+ "dimension": {
69
+ "name": "resource",
70
+ "ordered": false
71
+ },
72
+ "filters": {
73
+ "notes": []
74
+ },
75
+ "time_basis": {
76
+ "zone": "America/New_York"
77
+ },
78
+ "instance": {
79
+ "name": "ACCESS XDMoD",
80
+ "url": "https://xdmod.access-ci.org"
81
+ },
82
+ "warnings": [],
83
+ "offset": 0,
84
+ "data_through": "2026-10-01",
85
+ "data_through_precision": "period",
86
+ "others_count": 0,
87
+ "last_data_period_partial": false,
88
+ "has_more": false,
89
+ "ranked_by": "value",
90
+ "link": "https://xdmod.example/chart",
91
+ "source": "XDMoD",
92
+ "retrieved": "2026-11-09",
93
+ "series": [
94
+ {
95
+ "name": "Anvil",
96
+ "points": [
97
+ {
98
+ "start": "2026-08-01",
99
+ "value": 1
100
+ },
101
+ {
102
+ "start": "2026-09-01",
103
+ "value": 2
104
+ },
105
+ {
106
+ "start": "2026-10-01",
107
+ "value": 3
108
+ }
109
+ ]
110
+ }
111
+ ]
112
+ }
113
+ }
@@ -0,0 +1,121 @@
1
+ {
2
+ "description": "Timeseries by month: empty periods are null, a gap-connector trace is dropped, the last period is incomplete.",
3
+ "producers": [
4
+ "ts",
5
+ "py"
6
+ ],
7
+ "input": {
8
+ "request": {
9
+ "realm": "Jobs",
10
+ "statistic": "job_count",
11
+ "group_by": "resource",
12
+ "dataset_type": "timeseries",
13
+ "start_date": "2026-08-01",
14
+ "end_date": "2026-11-08",
15
+ "filters_notes": [],
16
+ "dimension_filtered": false,
17
+ "offset": 0,
18
+ "limit": 10,
19
+ "unit": "Month"
20
+ },
21
+ "label": "Number of Jobs Ended",
22
+ "description": "Jobs run",
23
+ "today": "2026-11-09",
24
+ "others_count": 0,
25
+ "has_more": false,
26
+ "latest_data_day": null,
27
+ "resource_days": null,
28
+ "link": "https://xdmod.example/chart",
29
+ "time_zone": "America/New_York",
30
+ "instance": {
31
+ "name": "ACCESS XDMoD",
32
+ "url": "https://xdmod.access-ci.org"
33
+ },
34
+ "series": [
35
+ {
36
+ "name": "Anvil",
37
+ "values": {
38
+ "2026-09-01": 5,
39
+ "2026-11-01": 7
40
+ }
41
+ }
42
+ ]
43
+ },
44
+ "expected": {
45
+ "version": 1,
46
+ "realm": "Jobs",
47
+ "statistic": "job_count",
48
+ "group_by": "resource",
49
+ "dataset_type": "timeseries",
50
+ "unit": "Month",
51
+ "requested": {
52
+ "start": "2026-08-01",
53
+ "end": "2026-11-08"
54
+ },
55
+ "counted": {
56
+ "start": "2026-08-01",
57
+ "end": "2026-11-30"
58
+ },
59
+ "last_period_incomplete": true,
60
+ "measure": {
61
+ "label": "Number of Jobs Ended",
62
+ "description": "Jobs run",
63
+ "kind": "total",
64
+ "missing": "zero",
65
+ "unit": "jobs"
66
+ },
67
+ "dimension": {
68
+ "name": "resource",
69
+ "ordered": false
70
+ },
71
+ "filters": {
72
+ "notes": []
73
+ },
74
+ "time_basis": {
75
+ "zone": "America/New_York"
76
+ },
77
+ "instance": {
78
+ "name": "ACCESS XDMoD",
79
+ "url": "https://xdmod.access-ci.org"
80
+ },
81
+ "warnings": [
82
+ {
83
+ "code": "waiting-not-counted",
84
+ "text": "Jobs still waiting aren't counted, and the last few days may be incomplete."
85
+ }
86
+ ],
87
+ "offset": 0,
88
+ "data_through": "2026-11-01",
89
+ "data_through_precision": "period",
90
+ "others_count": 0,
91
+ "last_data_period_partial": false,
92
+ "has_more": false,
93
+ "ranked_by": "value",
94
+ "link": "https://xdmod.example/chart",
95
+ "source": "XDMoD",
96
+ "retrieved": "2026-11-09",
97
+ "series": [
98
+ {
99
+ "name": "Anvil",
100
+ "points": [
101
+ {
102
+ "start": "2026-08-01",
103
+ "value": null
104
+ },
105
+ {
106
+ "start": "2026-09-01",
107
+ "value": 5
108
+ },
109
+ {
110
+ "start": "2026-10-01",
111
+ "value": null
112
+ },
113
+ {
114
+ "start": "2026-11-01",
115
+ "value": 7
116
+ }
117
+ ]
118
+ }
119
+ ]
120
+ }
121
+ }
package/package.json CHANGED
@@ -1,6 +1,30 @@
1
1
  {
2
2
  "name": "@connectci/xdmod-charts",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.2.0",
4
+ "description": "Shared XDMoD chart payload contract: schema, types and parser.",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "main": "dist/index.js",
8
+ "types": "dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "default": "./dist/index.js"
13
+ }
14
+ },
15
+ "files": [
16
+ "dist",
17
+ "schema",
18
+ "rules",
19
+ "fixtures"
20
+ ],
21
+ "scripts": {
22
+ "build": "node scripts/gen.mjs && tsc",
23
+ "test": "vitest run"
24
+ },
25
+ "devDependencies": {
26
+ "ajv": "^8.20.0",
27
+ "typescript": "^7.0.2",
28
+ "vitest": "^5.1.2"
29
+ }
30
+ }