@iodes/releasekit 0.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.
- package/LICENSE +21 -0
- package/README.md +110 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +90 -0
- package/dist/content.d.ts +38 -0
- package/dist/content.js +64 -0
- package/dist/export.d.ts +10 -0
- package/dist/export.js +57 -0
- package/dist/files.d.ts +15 -0
- package/dist/files.js +107 -0
- package/dist/git.d.ts +10 -0
- package/dist/git.js +68 -0
- package/dist/images.d.ts +32 -0
- package/dist/images.js +123 -0
- package/dist/install.d.ts +27 -0
- package/dist/install.js +63 -0
- package/dist/model.d.ts +318 -0
- package/dist/model.js +99 -0
- package/dist/project.d.ts +25 -0
- package/dist/project.js +103 -0
- package/dist/prompts.d.ts +8 -0
- package/dist/prompts.js +72 -0
- package/dist/schema-export.d.ts +1 -0
- package/dist/schema-export.js +10 -0
- package/dist/validate.d.ts +12 -0
- package/dist/validate.js +109 -0
- package/examples/README.md +14 -0
- package/examples/feature-briefs.yaml +89 -0
- package/examples/queue-action/README.md +15 -0
- package/examples/queue-action/alignment-edit.prompt.md +8 -0
- package/examples/queue-action/dark.png +0 -0
- package/examples/queue-action/dark.prompt.md +58 -0
- package/examples/queue-action/light.png +0 -0
- package/examples/queue-action/light.prompt.md +58 -0
- package/examples/queue-action/pair-review.md +33 -0
- package/examples/queue-action/scene.yaml +41 -0
- package/examples/release-notes.en-US.json +56 -0
- package/examples/release-notes.ko-KR.json +56 -0
- package/kit/references/composition-recipes.md +73 -0
- package/kit/references/format.md +24 -0
- package/kit/references/theme-pairing.md +53 -0
- package/kit/references/visual-language.md +69 -0
- package/kit/references/workflow.md +24 -0
- package/kit/references/writing.md +27 -0
- package/kit/skills/releasekit-draft/SKILL.md +10 -0
- package/kit/skills/releasekit-image/SKILL.md +16 -0
- package/kit/skills/releasekit-review/SKILL.md +12 -0
- package/kit/skills/releasekit-translate/SKILL.md +10 -0
- package/package.json +52 -0
- package/schemas/bundle.schema.json +178 -0
- package/schemas/config.schema.json +179 -0
- package/schemas/evidence.schema.json +96 -0
- package/schemas/note.schema.json +26 -0
- package/schemas/release.schema.json +275 -0
- package/schemas/visual.schema.json +174 -0
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"schemaVersion": {
|
|
6
|
+
"type": "number",
|
|
7
|
+
"const": 1
|
|
8
|
+
},
|
|
9
|
+
"version": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._+-]{0,95}$"
|
|
12
|
+
},
|
|
13
|
+
"releasedAt": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"format": "date",
|
|
16
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
|
|
17
|
+
},
|
|
18
|
+
"previous": {
|
|
19
|
+
"anyOf": [
|
|
20
|
+
{
|
|
21
|
+
"type": "string",
|
|
22
|
+
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._+-]{0,95}$"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"type": "null"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"status": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"enum": [
|
|
32
|
+
"draft",
|
|
33
|
+
"ready"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"source": {
|
|
37
|
+
"type": "object",
|
|
38
|
+
"properties": {
|
|
39
|
+
"fromRef": {
|
|
40
|
+
"type": [
|
|
41
|
+
"string",
|
|
42
|
+
"null"
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
"fromSha": {
|
|
46
|
+
"anyOf": [
|
|
47
|
+
{
|
|
48
|
+
"type": "string",
|
|
49
|
+
"pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"type": "null"
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
"toRef": {
|
|
57
|
+
"type": "string"
|
|
58
|
+
},
|
|
59
|
+
"toSha": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"required": [
|
|
65
|
+
"fromRef",
|
|
66
|
+
"fromSha",
|
|
67
|
+
"toRef",
|
|
68
|
+
"toSha"
|
|
69
|
+
],
|
|
70
|
+
"additionalProperties": false
|
|
71
|
+
},
|
|
72
|
+
"sourceLocale": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$"
|
|
75
|
+
},
|
|
76
|
+
"locales": {
|
|
77
|
+
"minItems": 1,
|
|
78
|
+
"type": "array",
|
|
79
|
+
"items": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"visuals": {
|
|
85
|
+
"type": "object",
|
|
86
|
+
"properties": {
|
|
87
|
+
"themes": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"enum": [
|
|
90
|
+
"both",
|
|
91
|
+
"dark",
|
|
92
|
+
"light"
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
"preset": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"const": "quiet-product"
|
|
98
|
+
},
|
|
99
|
+
"width": {
|
|
100
|
+
"type": "integer",
|
|
101
|
+
"minimum": 256,
|
|
102
|
+
"maximum": 4096
|
|
103
|
+
},
|
|
104
|
+
"height": {
|
|
105
|
+
"type": "integer",
|
|
106
|
+
"minimum": 256,
|
|
107
|
+
"maximum": 4096
|
|
108
|
+
},
|
|
109
|
+
"accent": {
|
|
110
|
+
"type": "string",
|
|
111
|
+
"pattern": "^#[a-fA-F0-9]{6}$"
|
|
112
|
+
},
|
|
113
|
+
"dark": {
|
|
114
|
+
"type": "object",
|
|
115
|
+
"properties": {
|
|
116
|
+
"canvas": {
|
|
117
|
+
"type": "string",
|
|
118
|
+
"pattern": "^#[a-fA-F0-9]{6}$"
|
|
119
|
+
},
|
|
120
|
+
"surface": {
|
|
121
|
+
"type": "string",
|
|
122
|
+
"pattern": "^#[a-fA-F0-9]{6}$"
|
|
123
|
+
},
|
|
124
|
+
"raised": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"pattern": "^#[a-fA-F0-9]{6}$"
|
|
127
|
+
},
|
|
128
|
+
"primary": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"pattern": "^#[a-fA-F0-9]{6}$"
|
|
131
|
+
},
|
|
132
|
+
"secondary": {
|
|
133
|
+
"type": "string",
|
|
134
|
+
"pattern": "^#[a-fA-F0-9]{6}$"
|
|
135
|
+
},
|
|
136
|
+
"divider": {
|
|
137
|
+
"type": "string",
|
|
138
|
+
"pattern": "^#[a-fA-F0-9]{6}$"
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"required": [
|
|
142
|
+
"canvas",
|
|
143
|
+
"surface",
|
|
144
|
+
"raised",
|
|
145
|
+
"primary",
|
|
146
|
+
"secondary",
|
|
147
|
+
"divider"
|
|
148
|
+
],
|
|
149
|
+
"additionalProperties": false
|
|
150
|
+
},
|
|
151
|
+
"light": {
|
|
152
|
+
"type": "object",
|
|
153
|
+
"properties": {
|
|
154
|
+
"canvas": {
|
|
155
|
+
"type": "string",
|
|
156
|
+
"pattern": "^#[a-fA-F0-9]{6}$"
|
|
157
|
+
},
|
|
158
|
+
"surface": {
|
|
159
|
+
"type": "string",
|
|
160
|
+
"pattern": "^#[a-fA-F0-9]{6}$"
|
|
161
|
+
},
|
|
162
|
+
"raised": {
|
|
163
|
+
"type": "string",
|
|
164
|
+
"pattern": "^#[a-fA-F0-9]{6}$"
|
|
165
|
+
},
|
|
166
|
+
"primary": {
|
|
167
|
+
"type": "string",
|
|
168
|
+
"pattern": "^#[a-fA-F0-9]{6}$"
|
|
169
|
+
},
|
|
170
|
+
"secondary": {
|
|
171
|
+
"type": "string",
|
|
172
|
+
"pattern": "^#[a-fA-F0-9]{6}$"
|
|
173
|
+
},
|
|
174
|
+
"divider": {
|
|
175
|
+
"type": "string",
|
|
176
|
+
"pattern": "^#[a-fA-F0-9]{6}$"
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
"required": [
|
|
180
|
+
"canvas",
|
|
181
|
+
"surface",
|
|
182
|
+
"raised",
|
|
183
|
+
"primary",
|
|
184
|
+
"secondary",
|
|
185
|
+
"divider"
|
|
186
|
+
],
|
|
187
|
+
"additionalProperties": false
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
"required": [
|
|
191
|
+
"themes",
|
|
192
|
+
"preset",
|
|
193
|
+
"width",
|
|
194
|
+
"height",
|
|
195
|
+
"accent",
|
|
196
|
+
"dark",
|
|
197
|
+
"light"
|
|
198
|
+
],
|
|
199
|
+
"additionalProperties": false
|
|
200
|
+
},
|
|
201
|
+
"notes": {
|
|
202
|
+
"type": "array",
|
|
203
|
+
"items": {
|
|
204
|
+
"type": "object",
|
|
205
|
+
"properties": {
|
|
206
|
+
"id": {
|
|
207
|
+
"type": "string",
|
|
208
|
+
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._+-]{0,95}$"
|
|
209
|
+
},
|
|
210
|
+
"category": {
|
|
211
|
+
"type": "string",
|
|
212
|
+
"enum": [
|
|
213
|
+
"feature",
|
|
214
|
+
"improvement",
|
|
215
|
+
"fix",
|
|
216
|
+
"security"
|
|
217
|
+
]
|
|
218
|
+
},
|
|
219
|
+
"commits": {
|
|
220
|
+
"type": "array",
|
|
221
|
+
"items": {
|
|
222
|
+
"type": "string",
|
|
223
|
+
"pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
"paths": {
|
|
227
|
+
"type": "array",
|
|
228
|
+
"items": {
|
|
229
|
+
"type": "string"
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
"image": {
|
|
233
|
+
"type": "boolean"
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
"required": [
|
|
237
|
+
"id",
|
|
238
|
+
"category",
|
|
239
|
+
"commits",
|
|
240
|
+
"paths",
|
|
241
|
+
"image"
|
|
242
|
+
],
|
|
243
|
+
"additionalProperties": false
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
"emptyReason": {
|
|
247
|
+
"type": [
|
|
248
|
+
"string",
|
|
249
|
+
"null"
|
|
250
|
+
]
|
|
251
|
+
},
|
|
252
|
+
"contentHash": {
|
|
253
|
+
"type": [
|
|
254
|
+
"string",
|
|
255
|
+
"null"
|
|
256
|
+
]
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
"required": [
|
|
260
|
+
"schemaVersion",
|
|
261
|
+
"version",
|
|
262
|
+
"releasedAt",
|
|
263
|
+
"previous",
|
|
264
|
+
"status",
|
|
265
|
+
"source",
|
|
266
|
+
"sourceLocale",
|
|
267
|
+
"locales",
|
|
268
|
+
"visuals",
|
|
269
|
+
"notes",
|
|
270
|
+
"emptyReason",
|
|
271
|
+
"contentHash"
|
|
272
|
+
],
|
|
273
|
+
"additionalProperties": false,
|
|
274
|
+
"$id": "urn:releasekit:release:1"
|
|
275
|
+
}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"schemaVersion": {
|
|
6
|
+
"type": "number",
|
|
7
|
+
"const": 1
|
|
8
|
+
},
|
|
9
|
+
"scene": {
|
|
10
|
+
"type": "object",
|
|
11
|
+
"properties": {
|
|
12
|
+
"archetype": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"enum": [
|
|
15
|
+
"icon-tile",
|
|
16
|
+
"symbol-pair",
|
|
17
|
+
"ui-detail",
|
|
18
|
+
"device-view",
|
|
19
|
+
"object-detail",
|
|
20
|
+
"spatial-view",
|
|
21
|
+
"data-view",
|
|
22
|
+
"editorial-scene"
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
"subject": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"minLength": 1
|
|
28
|
+
},
|
|
29
|
+
"message": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"minLength": 1
|
|
32
|
+
},
|
|
33
|
+
"focus": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"minLength": 1
|
|
36
|
+
},
|
|
37
|
+
"composition": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"minLength": 1
|
|
40
|
+
},
|
|
41
|
+
"context": {
|
|
42
|
+
"type": "string"
|
|
43
|
+
},
|
|
44
|
+
"elements": {
|
|
45
|
+
"type": "array",
|
|
46
|
+
"items": {
|
|
47
|
+
"type": "string"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"preserve": {
|
|
51
|
+
"type": "array",
|
|
52
|
+
"items": {
|
|
53
|
+
"type": "string"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"avoid": {
|
|
57
|
+
"type": "array",
|
|
58
|
+
"items": {
|
|
59
|
+
"type": "string"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"text": {
|
|
63
|
+
"type": "array",
|
|
64
|
+
"items": {
|
|
65
|
+
"type": "string"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"references": {
|
|
69
|
+
"type": "array",
|
|
70
|
+
"items": {
|
|
71
|
+
"type": "string"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"required": [
|
|
76
|
+
"archetype",
|
|
77
|
+
"subject",
|
|
78
|
+
"message",
|
|
79
|
+
"focus",
|
|
80
|
+
"composition",
|
|
81
|
+
"context",
|
|
82
|
+
"elements",
|
|
83
|
+
"preserve",
|
|
84
|
+
"avoid",
|
|
85
|
+
"text",
|
|
86
|
+
"references"
|
|
87
|
+
],
|
|
88
|
+
"additionalProperties": false
|
|
89
|
+
},
|
|
90
|
+
"variants": {
|
|
91
|
+
"type": "object",
|
|
92
|
+
"properties": {
|
|
93
|
+
"dark": {
|
|
94
|
+
"type": "object",
|
|
95
|
+
"properties": {
|
|
96
|
+
"file": {
|
|
97
|
+
"type": "string",
|
|
98
|
+
"minLength": 1
|
|
99
|
+
},
|
|
100
|
+
"sha256": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
103
|
+
},
|
|
104
|
+
"sceneHash": {
|
|
105
|
+
"type": "string",
|
|
106
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
107
|
+
},
|
|
108
|
+
"width": {
|
|
109
|
+
"type": "integer",
|
|
110
|
+
"exclusiveMinimum": 0,
|
|
111
|
+
"maximum": 9007199254740991
|
|
112
|
+
},
|
|
113
|
+
"height": {
|
|
114
|
+
"type": "integer",
|
|
115
|
+
"exclusiveMinimum": 0,
|
|
116
|
+
"maximum": 9007199254740991
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"required": [
|
|
120
|
+
"file",
|
|
121
|
+
"sha256",
|
|
122
|
+
"sceneHash",
|
|
123
|
+
"width",
|
|
124
|
+
"height"
|
|
125
|
+
],
|
|
126
|
+
"additionalProperties": false
|
|
127
|
+
},
|
|
128
|
+
"light": {
|
|
129
|
+
"type": "object",
|
|
130
|
+
"properties": {
|
|
131
|
+
"file": {
|
|
132
|
+
"type": "string",
|
|
133
|
+
"minLength": 1
|
|
134
|
+
},
|
|
135
|
+
"sha256": {
|
|
136
|
+
"type": "string",
|
|
137
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
138
|
+
},
|
|
139
|
+
"sceneHash": {
|
|
140
|
+
"type": "string",
|
|
141
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
142
|
+
},
|
|
143
|
+
"width": {
|
|
144
|
+
"type": "integer",
|
|
145
|
+
"exclusiveMinimum": 0,
|
|
146
|
+
"maximum": 9007199254740991
|
|
147
|
+
},
|
|
148
|
+
"height": {
|
|
149
|
+
"type": "integer",
|
|
150
|
+
"exclusiveMinimum": 0,
|
|
151
|
+
"maximum": 9007199254740991
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"required": [
|
|
155
|
+
"file",
|
|
156
|
+
"sha256",
|
|
157
|
+
"sceneHash",
|
|
158
|
+
"width",
|
|
159
|
+
"height"
|
|
160
|
+
],
|
|
161
|
+
"additionalProperties": false
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"additionalProperties": false
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"required": [
|
|
168
|
+
"schemaVersion",
|
|
169
|
+
"scene",
|
|
170
|
+
"variants"
|
|
171
|
+
],
|
|
172
|
+
"additionalProperties": false,
|
|
173
|
+
"$id": "urn:releasekit:visual:1"
|
|
174
|
+
}
|