@hypercli/kit 0.1.3 → 0.2.2

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 (2) hide show
  1. package/oclif.manifest.json +139 -139
  2. package/package.json +3 -3
@@ -1,25 +1,26 @@
1
1
  {
2
2
  "commands": {
3
- "kit:info": {
3
+ "cookbook:info": {
4
4
  "aliases": [],
5
5
  "args": {
6
- "kit": {
7
- "description": "Kit name",
8
- "name": "kit",
6
+ "name": {
7
+ "description": "Cookbook name (optionally preceded by kit name)",
8
+ "name": "name",
9
9
  "required": true
10
10
  }
11
11
  },
12
- "description": "Show detailed information about a kit",
12
+ "description": "Show detailed information about a cookbook",
13
13
  "examples": [
14
- "<%= config.bin %> kit info starlight",
15
- "<%= config.bin %> kit info starlight --variables",
16
- "<%= config.bin %> kit info starlight --json"
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"
17
18
  ],
18
19
  "flags": {
19
20
  "cwd": {
20
21
  "description": "Working directory",
21
22
  "name": "cwd",
22
- "default": "/work/hyper/packages/kit",
23
+ "default": "/home/runner/work/hyper-coding/hyper-coding/packages/kit",
23
24
  "hasDynamicHelp": false,
24
25
  "multiple": false,
25
26
  "type": "option"
@@ -65,43 +66,40 @@
65
66
  },
66
67
  "hasDynamicHelp": false,
67
68
  "hiddenAliases": [],
68
- "id": "kit:info",
69
+ "id": "cookbook:info",
69
70
  "pluginAlias": "@hypercli/kit",
70
71
  "pluginName": "@hypercli/kit",
71
72
  "pluginType": "core",
72
- "strict": true,
73
+ "strict": false,
73
74
  "enableJsonFlag": false,
74
75
  "isESM": true,
75
76
  "relativePath": [
76
77
  "dist",
77
78
  "commands",
78
- "kit",
79
+ "cookbook",
79
80
  "info.js"
80
81
  ]
81
82
  },
82
- "kit:install": {
83
+ "cookbook:list": {
83
84
  "aliases": [],
84
85
  "args": {
85
86
  "kit": {
86
- "description": "Kit to install (npm, JSR, GitHub shorthand, git URL, or local path)",
87
+ "description": "Filter by kit name",
87
88
  "name": "kit",
88
- "required": true
89
+ "required": false
89
90
  }
90
91
  },
91
- "description": "Install a kit from npm, JSR, GitHub, or local path",
92
+ "description": "List cookbooks from installed kits",
92
93
  "examples": [
93
- "<%= config.bin %> kit install @kit/nextjs",
94
- "<%= config.bin %> kit install svallory/hypergen-kit-nextjs",
95
- "<%= config.bin %> kit install jsr:@std/path",
96
- "<%= config.bin %> kit install ./local-kit",
97
- "<%= config.bin %> kit install C:\\\\Projects\\\\my-kit",
98
- "<%= config.bin %> kit install https://github.com/user/repo.git"
94
+ "<%= config.bin %> cookbook list",
95
+ "<%= config.bin %> cookbook list starlight",
96
+ "<%= config.bin %> cookbook list --json"
99
97
  ],
100
98
  "flags": {
101
99
  "cwd": {
102
100
  "description": "Working directory",
103
101
  "name": "cwd",
104
- "default": "/work/hyper/packages/kit",
102
+ "default": "/home/runner/work/hyper-coding/hyper-coding/packages/kit",
105
103
  "hasDynamicHelp": false,
106
104
  "multiple": false,
107
105
  "type": "option"
@@ -114,31 +112,16 @@
114
112
  "allowNo": false,
115
113
  "type": "boolean"
116
114
  },
117
- "dev": {
118
- "description": "Install as a dev dependency (only for npm/JSR)",
119
- "name": "dev",
120
- "allowNo": false,
121
- "type": "boolean"
122
- },
123
- "name": {
124
- "char": "n",
125
- "description": "Name to use for the kit directory (default: auto-detect from source)",
126
- "name": "name",
127
- "hasDynamicHelp": false,
128
- "multiple": false,
129
- "type": "option"
130
- },
131
- "force": {
132
- "char": "f",
133
- "description": "Replace existing kit even if already installed (allows changing source)",
134
- "name": "force",
115
+ "json": {
116
+ "description": "Output as JSON",
117
+ "name": "json",
135
118
  "allowNo": false,
136
119
  "type": "boolean"
137
120
  }
138
121
  },
139
122
  "hasDynamicHelp": false,
140
123
  "hiddenAliases": [],
141
- "id": "kit:install",
124
+ "id": "cookbook:list",
142
125
  "pluginAlias": "@hypercli/kit",
143
126
  "pluginName": "@hypercli/kit",
144
127
  "pluginType": "core",
@@ -148,23 +131,30 @@
148
131
  "relativePath": [
149
132
  "dist",
150
133
  "commands",
151
- "kit",
152
- "install.js"
134
+ "cookbook",
135
+ "list.js"
153
136
  ]
154
137
  },
155
- "kit:list": {
138
+ "kit:info": {
156
139
  "aliases": [],
157
- "args": {},
158
- "description": "List installed kits",
140
+ "args": {
141
+ "kit": {
142
+ "description": "Kit name",
143
+ "name": "kit",
144
+ "required": true
145
+ }
146
+ },
147
+ "description": "Show detailed information about a kit",
159
148
  "examples": [
160
- "<%= config.bin %> kit list",
161
- "<%= config.bin %> kit list --json"
149
+ "<%= config.bin %> kit info starlight",
150
+ "<%= config.bin %> kit info starlight --variables",
151
+ "<%= config.bin %> kit info starlight --json"
162
152
  ],
163
153
  "flags": {
164
154
  "cwd": {
165
155
  "description": "Working directory",
166
156
  "name": "cwd",
167
- "default": "/work/hyper/packages/kit",
157
+ "default": "/home/runner/work/hyper-coding/hyper-coding/packages/kit",
168
158
  "hasDynamicHelp": false,
169
159
  "multiple": false,
170
160
  "type": "option"
@@ -182,11 +172,35 @@
182
172
  "name": "json",
183
173
  "allowNo": false,
184
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"
185
199
  }
186
200
  },
187
201
  "hasDynamicHelp": false,
188
202
  "hiddenAliases": [],
189
- "id": "kit:list",
203
+ "id": "kit:info",
190
204
  "pluginAlias": "@hypercli/kit",
191
205
  "pluginName": "@hypercli/kit",
192
206
  "pluginType": "core",
@@ -197,30 +211,32 @@
197
211
  "dist",
198
212
  "commands",
199
213
  "kit",
200
- "list.js"
214
+ "info.js"
201
215
  ]
202
216
  },
203
- "kit:uninstall": {
204
- "aliases": [
205
- "kit:remove"
206
- ],
217
+ "kit:install": {
218
+ "aliases": [],
207
219
  "args": {
208
220
  "kit": {
209
- "description": "Name of the kit to uninstall",
221
+ "description": "Kit to install (npm, JSR, GitHub shorthand, git URL, or local path)",
210
222
  "name": "kit",
211
223
  "required": true
212
224
  }
213
225
  },
214
- "description": "Remove an installed kit",
226
+ "description": "Install a kit from npm, JSR, GitHub, or local path",
215
227
  "examples": [
216
- "<%= config.bin %> kit uninstall starlight",
217
- "<%= config.bin %> kit uninstall starlight --force"
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"
218
234
  ],
219
235
  "flags": {
220
236
  "cwd": {
221
237
  "description": "Working directory",
222
238
  "name": "cwd",
223
- "default": "/work/hyper/packages/kit",
239
+ "default": "/home/runner/work/hyper-coding/hyper-coding/packages/kit",
224
240
  "hasDynamicHelp": false,
225
241
  "multiple": false,
226
242
  "type": "option"
@@ -233,9 +249,23 @@
233
249
  "allowNo": false,
234
250
  "type": "boolean"
235
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
+ },
236
266
  "force": {
237
267
  "char": "f",
238
- "description": "Skip confirmation prompt",
268
+ "description": "Replace existing kit even if already installed (allows changing source)",
239
269
  "name": "force",
240
270
  "allowNo": false,
241
271
  "type": "boolean"
@@ -243,7 +273,7 @@
243
273
  },
244
274
  "hasDynamicHelp": false,
245
275
  "hiddenAliases": [],
246
- "id": "kit:uninstall",
276
+ "id": "kit:install",
247
277
  "pluginAlias": "@hypercli/kit",
248
278
  "pluginName": "@hypercli/kit",
249
279
  "pluginType": "core",
@@ -254,28 +284,22 @@
254
284
  "dist",
255
285
  "commands",
256
286
  "kit",
257
- "uninstall.js"
287
+ "install.js"
258
288
  ]
259
289
  },
260
- "kit:update": {
290
+ "kit:list": {
261
291
  "aliases": [],
262
- "args": {
263
- "kit": {
264
- "description": "Name of the kit to update",
265
- "name": "kit",
266
- "required": false
267
- }
268
- },
269
- "description": "Update installed kits from their original source",
292
+ "args": {},
293
+ "description": "List installed kits",
270
294
  "examples": [
271
- "<%= config.bin %> kit update nextjs",
272
- "<%= config.bin %> kit update --all"
295
+ "<%= config.bin %> kit list",
296
+ "<%= config.bin %> kit list --json"
273
297
  ],
274
298
  "flags": {
275
299
  "cwd": {
276
300
  "description": "Working directory",
277
301
  "name": "cwd",
278
- "default": "/work/hyper/packages/kit",
302
+ "default": "/home/runner/work/hyper-coding/hyper-coding/packages/kit",
279
303
  "hasDynamicHelp": false,
280
304
  "multiple": false,
281
305
  "type": "option"
@@ -288,16 +312,16 @@
288
312
  "allowNo": false,
289
313
  "type": "boolean"
290
314
  },
291
- "all": {
292
- "description": "Update all installed kits",
293
- "name": "all",
315
+ "json": {
316
+ "description": "Output as JSON",
317
+ "name": "json",
294
318
  "allowNo": false,
295
319
  "type": "boolean"
296
320
  }
297
321
  },
298
322
  "hasDynamicHelp": false,
299
323
  "hiddenAliases": [],
300
- "id": "kit:update",
324
+ "id": "kit:list",
301
325
  "pluginAlias": "@hypercli/kit",
302
326
  "pluginName": "@hypercli/kit",
303
327
  "pluginType": "core",
@@ -308,30 +332,30 @@
308
332
  "dist",
309
333
  "commands",
310
334
  "kit",
311
- "update.js"
335
+ "list.js"
312
336
  ]
313
337
  },
314
- "cookbook:info": {
315
- "aliases": [],
338
+ "kit:uninstall": {
339
+ "aliases": [
340
+ "kit:remove"
341
+ ],
316
342
  "args": {
317
- "name": {
318
- "description": "Cookbook name (optionally preceded by kit name)",
319
- "name": "name",
343
+ "kit": {
344
+ "description": "Name of the kit to uninstall",
345
+ "name": "kit",
320
346
  "required": true
321
347
  }
322
348
  },
323
- "description": "Show detailed information about a cookbook",
349
+ "description": "Remove an installed kit",
324
350
  "examples": [
325
- "<%= config.bin %> cookbook info docs",
326
- "<%= config.bin %> cookbook info starlight docs",
327
- "<%= config.bin %> cookbook info docs --variables",
328
- "<%= config.bin %> cookbook info docs --json"
351
+ "<%= config.bin %> kit uninstall starlight",
352
+ "<%= config.bin %> kit uninstall starlight --force"
329
353
  ],
330
354
  "flags": {
331
355
  "cwd": {
332
356
  "description": "Working directory",
333
357
  "name": "cwd",
334
- "default": "/work/hyper/packages/kit",
358
+ "default": "/home/runner/work/hyper-coding/hyper-coding/packages/kit",
335
359
  "hasDynamicHelp": false,
336
360
  "multiple": false,
337
361
  "type": "option"
@@ -344,73 +368,49 @@
344
368
  "allowNo": false,
345
369
  "type": "boolean"
346
370
  },
347
- "json": {
348
- "description": "Output as JSON",
349
- "name": "json",
350
- "allowNo": false,
351
- "type": "boolean"
352
- },
353
- "variables": {
354
- "description": "Show variable details",
355
- "name": "variables",
356
- "allowNo": false,
357
- "type": "boolean"
358
- },
359
- "source": {
360
- "description": "Show provenance info (path, URL, commit)",
361
- "name": "source",
362
- "allowNo": false,
363
- "type": "boolean"
364
- },
365
- "steps": {
366
- "description": "Show step list with tool types (recipe info only)",
367
- "name": "steps",
368
- "allowNo": false,
369
- "type": "boolean"
370
- },
371
- "recipes": {
372
- "description": "Expand recipes with descriptions",
373
- "name": "recipes",
371
+ "force": {
372
+ "char": "f",
373
+ "description": "Skip confirmation prompt",
374
+ "name": "force",
374
375
  "allowNo": false,
375
376
  "type": "boolean"
376
377
  }
377
378
  },
378
379
  "hasDynamicHelp": false,
379
380
  "hiddenAliases": [],
380
- "id": "cookbook:info",
381
+ "id": "kit:uninstall",
381
382
  "pluginAlias": "@hypercli/kit",
382
383
  "pluginName": "@hypercli/kit",
383
384
  "pluginType": "core",
384
- "strict": false,
385
+ "strict": true,
385
386
  "enableJsonFlag": false,
386
387
  "isESM": true,
387
388
  "relativePath": [
388
389
  "dist",
389
390
  "commands",
390
- "cookbook",
391
- "info.js"
391
+ "kit",
392
+ "uninstall.js"
392
393
  ]
393
394
  },
394
- "cookbook:list": {
395
+ "kit:update": {
395
396
  "aliases": [],
396
397
  "args": {
397
398
  "kit": {
398
- "description": "Filter by kit name",
399
+ "description": "Name of the kit to update",
399
400
  "name": "kit",
400
401
  "required": false
401
402
  }
402
403
  },
403
- "description": "List cookbooks from installed kits",
404
+ "description": "Update installed kits from their original source",
404
405
  "examples": [
405
- "<%= config.bin %> cookbook list",
406
- "<%= config.bin %> cookbook list starlight",
407
- "<%= config.bin %> cookbook list --json"
406
+ "<%= config.bin %> kit update nextjs",
407
+ "<%= config.bin %> kit update --all"
408
408
  ],
409
409
  "flags": {
410
410
  "cwd": {
411
411
  "description": "Working directory",
412
412
  "name": "cwd",
413
- "default": "/work/hyper/packages/kit",
413
+ "default": "/home/runner/work/hyper-coding/hyper-coding/packages/kit",
414
414
  "hasDynamicHelp": false,
415
415
  "multiple": false,
416
416
  "type": "option"
@@ -423,16 +423,16 @@
423
423
  "allowNo": false,
424
424
  "type": "boolean"
425
425
  },
426
- "json": {
427
- "description": "Output as JSON",
428
- "name": "json",
426
+ "all": {
427
+ "description": "Update all installed kits",
428
+ "name": "all",
429
429
  "allowNo": false,
430
430
  "type": "boolean"
431
431
  }
432
432
  },
433
433
  "hasDynamicHelp": false,
434
434
  "hiddenAliases": [],
435
- "id": "cookbook:list",
435
+ "id": "kit:update",
436
436
  "pluginAlias": "@hypercli/kit",
437
437
  "pluginName": "@hypercli/kit",
438
438
  "pluginType": "core",
@@ -442,8 +442,8 @@
442
442
  "relativePath": [
443
443
  "dist",
444
444
  "commands",
445
- "cookbook",
446
- "list.js"
445
+ "kit",
446
+ "update.js"
447
447
  ]
448
448
  },
449
449
  "recipe:info": {
@@ -467,7 +467,7 @@
467
467
  "cwd": {
468
468
  "description": "Working directory",
469
469
  "name": "cwd",
470
- "default": "/work/hyper/packages/kit",
470
+ "default": "/home/runner/work/hyper-coding/hyper-coding/packages/kit",
471
471
  "hasDynamicHelp": false,
472
472
  "multiple": false,
473
473
  "type": "option"
@@ -546,7 +546,7 @@
546
546
  "cwd": {
547
547
  "description": "Working directory",
548
548
  "name": "cwd",
549
- "default": "/work/hyper/packages/kit",
549
+ "default": "/home/runner/work/hyper-coding/hyper-coding/packages/kit",
550
550
  "hasDynamicHelp": false,
551
551
  "multiple": false,
552
552
  "type": "option"
@@ -583,5 +583,5 @@
583
583
  ]
584
584
  }
585
585
  },
586
- "version": "0.1.3"
586
+ "version": "0.2.2"
587
587
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hypercli/kit",
3
- "version": "0.1.3",
3
+ "version": "0.2.2",
4
4
  "type": "module",
5
5
  "description": "Kit lifecycle management for HyperDev",
6
6
  "keywords": [
@@ -71,8 +71,8 @@
71
71
  "prepublishOnly": "bun run build"
72
72
  },
73
73
  "dependencies": {
74
- "@hypercli/core": "^0.1.3",
75
- "@hypercli/ui": "^0.1.3",
74
+ "@hypercli/core": "^0.2.2",
75
+ "@hypercli/ui": "^0.2.2",
76
76
  "giget": "^2.0.0"
77
77
  },
78
78
  "devDependencies": {