@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.
Files changed (55) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +110 -0
  3. package/dist/cli.d.ts +2 -0
  4. package/dist/cli.js +90 -0
  5. package/dist/content.d.ts +38 -0
  6. package/dist/content.js +64 -0
  7. package/dist/export.d.ts +10 -0
  8. package/dist/export.js +57 -0
  9. package/dist/files.d.ts +15 -0
  10. package/dist/files.js +107 -0
  11. package/dist/git.d.ts +10 -0
  12. package/dist/git.js +68 -0
  13. package/dist/images.d.ts +32 -0
  14. package/dist/images.js +123 -0
  15. package/dist/install.d.ts +27 -0
  16. package/dist/install.js +63 -0
  17. package/dist/model.d.ts +318 -0
  18. package/dist/model.js +99 -0
  19. package/dist/project.d.ts +25 -0
  20. package/dist/project.js +103 -0
  21. package/dist/prompts.d.ts +8 -0
  22. package/dist/prompts.js +72 -0
  23. package/dist/schema-export.d.ts +1 -0
  24. package/dist/schema-export.js +10 -0
  25. package/dist/validate.d.ts +12 -0
  26. package/dist/validate.js +109 -0
  27. package/examples/README.md +14 -0
  28. package/examples/feature-briefs.yaml +89 -0
  29. package/examples/queue-action/README.md +15 -0
  30. package/examples/queue-action/alignment-edit.prompt.md +8 -0
  31. package/examples/queue-action/dark.png +0 -0
  32. package/examples/queue-action/dark.prompt.md +58 -0
  33. package/examples/queue-action/light.png +0 -0
  34. package/examples/queue-action/light.prompt.md +58 -0
  35. package/examples/queue-action/pair-review.md +33 -0
  36. package/examples/queue-action/scene.yaml +41 -0
  37. package/examples/release-notes.en-US.json +56 -0
  38. package/examples/release-notes.ko-KR.json +56 -0
  39. package/kit/references/composition-recipes.md +73 -0
  40. package/kit/references/format.md +24 -0
  41. package/kit/references/theme-pairing.md +53 -0
  42. package/kit/references/visual-language.md +69 -0
  43. package/kit/references/workflow.md +24 -0
  44. package/kit/references/writing.md +27 -0
  45. package/kit/skills/releasekit-draft/SKILL.md +10 -0
  46. package/kit/skills/releasekit-image/SKILL.md +16 -0
  47. package/kit/skills/releasekit-review/SKILL.md +12 -0
  48. package/kit/skills/releasekit-translate/SKILL.md +10 -0
  49. package/package.json +52 -0
  50. package/schemas/bundle.schema.json +178 -0
  51. package/schemas/config.schema.json +179 -0
  52. package/schemas/evidence.schema.json +96 -0
  53. package/schemas/note.schema.json +26 -0
  54. package/schemas/release.schema.json +275 -0
  55. package/schemas/visual.schema.json +174 -0
@@ -0,0 +1,178 @@
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
+ "currentVersion": {
10
+ "type": "string",
11
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._+-]{0,95}$"
12
+ },
13
+ "locale": {
14
+ "type": "string",
15
+ "pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$"
16
+ },
17
+ "releases": {
18
+ "type": "array",
19
+ "items": {
20
+ "type": "object",
21
+ "properties": {
22
+ "version": {
23
+ "type": "string",
24
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._+-]{0,95}$"
25
+ },
26
+ "releasedAt": {
27
+ "type": "string",
28
+ "format": "date",
29
+ "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])))$"
30
+ },
31
+ "previous": {
32
+ "anyOf": [
33
+ {
34
+ "type": "string",
35
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._+-]{0,95}$"
36
+ },
37
+ {
38
+ "type": "null"
39
+ }
40
+ ]
41
+ },
42
+ "notes": {
43
+ "type": "array",
44
+ "items": {
45
+ "type": "object",
46
+ "properties": {
47
+ "id": {
48
+ "type": "string",
49
+ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._+-]{0,95}$"
50
+ },
51
+ "category": {
52
+ "type": "string",
53
+ "enum": [
54
+ "feature",
55
+ "improvement",
56
+ "fix",
57
+ "security"
58
+ ]
59
+ },
60
+ "title": {
61
+ "type": "string"
62
+ },
63
+ "bodyMarkdown": {
64
+ "type": "string"
65
+ },
66
+ "image": {
67
+ "anyOf": [
68
+ {
69
+ "type": "object",
70
+ "properties": {
71
+ "alt": {
72
+ "type": "string"
73
+ },
74
+ "fallbackTheme": {
75
+ "type": "string",
76
+ "enum": [
77
+ "dark",
78
+ "light"
79
+ ]
80
+ },
81
+ "variants": {
82
+ "type": "object",
83
+ "properties": {
84
+ "dark": {
85
+ "type": "object",
86
+ "properties": {
87
+ "src": {
88
+ "type": "string"
89
+ },
90
+ "width": {
91
+ "type": "integer",
92
+ "exclusiveMinimum": 0,
93
+ "maximum": 9007199254740991
94
+ },
95
+ "height": {
96
+ "type": "integer",
97
+ "exclusiveMinimum": 0,
98
+ "maximum": 9007199254740991
99
+ }
100
+ },
101
+ "required": [
102
+ "src",
103
+ "width",
104
+ "height"
105
+ ],
106
+ "additionalProperties": false
107
+ },
108
+ "light": {
109
+ "type": "object",
110
+ "properties": {
111
+ "src": {
112
+ "type": "string"
113
+ },
114
+ "width": {
115
+ "type": "integer",
116
+ "exclusiveMinimum": 0,
117
+ "maximum": 9007199254740991
118
+ },
119
+ "height": {
120
+ "type": "integer",
121
+ "exclusiveMinimum": 0,
122
+ "maximum": 9007199254740991
123
+ }
124
+ },
125
+ "required": [
126
+ "src",
127
+ "width",
128
+ "height"
129
+ ],
130
+ "additionalProperties": false
131
+ }
132
+ },
133
+ "additionalProperties": false
134
+ }
135
+ },
136
+ "required": [
137
+ "alt",
138
+ "fallbackTheme",
139
+ "variants"
140
+ ],
141
+ "additionalProperties": false
142
+ },
143
+ {
144
+ "type": "null"
145
+ }
146
+ ]
147
+ }
148
+ },
149
+ "required": [
150
+ "id",
151
+ "category",
152
+ "title",
153
+ "bodyMarkdown",
154
+ "image"
155
+ ],
156
+ "additionalProperties": false
157
+ }
158
+ }
159
+ },
160
+ "required": [
161
+ "version",
162
+ "releasedAt",
163
+ "previous",
164
+ "notes"
165
+ ],
166
+ "additionalProperties": false
167
+ }
168
+ }
169
+ },
170
+ "required": [
171
+ "schemaVersion",
172
+ "currentVersion",
173
+ "locale",
174
+ "releases"
175
+ ],
176
+ "additionalProperties": false,
177
+ "$id": "urn:releasekit:bundle:1"
178
+ }
@@ -0,0 +1,179 @@
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
+ "product": {
10
+ "type": "string",
11
+ "minLength": 1
12
+ },
13
+ "sourceLocale": {
14
+ "type": "string",
15
+ "pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$"
16
+ },
17
+ "locales": {
18
+ "minItems": 1,
19
+ "type": "array",
20
+ "items": {
21
+ "type": "string",
22
+ "pattern": "^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$"
23
+ }
24
+ },
25
+ "history": {
26
+ "type": "object",
27
+ "properties": {
28
+ "limit": {
29
+ "type": "integer",
30
+ "minimum": 1,
31
+ "maximum": 100
32
+ }
33
+ },
34
+ "required": [
35
+ "limit"
36
+ ],
37
+ "additionalProperties": false
38
+ },
39
+ "visuals": {
40
+ "type": "object",
41
+ "properties": {
42
+ "themes": {
43
+ "type": "string",
44
+ "enum": [
45
+ "both",
46
+ "dark",
47
+ "light"
48
+ ]
49
+ },
50
+ "preset": {
51
+ "type": "string",
52
+ "const": "quiet-product"
53
+ },
54
+ "width": {
55
+ "type": "integer",
56
+ "minimum": 256,
57
+ "maximum": 4096
58
+ },
59
+ "height": {
60
+ "type": "integer",
61
+ "minimum": 256,
62
+ "maximum": 4096
63
+ },
64
+ "accent": {
65
+ "type": "string",
66
+ "pattern": "^#[a-fA-F0-9]{6}$"
67
+ },
68
+ "dark": {
69
+ "type": "object",
70
+ "properties": {
71
+ "canvas": {
72
+ "type": "string",
73
+ "pattern": "^#[a-fA-F0-9]{6}$"
74
+ },
75
+ "surface": {
76
+ "type": "string",
77
+ "pattern": "^#[a-fA-F0-9]{6}$"
78
+ },
79
+ "raised": {
80
+ "type": "string",
81
+ "pattern": "^#[a-fA-F0-9]{6}$"
82
+ },
83
+ "primary": {
84
+ "type": "string",
85
+ "pattern": "^#[a-fA-F0-9]{6}$"
86
+ },
87
+ "secondary": {
88
+ "type": "string",
89
+ "pattern": "^#[a-fA-F0-9]{6}$"
90
+ },
91
+ "divider": {
92
+ "type": "string",
93
+ "pattern": "^#[a-fA-F0-9]{6}$"
94
+ }
95
+ },
96
+ "required": [
97
+ "canvas",
98
+ "surface",
99
+ "raised",
100
+ "primary",
101
+ "secondary",
102
+ "divider"
103
+ ],
104
+ "additionalProperties": false
105
+ },
106
+ "light": {
107
+ "type": "object",
108
+ "properties": {
109
+ "canvas": {
110
+ "type": "string",
111
+ "pattern": "^#[a-fA-F0-9]{6}$"
112
+ },
113
+ "surface": {
114
+ "type": "string",
115
+ "pattern": "^#[a-fA-F0-9]{6}$"
116
+ },
117
+ "raised": {
118
+ "type": "string",
119
+ "pattern": "^#[a-fA-F0-9]{6}$"
120
+ },
121
+ "primary": {
122
+ "type": "string",
123
+ "pattern": "^#[a-fA-F0-9]{6}$"
124
+ },
125
+ "secondary": {
126
+ "type": "string",
127
+ "pattern": "^#[a-fA-F0-9]{6}$"
128
+ },
129
+ "divider": {
130
+ "type": "string",
131
+ "pattern": "^#[a-fA-F0-9]{6}$"
132
+ }
133
+ },
134
+ "required": [
135
+ "canvas",
136
+ "surface",
137
+ "raised",
138
+ "primary",
139
+ "secondary",
140
+ "divider"
141
+ ],
142
+ "additionalProperties": false
143
+ }
144
+ },
145
+ "required": [
146
+ "themes",
147
+ "preset",
148
+ "width",
149
+ "height",
150
+ "accent",
151
+ "dark",
152
+ "light"
153
+ ],
154
+ "additionalProperties": false
155
+ },
156
+ "tools": {
157
+ "type": "array",
158
+ "items": {
159
+ "type": "string",
160
+ "enum": [
161
+ "codex",
162
+ "claude",
163
+ "cursor"
164
+ ]
165
+ }
166
+ }
167
+ },
168
+ "required": [
169
+ "schemaVersion",
170
+ "product",
171
+ "sourceLocale",
172
+ "locales",
173
+ "history",
174
+ "visuals",
175
+ "tools"
176
+ ],
177
+ "additionalProperties": false,
178
+ "$id": "urn:releasekit:config:1"
179
+ }
@@ -0,0 +1,96 @@
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
+ "source": {
10
+ "type": "object",
11
+ "properties": {
12
+ "fromRef": {
13
+ "type": [
14
+ "string",
15
+ "null"
16
+ ]
17
+ },
18
+ "fromSha": {
19
+ "anyOf": [
20
+ {
21
+ "type": "string",
22
+ "pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
23
+ },
24
+ {
25
+ "type": "null"
26
+ }
27
+ ]
28
+ },
29
+ "toRef": {
30
+ "type": "string"
31
+ },
32
+ "toSha": {
33
+ "type": "string",
34
+ "pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
35
+ }
36
+ },
37
+ "required": [
38
+ "fromRef",
39
+ "fromSha",
40
+ "toRef",
41
+ "toSha"
42
+ ],
43
+ "additionalProperties": false
44
+ },
45
+ "commits": {
46
+ "type": "array",
47
+ "items": {
48
+ "type": "object",
49
+ "properties": {
50
+ "sha": {
51
+ "type": "string",
52
+ "pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
53
+ },
54
+ "subject": {
55
+ "type": "string"
56
+ }
57
+ },
58
+ "required": [
59
+ "sha",
60
+ "subject"
61
+ ],
62
+ "additionalProperties": false
63
+ }
64
+ },
65
+ "files": {
66
+ "type": "array",
67
+ "items": {
68
+ "type": "object",
69
+ "properties": {
70
+ "status": {
71
+ "type": "string"
72
+ },
73
+ "path": {
74
+ "type": "string"
75
+ },
76
+ "oldPath": {
77
+ "type": "string"
78
+ }
79
+ },
80
+ "required": [
81
+ "status",
82
+ "path"
83
+ ],
84
+ "additionalProperties": false
85
+ }
86
+ }
87
+ },
88
+ "required": [
89
+ "schemaVersion",
90
+ "source",
91
+ "commits",
92
+ "files"
93
+ ],
94
+ "additionalProperties": false,
95
+ "$id": "urn:releasekit:evidence:1"
96
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "title": {
6
+ "type": "string",
7
+ "minLength": 1
8
+ },
9
+ "alt": {
10
+ "type": "string"
11
+ },
12
+ "sourceHash": {
13
+ "type": [
14
+ "string",
15
+ "null"
16
+ ]
17
+ }
18
+ },
19
+ "required": [
20
+ "title",
21
+ "alt",
22
+ "sourceHash"
23
+ ],
24
+ "additionalProperties": false,
25
+ "$id": "urn:releasekit:note:1"
26
+ }