hereya-cli 0.55.0 → 0.56.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/README.md +94 -36
- package/dist/backend/cloud/cloud-backend.d.ts +5 -1
- package/dist/backend/cloud/cloud-backend.js +208 -0
- package/dist/backend/common.d.ts +62 -0
- package/dist/backend/file.d.ts +5 -1
- package/dist/backend/file.js +24 -0
- package/dist/commands/doc/index.d.ts +17 -0
- package/dist/commands/doc/index.js +154 -0
- package/dist/commands/publish/index.d.ts +32 -0
- package/dist/commands/publish/index.js +239 -0
- package/oclif.manifest.json +92 -1
- package/package.json +5 -1
package/oclif.manifest.json
CHANGED
|
@@ -193,6 +193,63 @@
|
|
|
193
193
|
"index.js"
|
|
194
194
|
]
|
|
195
195
|
},
|
|
196
|
+
"doc": {
|
|
197
|
+
"aliases": [],
|
|
198
|
+
"args": {
|
|
199
|
+
"package": {
|
|
200
|
+
"description": "Package name with optional version (e.g., my-package or my-package@1.0.0)",
|
|
201
|
+
"name": "package",
|
|
202
|
+
"required": true
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
"description": "Display documentation for a package from the registry",
|
|
206
|
+
"examples": [
|
|
207
|
+
"<%= config.bin %> <%= command.id %> my-package",
|
|
208
|
+
"<%= config.bin %> <%= command.id %> my-package@1.0.0",
|
|
209
|
+
"<%= config.bin %> <%= command.id %> my-package --json",
|
|
210
|
+
"<%= config.bin %> <%= command.id %> my-package --no-doc"
|
|
211
|
+
],
|
|
212
|
+
"flags": {
|
|
213
|
+
"chdir": {
|
|
214
|
+
"char": "C",
|
|
215
|
+
"description": "directory to run command in",
|
|
216
|
+
"helpGroup": "global",
|
|
217
|
+
"name": "chdir",
|
|
218
|
+
"default": ".",
|
|
219
|
+
"hasDynamicHelp": false,
|
|
220
|
+
"multiple": false,
|
|
221
|
+
"type": "option"
|
|
222
|
+
},
|
|
223
|
+
"json": {
|
|
224
|
+
"char": "j",
|
|
225
|
+
"description": "Output in JSON format",
|
|
226
|
+
"name": "json",
|
|
227
|
+
"allowNo": false,
|
|
228
|
+
"type": "boolean"
|
|
229
|
+
},
|
|
230
|
+
"no-doc": {
|
|
231
|
+
"description": "Show only metadata without the full documentation",
|
|
232
|
+
"name": "no-doc",
|
|
233
|
+
"allowNo": false,
|
|
234
|
+
"type": "boolean"
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
"hasDynamicHelp": false,
|
|
238
|
+
"hiddenAliases": [],
|
|
239
|
+
"id": "doc",
|
|
240
|
+
"pluginAlias": "hereya-cli",
|
|
241
|
+
"pluginName": "hereya-cli",
|
|
242
|
+
"pluginType": "core",
|
|
243
|
+
"strict": true,
|
|
244
|
+
"enableJsonFlag": false,
|
|
245
|
+
"isESM": true,
|
|
246
|
+
"relativePath": [
|
|
247
|
+
"dist",
|
|
248
|
+
"commands",
|
|
249
|
+
"doc",
|
|
250
|
+
"index.js"
|
|
251
|
+
]
|
|
252
|
+
},
|
|
196
253
|
"down": {
|
|
197
254
|
"aliases": [],
|
|
198
255
|
"args": {},
|
|
@@ -507,6 +564,40 @@
|
|
|
507
564
|
"index.js"
|
|
508
565
|
]
|
|
509
566
|
},
|
|
567
|
+
"publish": {
|
|
568
|
+
"aliases": [],
|
|
569
|
+
"args": {},
|
|
570
|
+
"description": "Publish a package to the Hereya registry",
|
|
571
|
+
"examples": [
|
|
572
|
+
"$ hereya publish",
|
|
573
|
+
"$ hereya publish --chdir=/path/to/package"
|
|
574
|
+
],
|
|
575
|
+
"flags": {
|
|
576
|
+
"chdir": {
|
|
577
|
+
"description": "\n Directory where the command will be executed.\n If not specified, it defaults to the current working directory.\n ",
|
|
578
|
+
"name": "chdir",
|
|
579
|
+
"required": false,
|
|
580
|
+
"hasDynamicHelp": false,
|
|
581
|
+
"multiple": false,
|
|
582
|
+
"type": "option"
|
|
583
|
+
}
|
|
584
|
+
},
|
|
585
|
+
"hasDynamicHelp": false,
|
|
586
|
+
"hiddenAliases": [],
|
|
587
|
+
"id": "publish",
|
|
588
|
+
"pluginAlias": "hereya-cli",
|
|
589
|
+
"pluginName": "hereya-cli",
|
|
590
|
+
"pluginType": "core",
|
|
591
|
+
"strict": true,
|
|
592
|
+
"enableJsonFlag": false,
|
|
593
|
+
"isESM": true,
|
|
594
|
+
"relativePath": [
|
|
595
|
+
"dist",
|
|
596
|
+
"commands",
|
|
597
|
+
"publish",
|
|
598
|
+
"index.js"
|
|
599
|
+
]
|
|
600
|
+
},
|
|
510
601
|
"remove": {
|
|
511
602
|
"aliases": [],
|
|
512
603
|
"args": {
|
|
@@ -1786,5 +1877,5 @@
|
|
|
1786
1877
|
]
|
|
1787
1878
|
}
|
|
1788
1879
|
},
|
|
1789
|
-
"version": "0.
|
|
1880
|
+
"version": "0.56.0"
|
|
1790
1881
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hereya-cli",
|
|
3
3
|
"description": "Infrastructure as Package",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.56.0",
|
|
5
5
|
"author": "Hereya Developers",
|
|
6
6
|
"bin": {
|
|
7
7
|
"hereya": "./bin/run.js"
|
|
@@ -19,10 +19,13 @@
|
|
|
19
19
|
"@oclif/core": "^4.2.6",
|
|
20
20
|
"@oclif/plugin-help": "^6.2.25",
|
|
21
21
|
"@oclif/plugin-plugins": "^5.4.31",
|
|
22
|
+
"chalk": "^5.5.0",
|
|
22
23
|
"glob": "^11.0.1",
|
|
23
24
|
"ignore": "^7.0.3",
|
|
24
25
|
"keytar": "^7.9.0",
|
|
25
26
|
"listr2": "^8.2.5",
|
|
27
|
+
"marked": "^16.1.2",
|
|
28
|
+
"marked-terminal": "7.3.0",
|
|
26
29
|
"node-machine-id": "^1.1.12",
|
|
27
30
|
"open": "^10.1.1",
|
|
28
31
|
"simple-git": "^3.27.0",
|
|
@@ -35,6 +38,7 @@
|
|
|
35
38
|
"@oclif/test": "^4.1.9",
|
|
36
39
|
"@types/chai": "^5.0.1",
|
|
37
40
|
"@types/jsonwebtoken": "^9.0.9",
|
|
41
|
+
"@types/marked-terminal": "^6.1.1",
|
|
38
42
|
"@types/mocha": "^10.0.10",
|
|
39
43
|
"@types/mock-fs": "^4.13.4",
|
|
40
44
|
"@types/node": "^22",
|