@hypercli/kit 0.1.2 → 0.1.3

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