@hypercli/kit 0.1.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/LICENSE +21 -0
- package/README.md +23 -0
- package/dist/base-command.d.ts +58 -0
- package/dist/base-command.d.ts.map +1 -0
- package/dist/base-command.js +131 -0
- package/dist/base-command.js.map +1 -0
- package/dist/commands/cookbook/info.d.ts +24 -0
- package/dist/commands/cookbook/info.d.ts.map +1 -0
- package/dist/commands/cookbook/info.js +142 -0
- package/dist/commands/cookbook/info.js.map +1 -0
- package/dist/commands/cookbook/list.d.ts +18 -0
- package/dist/commands/cookbook/list.d.ts.map +1 -0
- package/dist/commands/cookbook/list.js +81 -0
- package/dist/commands/cookbook/list.js.map +1 -0
- package/dist/commands/kit/info.d.ts +23 -0
- package/dist/commands/kit/info.d.ts.map +1 -0
- package/dist/commands/kit/info.js +136 -0
- package/dist/commands/kit/info.js.map +1 -0
- package/dist/commands/kit/install.d.ts +49 -0
- package/dist/commands/kit/install.d.ts.map +1 -0
- package/dist/commands/kit/install.js +352 -0
- package/dist/commands/kit/install.js.map +1 -0
- package/dist/commands/kit/list.d.ts +15 -0
- package/dist/commands/kit/list.d.ts.map +1 -0
- package/dist/commands/kit/list.js +93 -0
- package/dist/commands/kit/list.js.map +1 -0
- package/dist/commands/kit/uninstall.d.ts +19 -0
- package/dist/commands/kit/uninstall.d.ts.map +1 -0
- package/dist/commands/kit/uninstall.js +79 -0
- package/dist/commands/kit/uninstall.js.map +1 -0
- package/dist/commands/kit/update.d.ts +21 -0
- package/dist/commands/kit/update.d.ts.map +1 -0
- package/dist/commands/kit/update.js +197 -0
- package/dist/commands/kit/update.js.map +1 -0
- package/dist/commands/recipe/info.d.ts +24 -0
- package/dist/commands/recipe/info.d.ts.map +1 -0
- package/dist/commands/recipe/info.js +149 -0
- package/dist/commands/recipe/info.js.map +1 -0
- package/dist/commands/recipe/list.d.ts +18 -0
- package/dist/commands/recipe/list.d.ts.map +1 -0
- package/dist/commands/recipe/list.js +104 -0
- package/dist/commands/recipe/list.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/flags.d.ts +14 -0
- package/dist/lib/flags.d.ts.map +1 -0
- package/dist/lib/flags.js +30 -0
- package/dist/lib/flags.js.map +1 -0
- package/dist/manifest.d.ts +105 -0
- package/dist/manifest.d.ts.map +1 -0
- package/dist/manifest.js +115 -0
- package/dist/manifest.js.map +1 -0
- package/dist/source-resolver.d.ts +62 -0
- package/dist/source-resolver.d.ts.map +1 -0
- package/dist/source-resolver.js +187 -0
- package/dist/source-resolver.js.map +1 -0
- package/dist/utils/find-project-root.d.ts +32 -0
- package/dist/utils/find-project-root.d.ts.map +1 -0
- package/dist/utils/find-project-root.js +135 -0
- package/dist/utils/find-project-root.js.map +1 -0
- package/help/kit/info.md +41 -0
- package/help/kit/install.md +52 -0
- package/help/kit/list.md +25 -0
- package/help/kit/uninstall.md +38 -0
- package/help/kit/update.md +35 -0
- package/help/kit.md +36 -0
- package/oclif.manifest.json +587 -0
- package/package.json +92 -0
|
@@ -0,0 +1,587 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commands": {
|
|
3
|
+
"cookbook:info": {
|
|
4
|
+
"aliases": [],
|
|
5
|
+
"args": {
|
|
6
|
+
"name": {
|
|
7
|
+
"description": "Cookbook name (optionally preceded by kit name)",
|
|
8
|
+
"name": "name",
|
|
9
|
+
"required": true
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"description": "Show detailed information about a cookbook",
|
|
13
|
+
"examples": [
|
|
14
|
+
"<%= config.bin %> cookbook info docs",
|
|
15
|
+
"<%= config.bin %> cookbook info starlight docs",
|
|
16
|
+
"<%= config.bin %> cookbook info docs --variables",
|
|
17
|
+
"<%= config.bin %> cookbook info docs --json"
|
|
18
|
+
],
|
|
19
|
+
"flags": {
|
|
20
|
+
"cwd": {
|
|
21
|
+
"description": "Working directory",
|
|
22
|
+
"name": "cwd",
|
|
23
|
+
"default": "/work/hyper/packages/kit",
|
|
24
|
+
"hasDynamicHelp": false,
|
|
25
|
+
"multiple": false,
|
|
26
|
+
"type": "option"
|
|
27
|
+
},
|
|
28
|
+
"debug": {
|
|
29
|
+
"char": "d",
|
|
30
|
+
"description": "Enable debug output",
|
|
31
|
+
"env": "DEBUG",
|
|
32
|
+
"name": "debug",
|
|
33
|
+
"allowNo": false,
|
|
34
|
+
"type": "boolean"
|
|
35
|
+
},
|
|
36
|
+
"json": {
|
|
37
|
+
"description": "Output as JSON",
|
|
38
|
+
"name": "json",
|
|
39
|
+
"allowNo": false,
|
|
40
|
+
"type": "boolean"
|
|
41
|
+
},
|
|
42
|
+
"variables": {
|
|
43
|
+
"description": "Show variable details",
|
|
44
|
+
"name": "variables",
|
|
45
|
+
"allowNo": false,
|
|
46
|
+
"type": "boolean"
|
|
47
|
+
},
|
|
48
|
+
"source": {
|
|
49
|
+
"description": "Show provenance info (path, URL, commit)",
|
|
50
|
+
"name": "source",
|
|
51
|
+
"allowNo": false,
|
|
52
|
+
"type": "boolean"
|
|
53
|
+
},
|
|
54
|
+
"steps": {
|
|
55
|
+
"description": "Show step list with tool types (recipe info only)",
|
|
56
|
+
"name": "steps",
|
|
57
|
+
"allowNo": false,
|
|
58
|
+
"type": "boolean"
|
|
59
|
+
},
|
|
60
|
+
"recipes": {
|
|
61
|
+
"description": "Expand recipes with descriptions",
|
|
62
|
+
"name": "recipes",
|
|
63
|
+
"allowNo": false,
|
|
64
|
+
"type": "boolean"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"hasDynamicHelp": false,
|
|
68
|
+
"hiddenAliases": [],
|
|
69
|
+
"id": "cookbook:info",
|
|
70
|
+
"pluginAlias": "@hypercli/kit",
|
|
71
|
+
"pluginName": "@hypercli/kit",
|
|
72
|
+
"pluginType": "core",
|
|
73
|
+
"strict": false,
|
|
74
|
+
"enableJsonFlag": false,
|
|
75
|
+
"isESM": true,
|
|
76
|
+
"relativePath": [
|
|
77
|
+
"dist",
|
|
78
|
+
"commands",
|
|
79
|
+
"cookbook",
|
|
80
|
+
"info.js"
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
"cookbook:list": {
|
|
84
|
+
"aliases": [],
|
|
85
|
+
"args": {
|
|
86
|
+
"kit": {
|
|
87
|
+
"description": "Filter by kit name",
|
|
88
|
+
"name": "kit",
|
|
89
|
+
"required": false
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"description": "List cookbooks from installed kits",
|
|
93
|
+
"examples": [
|
|
94
|
+
"<%= config.bin %> cookbook list",
|
|
95
|
+
"<%= config.bin %> cookbook list starlight",
|
|
96
|
+
"<%= config.bin %> cookbook list --json"
|
|
97
|
+
],
|
|
98
|
+
"flags": {
|
|
99
|
+
"cwd": {
|
|
100
|
+
"description": "Working directory",
|
|
101
|
+
"name": "cwd",
|
|
102
|
+
"default": "/work/hyper/packages/kit",
|
|
103
|
+
"hasDynamicHelp": false,
|
|
104
|
+
"multiple": false,
|
|
105
|
+
"type": "option"
|
|
106
|
+
},
|
|
107
|
+
"debug": {
|
|
108
|
+
"char": "d",
|
|
109
|
+
"description": "Enable debug output",
|
|
110
|
+
"env": "DEBUG",
|
|
111
|
+
"name": "debug",
|
|
112
|
+
"allowNo": false,
|
|
113
|
+
"type": "boolean"
|
|
114
|
+
},
|
|
115
|
+
"json": {
|
|
116
|
+
"description": "Output as JSON",
|
|
117
|
+
"name": "json",
|
|
118
|
+
"allowNo": false,
|
|
119
|
+
"type": "boolean"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"hasDynamicHelp": false,
|
|
123
|
+
"hiddenAliases": [],
|
|
124
|
+
"id": "cookbook:list",
|
|
125
|
+
"pluginAlias": "@hypercli/kit",
|
|
126
|
+
"pluginName": "@hypercli/kit",
|
|
127
|
+
"pluginType": "core",
|
|
128
|
+
"strict": true,
|
|
129
|
+
"enableJsonFlag": false,
|
|
130
|
+
"isESM": true,
|
|
131
|
+
"relativePath": [
|
|
132
|
+
"dist",
|
|
133
|
+
"commands",
|
|
134
|
+
"cookbook",
|
|
135
|
+
"list.js"
|
|
136
|
+
]
|
|
137
|
+
},
|
|
138
|
+
"kit:info": {
|
|
139
|
+
"aliases": [],
|
|
140
|
+
"args": {
|
|
141
|
+
"kit": {
|
|
142
|
+
"description": "Kit name",
|
|
143
|
+
"name": "kit",
|
|
144
|
+
"required": true
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"description": "Show detailed information about a kit",
|
|
148
|
+
"examples": [
|
|
149
|
+
"<%= config.bin %> kit info starlight",
|
|
150
|
+
"<%= config.bin %> kit info starlight --variables",
|
|
151
|
+
"<%= config.bin %> kit info starlight --json"
|
|
152
|
+
],
|
|
153
|
+
"flags": {
|
|
154
|
+
"cwd": {
|
|
155
|
+
"description": "Working directory",
|
|
156
|
+
"name": "cwd",
|
|
157
|
+
"default": "/work/hyper/packages/kit",
|
|
158
|
+
"hasDynamicHelp": false,
|
|
159
|
+
"multiple": false,
|
|
160
|
+
"type": "option"
|
|
161
|
+
},
|
|
162
|
+
"debug": {
|
|
163
|
+
"char": "d",
|
|
164
|
+
"description": "Enable debug output",
|
|
165
|
+
"env": "DEBUG",
|
|
166
|
+
"name": "debug",
|
|
167
|
+
"allowNo": false,
|
|
168
|
+
"type": "boolean"
|
|
169
|
+
},
|
|
170
|
+
"json": {
|
|
171
|
+
"description": "Output as JSON",
|
|
172
|
+
"name": "json",
|
|
173
|
+
"allowNo": false,
|
|
174
|
+
"type": "boolean"
|
|
175
|
+
},
|
|
176
|
+
"variables": {
|
|
177
|
+
"description": "Show variable details",
|
|
178
|
+
"name": "variables",
|
|
179
|
+
"allowNo": false,
|
|
180
|
+
"type": "boolean"
|
|
181
|
+
},
|
|
182
|
+
"source": {
|
|
183
|
+
"description": "Show provenance info (path, URL, commit)",
|
|
184
|
+
"name": "source",
|
|
185
|
+
"allowNo": false,
|
|
186
|
+
"type": "boolean"
|
|
187
|
+
},
|
|
188
|
+
"steps": {
|
|
189
|
+
"description": "Show step list with tool types (recipe info only)",
|
|
190
|
+
"name": "steps",
|
|
191
|
+
"allowNo": false,
|
|
192
|
+
"type": "boolean"
|
|
193
|
+
},
|
|
194
|
+
"recipes": {
|
|
195
|
+
"description": "Expand recipes with descriptions",
|
|
196
|
+
"name": "recipes",
|
|
197
|
+
"allowNo": false,
|
|
198
|
+
"type": "boolean"
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"hasDynamicHelp": false,
|
|
202
|
+
"hiddenAliases": [],
|
|
203
|
+
"id": "kit:info",
|
|
204
|
+
"pluginAlias": "@hypercli/kit",
|
|
205
|
+
"pluginName": "@hypercli/kit",
|
|
206
|
+
"pluginType": "core",
|
|
207
|
+
"strict": true,
|
|
208
|
+
"enableJsonFlag": false,
|
|
209
|
+
"isESM": true,
|
|
210
|
+
"relativePath": [
|
|
211
|
+
"dist",
|
|
212
|
+
"commands",
|
|
213
|
+
"kit",
|
|
214
|
+
"info.js"
|
|
215
|
+
]
|
|
216
|
+
},
|
|
217
|
+
"kit:install": {
|
|
218
|
+
"aliases": [],
|
|
219
|
+
"args": {
|
|
220
|
+
"kit": {
|
|
221
|
+
"description": "Kit to install (npm, JSR, GitHub shorthand, git URL, or local path)",
|
|
222
|
+
"name": "kit",
|
|
223
|
+
"required": true
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
"description": "Install a kit from npm, JSR, GitHub, or local path",
|
|
227
|
+
"examples": [
|
|
228
|
+
"<%= config.bin %> kit install @kit/nextjs",
|
|
229
|
+
"<%= config.bin %> kit install svallory/hypergen-kit-nextjs",
|
|
230
|
+
"<%= config.bin %> kit install jsr:@std/path",
|
|
231
|
+
"<%= config.bin %> kit install ./local-kit",
|
|
232
|
+
"<%= config.bin %> kit install C:\\\\Projects\\\\my-kit",
|
|
233
|
+
"<%= config.bin %> kit install https://github.com/user/repo.git"
|
|
234
|
+
],
|
|
235
|
+
"flags": {
|
|
236
|
+
"cwd": {
|
|
237
|
+
"description": "Working directory",
|
|
238
|
+
"name": "cwd",
|
|
239
|
+
"default": "/work/hyper/packages/kit",
|
|
240
|
+
"hasDynamicHelp": false,
|
|
241
|
+
"multiple": false,
|
|
242
|
+
"type": "option"
|
|
243
|
+
},
|
|
244
|
+
"debug": {
|
|
245
|
+
"char": "d",
|
|
246
|
+
"description": "Enable debug output",
|
|
247
|
+
"env": "DEBUG",
|
|
248
|
+
"name": "debug",
|
|
249
|
+
"allowNo": false,
|
|
250
|
+
"type": "boolean"
|
|
251
|
+
},
|
|
252
|
+
"dev": {
|
|
253
|
+
"description": "Install as a dev dependency (only for npm/JSR)",
|
|
254
|
+
"name": "dev",
|
|
255
|
+
"allowNo": false,
|
|
256
|
+
"type": "boolean"
|
|
257
|
+
},
|
|
258
|
+
"name": {
|
|
259
|
+
"char": "n",
|
|
260
|
+
"description": "Name to use for the kit directory (default: auto-detect from source)",
|
|
261
|
+
"name": "name",
|
|
262
|
+
"hasDynamicHelp": false,
|
|
263
|
+
"multiple": false,
|
|
264
|
+
"type": "option"
|
|
265
|
+
},
|
|
266
|
+
"force": {
|
|
267
|
+
"char": "f",
|
|
268
|
+
"description": "Replace existing kit even if already installed (allows changing source)",
|
|
269
|
+
"name": "force",
|
|
270
|
+
"allowNo": false,
|
|
271
|
+
"type": "boolean"
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
"hasDynamicHelp": false,
|
|
275
|
+
"hiddenAliases": [],
|
|
276
|
+
"id": "kit:install",
|
|
277
|
+
"pluginAlias": "@hypercli/kit",
|
|
278
|
+
"pluginName": "@hypercli/kit",
|
|
279
|
+
"pluginType": "core",
|
|
280
|
+
"strict": true,
|
|
281
|
+
"enableJsonFlag": false,
|
|
282
|
+
"isESM": true,
|
|
283
|
+
"relativePath": [
|
|
284
|
+
"dist",
|
|
285
|
+
"commands",
|
|
286
|
+
"kit",
|
|
287
|
+
"install.js"
|
|
288
|
+
]
|
|
289
|
+
},
|
|
290
|
+
"kit:list": {
|
|
291
|
+
"aliases": [],
|
|
292
|
+
"args": {},
|
|
293
|
+
"description": "List installed kits",
|
|
294
|
+
"examples": [
|
|
295
|
+
"<%= config.bin %> kit list",
|
|
296
|
+
"<%= config.bin %> kit list --json"
|
|
297
|
+
],
|
|
298
|
+
"flags": {
|
|
299
|
+
"cwd": {
|
|
300
|
+
"description": "Working directory",
|
|
301
|
+
"name": "cwd",
|
|
302
|
+
"default": "/work/hyper/packages/kit",
|
|
303
|
+
"hasDynamicHelp": false,
|
|
304
|
+
"multiple": false,
|
|
305
|
+
"type": "option"
|
|
306
|
+
},
|
|
307
|
+
"debug": {
|
|
308
|
+
"char": "d",
|
|
309
|
+
"description": "Enable debug output",
|
|
310
|
+
"env": "DEBUG",
|
|
311
|
+
"name": "debug",
|
|
312
|
+
"allowNo": false,
|
|
313
|
+
"type": "boolean"
|
|
314
|
+
},
|
|
315
|
+
"json": {
|
|
316
|
+
"description": "Output as JSON",
|
|
317
|
+
"name": "json",
|
|
318
|
+
"allowNo": false,
|
|
319
|
+
"type": "boolean"
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
"hasDynamicHelp": false,
|
|
323
|
+
"hiddenAliases": [],
|
|
324
|
+
"id": "kit:list",
|
|
325
|
+
"pluginAlias": "@hypercli/kit",
|
|
326
|
+
"pluginName": "@hypercli/kit",
|
|
327
|
+
"pluginType": "core",
|
|
328
|
+
"strict": true,
|
|
329
|
+
"enableJsonFlag": false,
|
|
330
|
+
"isESM": true,
|
|
331
|
+
"relativePath": [
|
|
332
|
+
"dist",
|
|
333
|
+
"commands",
|
|
334
|
+
"kit",
|
|
335
|
+
"list.js"
|
|
336
|
+
]
|
|
337
|
+
},
|
|
338
|
+
"kit:uninstall": {
|
|
339
|
+
"aliases": [
|
|
340
|
+
"kit:remove"
|
|
341
|
+
],
|
|
342
|
+
"args": {
|
|
343
|
+
"kit": {
|
|
344
|
+
"description": "Name of the kit to uninstall",
|
|
345
|
+
"name": "kit",
|
|
346
|
+
"required": true
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
"description": "Remove an installed kit",
|
|
350
|
+
"examples": [
|
|
351
|
+
"<%= config.bin %> kit uninstall starlight",
|
|
352
|
+
"<%= config.bin %> kit uninstall starlight --force"
|
|
353
|
+
],
|
|
354
|
+
"flags": {
|
|
355
|
+
"cwd": {
|
|
356
|
+
"description": "Working directory",
|
|
357
|
+
"name": "cwd",
|
|
358
|
+
"default": "/work/hyper/packages/kit",
|
|
359
|
+
"hasDynamicHelp": false,
|
|
360
|
+
"multiple": false,
|
|
361
|
+
"type": "option"
|
|
362
|
+
},
|
|
363
|
+
"debug": {
|
|
364
|
+
"char": "d",
|
|
365
|
+
"description": "Enable debug output",
|
|
366
|
+
"env": "DEBUG",
|
|
367
|
+
"name": "debug",
|
|
368
|
+
"allowNo": false,
|
|
369
|
+
"type": "boolean"
|
|
370
|
+
},
|
|
371
|
+
"force": {
|
|
372
|
+
"char": "f",
|
|
373
|
+
"description": "Skip confirmation prompt",
|
|
374
|
+
"name": "force",
|
|
375
|
+
"allowNo": false,
|
|
376
|
+
"type": "boolean"
|
|
377
|
+
}
|
|
378
|
+
},
|
|
379
|
+
"hasDynamicHelp": false,
|
|
380
|
+
"hiddenAliases": [],
|
|
381
|
+
"id": "kit:uninstall",
|
|
382
|
+
"pluginAlias": "@hypercli/kit",
|
|
383
|
+
"pluginName": "@hypercli/kit",
|
|
384
|
+
"pluginType": "core",
|
|
385
|
+
"strict": true,
|
|
386
|
+
"enableJsonFlag": false,
|
|
387
|
+
"isESM": true,
|
|
388
|
+
"relativePath": [
|
|
389
|
+
"dist",
|
|
390
|
+
"commands",
|
|
391
|
+
"kit",
|
|
392
|
+
"uninstall.js"
|
|
393
|
+
]
|
|
394
|
+
},
|
|
395
|
+
"kit:update": {
|
|
396
|
+
"aliases": [],
|
|
397
|
+
"args": {
|
|
398
|
+
"kit": {
|
|
399
|
+
"description": "Name of the kit to update",
|
|
400
|
+
"name": "kit",
|
|
401
|
+
"required": false
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
"description": "Update installed kits from their original source",
|
|
405
|
+
"examples": [
|
|
406
|
+
"<%= config.bin %> kit update nextjs",
|
|
407
|
+
"<%= config.bin %> kit update --all"
|
|
408
|
+
],
|
|
409
|
+
"flags": {
|
|
410
|
+
"cwd": {
|
|
411
|
+
"description": "Working directory",
|
|
412
|
+
"name": "cwd",
|
|
413
|
+
"default": "/work/hyper/packages/kit",
|
|
414
|
+
"hasDynamicHelp": false,
|
|
415
|
+
"multiple": false,
|
|
416
|
+
"type": "option"
|
|
417
|
+
},
|
|
418
|
+
"debug": {
|
|
419
|
+
"char": "d",
|
|
420
|
+
"description": "Enable debug output",
|
|
421
|
+
"env": "DEBUG",
|
|
422
|
+
"name": "debug",
|
|
423
|
+
"allowNo": false,
|
|
424
|
+
"type": "boolean"
|
|
425
|
+
},
|
|
426
|
+
"all": {
|
|
427
|
+
"description": "Update all installed kits",
|
|
428
|
+
"name": "all",
|
|
429
|
+
"allowNo": false,
|
|
430
|
+
"type": "boolean"
|
|
431
|
+
}
|
|
432
|
+
},
|
|
433
|
+
"hasDynamicHelp": false,
|
|
434
|
+
"hiddenAliases": [],
|
|
435
|
+
"id": "kit:update",
|
|
436
|
+
"pluginAlias": "@hypercli/kit",
|
|
437
|
+
"pluginName": "@hypercli/kit",
|
|
438
|
+
"pluginType": "core",
|
|
439
|
+
"strict": true,
|
|
440
|
+
"enableJsonFlag": false,
|
|
441
|
+
"isESM": true,
|
|
442
|
+
"relativePath": [
|
|
443
|
+
"dist",
|
|
444
|
+
"commands",
|
|
445
|
+
"kit",
|
|
446
|
+
"update.js"
|
|
447
|
+
]
|
|
448
|
+
},
|
|
449
|
+
"recipe:info": {
|
|
450
|
+
"aliases": [],
|
|
451
|
+
"args": {
|
|
452
|
+
"name": {
|
|
453
|
+
"description": "Recipe name (optionally preceded by kit and/or cookbook names)",
|
|
454
|
+
"name": "name",
|
|
455
|
+
"required": true
|
|
456
|
+
}
|
|
457
|
+
},
|
|
458
|
+
"description": "Show detailed information about a recipe",
|
|
459
|
+
"examples": [
|
|
460
|
+
"<%= config.bin %> recipe info crud",
|
|
461
|
+
"<%= config.bin %> recipe info starlight crud",
|
|
462
|
+
"<%= config.bin %> recipe info starlight docs crud",
|
|
463
|
+
"<%= config.bin %> recipe info crud --steps",
|
|
464
|
+
"<%= config.bin %> recipe info crud --json"
|
|
465
|
+
],
|
|
466
|
+
"flags": {
|
|
467
|
+
"cwd": {
|
|
468
|
+
"description": "Working directory",
|
|
469
|
+
"name": "cwd",
|
|
470
|
+
"default": "/work/hyper/packages/kit",
|
|
471
|
+
"hasDynamicHelp": false,
|
|
472
|
+
"multiple": false,
|
|
473
|
+
"type": "option"
|
|
474
|
+
},
|
|
475
|
+
"debug": {
|
|
476
|
+
"char": "d",
|
|
477
|
+
"description": "Enable debug output",
|
|
478
|
+
"env": "DEBUG",
|
|
479
|
+
"name": "debug",
|
|
480
|
+
"allowNo": false,
|
|
481
|
+
"type": "boolean"
|
|
482
|
+
},
|
|
483
|
+
"json": {
|
|
484
|
+
"description": "Output as JSON",
|
|
485
|
+
"name": "json",
|
|
486
|
+
"allowNo": false,
|
|
487
|
+
"type": "boolean"
|
|
488
|
+
},
|
|
489
|
+
"variables": {
|
|
490
|
+
"description": "Show variable details",
|
|
491
|
+
"name": "variables",
|
|
492
|
+
"allowNo": false,
|
|
493
|
+
"type": "boolean"
|
|
494
|
+
},
|
|
495
|
+
"source": {
|
|
496
|
+
"description": "Show provenance info (path, URL, commit)",
|
|
497
|
+
"name": "source",
|
|
498
|
+
"allowNo": false,
|
|
499
|
+
"type": "boolean"
|
|
500
|
+
},
|
|
501
|
+
"steps": {
|
|
502
|
+
"description": "Show step list with tool types (recipe info only)",
|
|
503
|
+
"name": "steps",
|
|
504
|
+
"allowNo": false,
|
|
505
|
+
"type": "boolean"
|
|
506
|
+
},
|
|
507
|
+
"recipes": {
|
|
508
|
+
"description": "Expand recipes with descriptions",
|
|
509
|
+
"name": "recipes",
|
|
510
|
+
"allowNo": false,
|
|
511
|
+
"type": "boolean"
|
|
512
|
+
}
|
|
513
|
+
},
|
|
514
|
+
"hasDynamicHelp": false,
|
|
515
|
+
"hiddenAliases": [],
|
|
516
|
+
"id": "recipe:info",
|
|
517
|
+
"pluginAlias": "@hypercli/kit",
|
|
518
|
+
"pluginName": "@hypercli/kit",
|
|
519
|
+
"pluginType": "core",
|
|
520
|
+
"strict": false,
|
|
521
|
+
"enableJsonFlag": false,
|
|
522
|
+
"isESM": true,
|
|
523
|
+
"relativePath": [
|
|
524
|
+
"dist",
|
|
525
|
+
"commands",
|
|
526
|
+
"recipe",
|
|
527
|
+
"info.js"
|
|
528
|
+
]
|
|
529
|
+
},
|
|
530
|
+
"recipe:list": {
|
|
531
|
+
"aliases": [],
|
|
532
|
+
"args": {
|
|
533
|
+
"kit": {
|
|
534
|
+
"description": "Filter by kit name",
|
|
535
|
+
"name": "kit",
|
|
536
|
+
"required": false
|
|
537
|
+
}
|
|
538
|
+
},
|
|
539
|
+
"description": "List recipes from installed kits",
|
|
540
|
+
"examples": [
|
|
541
|
+
"<%= config.bin %> recipe list",
|
|
542
|
+
"<%= config.bin %> recipe list starlight",
|
|
543
|
+
"<%= config.bin %> recipe list --json"
|
|
544
|
+
],
|
|
545
|
+
"flags": {
|
|
546
|
+
"cwd": {
|
|
547
|
+
"description": "Working directory",
|
|
548
|
+
"name": "cwd",
|
|
549
|
+
"default": "/work/hyper/packages/kit",
|
|
550
|
+
"hasDynamicHelp": false,
|
|
551
|
+
"multiple": false,
|
|
552
|
+
"type": "option"
|
|
553
|
+
},
|
|
554
|
+
"debug": {
|
|
555
|
+
"char": "d",
|
|
556
|
+
"description": "Enable debug output",
|
|
557
|
+
"env": "DEBUG",
|
|
558
|
+
"name": "debug",
|
|
559
|
+
"allowNo": false,
|
|
560
|
+
"type": "boolean"
|
|
561
|
+
},
|
|
562
|
+
"json": {
|
|
563
|
+
"description": "Output as JSON",
|
|
564
|
+
"name": "json",
|
|
565
|
+
"allowNo": false,
|
|
566
|
+
"type": "boolean"
|
|
567
|
+
}
|
|
568
|
+
},
|
|
569
|
+
"hasDynamicHelp": false,
|
|
570
|
+
"hiddenAliases": [],
|
|
571
|
+
"id": "recipe:list",
|
|
572
|
+
"pluginAlias": "@hypercli/kit",
|
|
573
|
+
"pluginName": "@hypercli/kit",
|
|
574
|
+
"pluginType": "core",
|
|
575
|
+
"strict": true,
|
|
576
|
+
"enableJsonFlag": false,
|
|
577
|
+
"isESM": true,
|
|
578
|
+
"relativePath": [
|
|
579
|
+
"dist",
|
|
580
|
+
"commands",
|
|
581
|
+
"recipe",
|
|
582
|
+
"list.js"
|
|
583
|
+
]
|
|
584
|
+
}
|
|
585
|
+
},
|
|
586
|
+
"version": "0.1.1"
|
|
587
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@hypercli/kit",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Kit lifecycle management for HyperDev",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"hyperdev",
|
|
8
|
+
"hypergen",
|
|
9
|
+
"kits"
|
|
10
|
+
],
|
|
11
|
+
"author": "Saulo Vallory <saulo@toki.life>",
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "https://github.com/svallory/hyper-coding.git",
|
|
16
|
+
"directory": "packages/kit"
|
|
17
|
+
},
|
|
18
|
+
"homepage": "https://hyperdev.saulo.engineer",
|
|
19
|
+
"bugs": {
|
|
20
|
+
"url": "https://github.com/svallory/hyper-coding/issues"
|
|
21
|
+
},
|
|
22
|
+
"engines": {
|
|
23
|
+
"node": ">=20"
|
|
24
|
+
},
|
|
25
|
+
"exports": {
|
|
26
|
+
".": {
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
28
|
+
"import": "./dist/index.js"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"main": "./dist/index.js",
|
|
32
|
+
"types": "./dist/index.d.ts",
|
|
33
|
+
"files": [
|
|
34
|
+
"dist",
|
|
35
|
+
"help",
|
|
36
|
+
"oclif.manifest.json",
|
|
37
|
+
"README.md",
|
|
38
|
+
"LICENSE"
|
|
39
|
+
],
|
|
40
|
+
"oclif": {
|
|
41
|
+
"commands": "./dist/commands",
|
|
42
|
+
"topics": {
|
|
43
|
+
"kit": {
|
|
44
|
+
"description": "Manage generator kits — install, update, and inspect"
|
|
45
|
+
},
|
|
46
|
+
"recipe": {
|
|
47
|
+
"description": "Browse and run code generation recipes"
|
|
48
|
+
},
|
|
49
|
+
"cookbook": {
|
|
50
|
+
"description": "Explore multi-step generation cookbooks"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"topicSeparator": " "
|
|
54
|
+
},
|
|
55
|
+
"imports": {
|
|
56
|
+
"#types/*": "./dist/types/*.js",
|
|
57
|
+
"#utils/*": "./dist/utils/*.js",
|
|
58
|
+
"#commands/*": "./dist/commands/*.js",
|
|
59
|
+
"#tests/*": "./tests/*.ts",
|
|
60
|
+
"#fixtures/*": "./tests/fixtures/*.ts",
|
|
61
|
+
"#*": "./dist/*.js"
|
|
62
|
+
},
|
|
63
|
+
"scripts": {
|
|
64
|
+
"build": "tsc",
|
|
65
|
+
"postbuild": "bunx oclif manifest",
|
|
66
|
+
"test": "vitest run",
|
|
67
|
+
"test:watch": "vitest",
|
|
68
|
+
"lint": "biome check .",
|
|
69
|
+
"format": "biome format . --write",
|
|
70
|
+
"typecheck": "tsc --noEmit",
|
|
71
|
+
"prepublishOnly": "bun run build"
|
|
72
|
+
},
|
|
73
|
+
"dependencies": {
|
|
74
|
+
"@hypercli/core": "^0.1.1",
|
|
75
|
+
"@hypercli/ui": "^0.1.1",
|
|
76
|
+
"giget": "^2.0.0"
|
|
77
|
+
},
|
|
78
|
+
"devDependencies": {
|
|
79
|
+
"@biomejs/biome": "^1.9.4",
|
|
80
|
+
"@types/fs-extra": "^11.0.4",
|
|
81
|
+
"@types/node": "^20.0.0",
|
|
82
|
+
"@vitest/coverage-v8": "^4.0.0",
|
|
83
|
+
"fs-extra": "^11.3.3",
|
|
84
|
+
"typescript": "^5.4.0",
|
|
85
|
+
"vite-tsconfig-paths": "^6.1.1",
|
|
86
|
+
"vitest": "4.0.18"
|
|
87
|
+
},
|
|
88
|
+
"publishConfig": {
|
|
89
|
+
"access": "public",
|
|
90
|
+
"registry": "https://registry.npmjs.org/"
|
|
91
|
+
}
|
|
92
|
+
}
|