@enspirit/emb 0.0.2 → 0.0.4

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 (164) hide show
  1. package/README.md +190 -164
  2. package/bin/run.js +8 -2
  3. package/dist/src/cli/abstract/FlavouredCommand.d.ts +12 -0
  4. package/dist/src/cli/abstract/FlavouredCommand.js +40 -0
  5. package/dist/src/cli/abstract/index.d.ts +1 -0
  6. package/dist/src/cli/abstract/index.js +1 -0
  7. package/dist/src/cli/commands/clean.d.ts +15 -0
  8. package/dist/src/cli/commands/clean.js +29 -0
  9. package/dist/src/cli/commands/components/build.d.ts +11 -0
  10. package/dist/src/cli/commands/components/build.js +24 -0
  11. package/dist/src/cli/commands/components/index.d.ts +14 -0
  12. package/dist/src/cli/commands/components/index.js +44 -0
  13. package/dist/src/cli/commands/config/print.d.ts +13 -0
  14. package/dist/src/cli/commands/config/print.js +16 -0
  15. package/dist/src/cli/commands/containers/index.d.ts +12 -0
  16. package/dist/src/cli/commands/containers/index.js +66 -0
  17. package/dist/src/cli/commands/containers/prune.d.ts +8 -0
  18. package/dist/src/cli/commands/containers/prune.js +23 -0
  19. package/dist/src/cli/commands/down.d.ts +8 -0
  20. package/dist/src/cli/commands/down.js +42 -0
  21. package/dist/src/cli/commands/images/delete.d.ts +10 -0
  22. package/dist/src/cli/commands/images/delete.js +44 -0
  23. package/dist/src/cli/commands/images/index.d.ts +17 -0
  24. package/dist/src/cli/commands/images/index.js +59 -0
  25. package/dist/src/cli/commands/images/prune.d.ts +11 -0
  26. package/dist/src/cli/commands/images/prune.js +35 -0
  27. package/dist/src/cli/commands/run/index.d.ts +10 -0
  28. package/dist/src/cli/commands/run/index.js +49 -0
  29. package/dist/src/cli/commands/tasks/index.d.ts +9 -0
  30. package/dist/src/cli/commands/tasks/index.js +23 -0
  31. package/dist/src/cli/commands/tasks/run.d.ts +16 -0
  32. package/dist/src/cli/commands/tasks/run.js +113 -0
  33. package/dist/src/cli/commands/up.d.ts +10 -0
  34. package/dist/src/cli/commands/up.js +49 -0
  35. package/dist/src/cli/constants.d.ts +2 -0
  36. package/dist/src/cli/constants.js +6 -0
  37. package/dist/src/cli/hooks/init.d.ts +3 -0
  38. package/dist/src/cli/hooks/init.js +27 -0
  39. package/dist/src/cli/index.d.ts +3 -0
  40. package/dist/src/cli/index.js +3 -0
  41. package/dist/src/config/convert.d.ts +5 -0
  42. package/dist/src/config/convert.js +48 -0
  43. package/dist/src/config/index.d.ts +6 -0
  44. package/dist/src/config/index.js +25 -0
  45. package/dist/src/config/schema.d.ts +102 -0
  46. package/dist/src/config/schema.js +7 -0
  47. package/dist/src/config/schema.json +209 -0
  48. package/dist/src/config/types.d.ts +43 -0
  49. package/dist/src/config/types.js +1 -0
  50. package/dist/src/config/validation.d.ts +1 -0
  51. package/dist/src/config/validation.js +26 -0
  52. package/dist/src/context.d.ts +3 -0
  53. package/dist/src/context.js +7 -0
  54. package/dist/src/docker/compose/index.d.ts +7 -0
  55. package/dist/src/docker/compose/index.js +13 -0
  56. package/dist/src/docker/containers/getContainer.d.ts +2 -0
  57. package/dist/src/docker/containers/getContainer.js +5 -0
  58. package/dist/src/docker/containers/index.d.ts +1 -0
  59. package/dist/src/docker/containers/index.js +1 -0
  60. package/dist/src/docker/images/buildImage.d.ts +19 -0
  61. package/dist/src/docker/images/buildImage.js +64 -0
  62. package/dist/src/docker/images/deleteImage.d.ts +5 -0
  63. package/dist/src/docker/images/deleteImage.js +6 -0
  64. package/dist/src/docker/images/index.d.ts +4 -0
  65. package/dist/src/docker/images/index.js +4 -0
  66. package/dist/src/docker/images/listImages.d.ts +2 -0
  67. package/dist/src/docker/images/listImages.js +8 -0
  68. package/dist/src/docker/images/pruneImages.d.ts +6 -0
  69. package/dist/src/docker/images/pruneImages.js +8 -0
  70. package/dist/src/docker/index.d.ts +7 -0
  71. package/dist/src/docker/index.js +7 -0
  72. package/dist/src/docker/operations/containers/ListContainersOperation.d.ts +18 -0
  73. package/dist/src/docker/operations/containers/ListContainersOperation.js +44 -0
  74. package/dist/src/docker/operations/containers/PruneContainersOperation.d.ts +16 -0
  75. package/dist/src/docker/operations/containers/PruneContainersOperation.js +33 -0
  76. package/dist/src/docker/operations/containers/index.d.ts +2 -0
  77. package/dist/src/docker/operations/containers/index.js +2 -0
  78. package/dist/src/docker/operations/images/BuildImageOperation.d.ts +20 -0
  79. package/dist/src/docker/operations/images/BuildImageOperation.js +69 -0
  80. package/dist/src/docker/operations/images/ListImagesOperation.d.ts +17 -0
  81. package/dist/src/docker/operations/images/ListImagesOperation.js +38 -0
  82. package/dist/src/docker/operations/images/PruneImagesOperation.d.ts +16 -0
  83. package/dist/src/docker/operations/images/PruneImagesOperation.js +33 -0
  84. package/dist/src/docker/operations/images/index.d.ts +3 -0
  85. package/dist/src/docker/operations/images/index.js +3 -0
  86. package/dist/src/docker/operations/index.d.ts +2 -0
  87. package/dist/src/docker/operations/index.js +2 -0
  88. package/dist/src/docker/protobuf/control.proto +48 -0
  89. package/dist/src/docker/protobuf/index.d.ts +5 -0
  90. package/dist/src/docker/protobuf/index.js +29 -0
  91. package/dist/src/docker/types.d.ts +14 -0
  92. package/dist/src/docker/types.js +1 -0
  93. package/dist/src/docker/utils.d.ts +7 -0
  94. package/dist/src/docker/utils.js +10 -0
  95. package/dist/src/executors/docker.d.ts +6 -0
  96. package/dist/src/executors/docker.js +14 -0
  97. package/dist/src/executors/index.d.ts +6 -0
  98. package/dist/src/executors/index.js +7 -0
  99. package/dist/src/executors/shell.d.ts +2 -0
  100. package/dist/src/executors/shell.js +14 -0
  101. package/dist/src/executors/types.d.ts +8 -0
  102. package/dist/src/executors/types.js +1 -0
  103. package/dist/src/index.d.ts +3 -0
  104. package/dist/src/index.js +3 -0
  105. package/dist/src/monorepo/component.d.ts +24 -0
  106. package/dist/src/monorepo/component.js +77 -0
  107. package/dist/src/monorepo/config.d.ts +16 -0
  108. package/dist/src/monorepo/config.js +66 -0
  109. package/dist/src/monorepo/index.d.ts +7 -0
  110. package/dist/src/monorepo/index.js +7 -0
  111. package/dist/src/monorepo/monorepo.d.ts +29 -0
  112. package/dist/src/monorepo/monorepo.js +106 -0
  113. package/dist/src/monorepo/operations/components/BuildComponentsOperation.d.ts +11 -0
  114. package/dist/src/monorepo/operations/components/BuildComponentsOperation.js +144 -0
  115. package/dist/src/monorepo/operations/components/index.d.ts +1 -0
  116. package/dist/src/monorepo/operations/components/index.js +1 -0
  117. package/dist/src/monorepo/operations/index.d.ts +1 -0
  118. package/dist/src/monorepo/operations/index.js +1 -0
  119. package/dist/src/monorepo/plugins/ComponentsDiscover.d.ts +6 -0
  120. package/dist/src/monorepo/plugins/ComponentsDiscover.js +30 -0
  121. package/dist/src/monorepo/plugins/DotEnvPlugin.d.ts +5 -0
  122. package/dist/src/monorepo/plugins/DotEnvPlugin.js +11 -0
  123. package/dist/src/monorepo/plugins/index.d.ts +7 -0
  124. package/dist/src/monorepo/plugins/index.js +20 -0
  125. package/dist/src/monorepo/plugins/plugin.d.ts +15 -0
  126. package/dist/src/monorepo/plugins/plugin.js +12 -0
  127. package/dist/src/monorepo/project.d.ts +6 -0
  128. package/dist/src/monorepo/project.js +8 -0
  129. package/dist/src/monorepo/store/index.d.ts +20 -0
  130. package/dist/src/monorepo/store/index.js +65 -0
  131. package/dist/src/monorepo/types.d.ts +7 -0
  132. package/dist/src/monorepo/types.js +1 -0
  133. package/dist/src/monorepo/utils/findBuildOrder.d.ts +2 -0
  134. package/dist/src/monorepo/utils/findBuildOrder.js +41 -0
  135. package/dist/src/monorepo/utils/index.d.ts +1 -0
  136. package/dist/src/monorepo/utils/index.js +1 -0
  137. package/dist/src/operations/abstract/AbstractOperation.d.ts +10 -0
  138. package/dist/src/operations/abstract/AbstractOperation.js +13 -0
  139. package/dist/src/operations/abstract/index.d.ts +1 -0
  140. package/dist/src/operations/abstract/index.js +1 -0
  141. package/dist/src/operations/index.d.ts +2 -0
  142. package/dist/src/operations/index.js +2 -0
  143. package/dist/src/operations/types.d.ts +3 -0
  144. package/dist/src/operations/types.js +1 -0
  145. package/dist/src/prerequisites/FilePrerequisitePlugin.d.ts +7 -0
  146. package/dist/src/prerequisites/FilePrerequisitePlugin.js +41 -0
  147. package/dist/src/prerequisites/GitPrerequisitePlugin.d.ts +5 -0
  148. package/dist/src/prerequisites/GitPrerequisitePlugin.js +17 -0
  149. package/dist/src/prerequisites/index.d.ts +3 -0
  150. package/dist/src/prerequisites/index.js +3 -0
  151. package/dist/src/prerequisites/types.d.ts +46 -0
  152. package/dist/src/prerequisites/types.js +24 -0
  153. package/dist/src/types.d.ts +13 -0
  154. package/dist/src/types.js +1 -0
  155. package/dist/src/utils/TemplateExpander.d.ts +21 -0
  156. package/dist/src/utils/TemplateExpander.js +53 -0
  157. package/dist/src/utils/deepMergeArray.d.ts +1 -0
  158. package/dist/src/utils/deepMergeArray.js +19 -0
  159. package/dist/src/utils/index.d.ts +3 -0
  160. package/dist/src/utils/index.js +3 -0
  161. package/dist/src/utils/time.d.ts +2 -0
  162. package/dist/src/utils/time.js +19 -0
  163. package/oclif.manifest.json +572 -2
  164. package/package.json +7 -9
@@ -1,4 +1,574 @@
1
1
  {
2
- "commands": {},
3
- "version": "0.0.2"
2
+ "commands": {
3
+ "clean": {
4
+ "aliases": [],
5
+ "args": {},
6
+ "description": "Clean the project.",
7
+ "examples": [
8
+ "<%= config.bin %> <%= command.id %>"
9
+ ],
10
+ "flags": {
11
+ "json": {
12
+ "description": "Format output as json.",
13
+ "helpGroup": "GLOBAL",
14
+ "name": "json",
15
+ "allowNo": false,
16
+ "type": "boolean"
17
+ }
18
+ },
19
+ "hasDynamicHelp": false,
20
+ "hiddenAliases": [],
21
+ "id": "clean",
22
+ "pluginAlias": "@enspirit/emb",
23
+ "pluginName": "@enspirit/emb",
24
+ "pluginType": "core",
25
+ "strict": true,
26
+ "enableJsonFlag": true,
27
+ "isESM": true,
28
+ "relativePath": [
29
+ "dist",
30
+ "src",
31
+ "cli",
32
+ "commands",
33
+ "clean.js"
34
+ ]
35
+ },
36
+ "down": {
37
+ "aliases": [],
38
+ "args": {},
39
+ "description": "Stop the whole project.",
40
+ "examples": [
41
+ "<%= config.bin %> <%= command.id %>"
42
+ ],
43
+ "flags": {
44
+ "json": {
45
+ "description": "Format output as json.",
46
+ "helpGroup": "GLOBAL",
47
+ "name": "json",
48
+ "allowNo": false,
49
+ "type": "boolean"
50
+ }
51
+ },
52
+ "hasDynamicHelp": false,
53
+ "hiddenAliases": [],
54
+ "id": "down",
55
+ "pluginAlias": "@enspirit/emb",
56
+ "pluginName": "@enspirit/emb",
57
+ "pluginType": "core",
58
+ "strict": true,
59
+ "enableJsonFlag": true,
60
+ "isESM": true,
61
+ "relativePath": [
62
+ "dist",
63
+ "src",
64
+ "cli",
65
+ "commands",
66
+ "down.js"
67
+ ]
68
+ },
69
+ "up": {
70
+ "aliases": [],
71
+ "args": {},
72
+ "description": "Start the whole project.",
73
+ "examples": [
74
+ "<%= config.bin %> <%= command.id %>"
75
+ ],
76
+ "flags": {
77
+ "json": {
78
+ "description": "Format output as json.",
79
+ "helpGroup": "GLOBAL",
80
+ "name": "json",
81
+ "allowNo": false,
82
+ "type": "boolean"
83
+ },
84
+ "flavor": {
85
+ "description": "Specify the flavor to use.",
86
+ "name": "flavor",
87
+ "required": false,
88
+ "hasDynamicHelp": false,
89
+ "multiple": false,
90
+ "type": "option"
91
+ },
92
+ "force-recreate": {
93
+ "char": "f",
94
+ "description": "Recreate containers even if their configuration and image haven't changed",
95
+ "name": "force-recreate",
96
+ "allowNo": false,
97
+ "type": "boolean"
98
+ }
99
+ },
100
+ "hasDynamicHelp": false,
101
+ "hiddenAliases": [],
102
+ "id": "up",
103
+ "pluginAlias": "@enspirit/emb",
104
+ "pluginName": "@enspirit/emb",
105
+ "pluginType": "core",
106
+ "strict": true,
107
+ "enableJsonFlag": true,
108
+ "isESM": true,
109
+ "relativePath": [
110
+ "dist",
111
+ "src",
112
+ "cli",
113
+ "commands",
114
+ "up.js"
115
+ ]
116
+ },
117
+ "components:build": {
118
+ "aliases": [],
119
+ "args": {
120
+ "component": {
121
+ "description": "List of components to build",
122
+ "name": "component",
123
+ "required": false
124
+ }
125
+ },
126
+ "description": "Build the components of the monorepo",
127
+ "examples": [
128
+ "<%= config.bin %> <%= command.id %> build --flavor development"
129
+ ],
130
+ "flags": {
131
+ "json": {
132
+ "description": "Format output as json.",
133
+ "helpGroup": "GLOBAL",
134
+ "name": "json",
135
+ "allowNo": false,
136
+ "type": "boolean"
137
+ },
138
+ "flavor": {
139
+ "description": "Specify the flavor to use.",
140
+ "name": "flavor",
141
+ "required": false,
142
+ "hasDynamicHelp": false,
143
+ "multiple": false,
144
+ "type": "option"
145
+ }
146
+ },
147
+ "hasDynamicHelp": false,
148
+ "hiddenAliases": [],
149
+ "id": "components:build",
150
+ "pluginAlias": "@enspirit/emb",
151
+ "pluginName": "@enspirit/emb",
152
+ "pluginType": "core",
153
+ "strict": false,
154
+ "enableJsonFlag": true,
155
+ "isESM": true,
156
+ "relativePath": [
157
+ "dist",
158
+ "src",
159
+ "cli",
160
+ "commands",
161
+ "components",
162
+ "build.js"
163
+ ]
164
+ },
165
+ "components": {
166
+ "aliases": [],
167
+ "args": {},
168
+ "description": "List components.",
169
+ "examples": [
170
+ "<%= config.bin %> <%= command.id %>"
171
+ ],
172
+ "flags": {
173
+ "json": {
174
+ "description": "Format output as json.",
175
+ "helpGroup": "GLOBAL",
176
+ "name": "json",
177
+ "allowNo": false,
178
+ "type": "boolean"
179
+ },
180
+ "flavor": {
181
+ "description": "Specify the flavor to use.",
182
+ "name": "flavor",
183
+ "required": false,
184
+ "hasDynamicHelp": false,
185
+ "multiple": false,
186
+ "type": "option"
187
+ }
188
+ },
189
+ "hasDynamicHelp": false,
190
+ "hiddenAliases": [],
191
+ "id": "components",
192
+ "pluginAlias": "@enspirit/emb",
193
+ "pluginName": "@enspirit/emb",
194
+ "pluginType": "core",
195
+ "strict": true,
196
+ "enableJsonFlag": true,
197
+ "isESM": true,
198
+ "relativePath": [
199
+ "dist",
200
+ "src",
201
+ "cli",
202
+ "commands",
203
+ "components",
204
+ "index.js"
205
+ ]
206
+ },
207
+ "containers": {
208
+ "aliases": [
209
+ "ps"
210
+ ],
211
+ "args": {},
212
+ "description": "List docker containers.",
213
+ "examples": [
214
+ "<%= config.bin %> <%= command.id %>"
215
+ ],
216
+ "flags": {
217
+ "json": {
218
+ "description": "Format output as json.",
219
+ "helpGroup": "GLOBAL",
220
+ "name": "json",
221
+ "allowNo": false,
222
+ "type": "boolean"
223
+ },
224
+ "all": {
225
+ "char": "a",
226
+ "description": "Retun all containers. By default, only running containers are shown",
227
+ "name": "all",
228
+ "required": false,
229
+ "allowNo": false,
230
+ "type": "boolean"
231
+ }
232
+ },
233
+ "hasDynamicHelp": false,
234
+ "hiddenAliases": [],
235
+ "id": "containers",
236
+ "pluginAlias": "@enspirit/emb",
237
+ "pluginName": "@enspirit/emb",
238
+ "pluginType": "core",
239
+ "strict": true,
240
+ "enableJsonFlag": true,
241
+ "isESM": true,
242
+ "relativePath": [
243
+ "dist",
244
+ "src",
245
+ "cli",
246
+ "commands",
247
+ "containers",
248
+ "index.js"
249
+ ]
250
+ },
251
+ "containers:prune": {
252
+ "aliases": [],
253
+ "args": {},
254
+ "description": "Prune containers.",
255
+ "examples": [
256
+ "<%= config.bin %> <%= command.id %>"
257
+ ],
258
+ "flags": {
259
+ "json": {
260
+ "description": "Format output as json.",
261
+ "helpGroup": "GLOBAL",
262
+ "name": "json",
263
+ "allowNo": false,
264
+ "type": "boolean"
265
+ }
266
+ },
267
+ "hasDynamicHelp": false,
268
+ "hiddenAliases": [],
269
+ "id": "containers:prune",
270
+ "pluginAlias": "@enspirit/emb",
271
+ "pluginName": "@enspirit/emb",
272
+ "pluginType": "core",
273
+ "strict": true,
274
+ "enableJsonFlag": true,
275
+ "isESM": true,
276
+ "relativePath": [
277
+ "dist",
278
+ "src",
279
+ "cli",
280
+ "commands",
281
+ "containers",
282
+ "prune.js"
283
+ ]
284
+ },
285
+ "config:print": {
286
+ "aliases": [],
287
+ "args": {},
288
+ "description": "Print the current config.",
289
+ "examples": [
290
+ "<%= config.bin %> <%= command.id %>"
291
+ ],
292
+ "flags": {
293
+ "json": {
294
+ "description": "Format output as json.",
295
+ "helpGroup": "GLOBAL",
296
+ "name": "json",
297
+ "allowNo": false,
298
+ "type": "boolean"
299
+ },
300
+ "flavor": {
301
+ "description": "Specify the flavor to use.",
302
+ "name": "flavor",
303
+ "required": false,
304
+ "hasDynamicHelp": false,
305
+ "multiple": false,
306
+ "type": "option"
307
+ }
308
+ },
309
+ "hasDynamicHelp": false,
310
+ "hiddenAliases": [],
311
+ "id": "config:print",
312
+ "pluginAlias": "@enspirit/emb",
313
+ "pluginName": "@enspirit/emb",
314
+ "pluginType": "core",
315
+ "strict": true,
316
+ "enableJsonFlag": true,
317
+ "isESM": true,
318
+ "relativePath": [
319
+ "dist",
320
+ "src",
321
+ "cli",
322
+ "commands",
323
+ "config",
324
+ "print.js"
325
+ ]
326
+ },
327
+ "run": {
328
+ "aliases": [],
329
+ "args": {
330
+ "component": {
331
+ "description": "Component name",
332
+ "name": "component",
333
+ "required": true
334
+ },
335
+ "script": {
336
+ "description": "NPM script to run",
337
+ "name": "script",
338
+ "required": true
339
+ }
340
+ },
341
+ "description": "Run an npm script from a component's package.json",
342
+ "flags": {},
343
+ "hasDynamicHelp": false,
344
+ "hiddenAliases": [],
345
+ "id": "run",
346
+ "pluginAlias": "@enspirit/emb",
347
+ "pluginName": "@enspirit/emb",
348
+ "pluginType": "core",
349
+ "strict": true,
350
+ "enableJsonFlag": false,
351
+ "isESM": true,
352
+ "relativePath": [
353
+ "dist",
354
+ "src",
355
+ "cli",
356
+ "commands",
357
+ "run",
358
+ "index.js"
359
+ ]
360
+ },
361
+ "images:delete": {
362
+ "aliases": [],
363
+ "args": {},
364
+ "description": "Delete project images.",
365
+ "examples": [
366
+ "<%= config.bin %> <%= command.id %>"
367
+ ],
368
+ "flags": {
369
+ "json": {
370
+ "description": "Format output as json.",
371
+ "helpGroup": "GLOBAL",
372
+ "name": "json",
373
+ "allowNo": false,
374
+ "type": "boolean"
375
+ },
376
+ "force": {
377
+ "char": "f",
378
+ "description": "Remove the image even if it is being used by stopped containers or has other tags",
379
+ "name": "force",
380
+ "required": false,
381
+ "allowNo": false,
382
+ "type": "boolean"
383
+ }
384
+ },
385
+ "hasDynamicHelp": false,
386
+ "hiddenAliases": [],
387
+ "id": "images:delete",
388
+ "pluginAlias": "@enspirit/emb",
389
+ "pluginName": "@enspirit/emb",
390
+ "pluginType": "core",
391
+ "strict": true,
392
+ "enableJsonFlag": true,
393
+ "isESM": true,
394
+ "relativePath": [
395
+ "dist",
396
+ "src",
397
+ "cli",
398
+ "commands",
399
+ "images",
400
+ "delete.js"
401
+ ]
402
+ },
403
+ "images": {
404
+ "aliases": [],
405
+ "args": {},
406
+ "description": "List docker images.",
407
+ "examples": [
408
+ "<%= config.bin %> <%= command.id %>"
409
+ ],
410
+ "flags": {
411
+ "json": {
412
+ "description": "Format output as json.",
413
+ "helpGroup": "GLOBAL",
414
+ "name": "json",
415
+ "allowNo": false,
416
+ "type": "boolean"
417
+ },
418
+ "all": {
419
+ "char": "a",
420
+ "description": "Show all images. Only images from a final layer (no children) are shown by default.",
421
+ "name": "all",
422
+ "required": false,
423
+ "allowNo": false,
424
+ "type": "boolean"
425
+ }
426
+ },
427
+ "hasDynamicHelp": false,
428
+ "hiddenAliases": [],
429
+ "id": "images",
430
+ "pluginAlias": "@enspirit/emb",
431
+ "pluginName": "@enspirit/emb",
432
+ "pluginType": "core",
433
+ "strict": true,
434
+ "enableJsonFlag": true,
435
+ "isESM": true,
436
+ "relativePath": [
437
+ "dist",
438
+ "src",
439
+ "cli",
440
+ "commands",
441
+ "images",
442
+ "index.js"
443
+ ]
444
+ },
445
+ "images:prune": {
446
+ "aliases": [],
447
+ "args": {},
448
+ "description": "Prune project images.",
449
+ "examples": [
450
+ "<%= config.bin %> <%= command.id %>"
451
+ ],
452
+ "flags": {
453
+ "json": {
454
+ "description": "Format output as json.",
455
+ "helpGroup": "GLOBAL",
456
+ "name": "json",
457
+ "allowNo": false,
458
+ "type": "boolean"
459
+ },
460
+ "all": {
461
+ "char": "a",
462
+ "description": "Prune all images. When set to true all images will be pruned, not only dangling ones",
463
+ "name": "all",
464
+ "required": false,
465
+ "allowNo": false,
466
+ "type": "boolean"
467
+ }
468
+ },
469
+ "hasDynamicHelp": false,
470
+ "hiddenAliases": [],
471
+ "id": "images:prune",
472
+ "pluginAlias": "@enspirit/emb",
473
+ "pluginName": "@enspirit/emb",
474
+ "pluginType": "core",
475
+ "strict": true,
476
+ "enableJsonFlag": true,
477
+ "isESM": true,
478
+ "relativePath": [
479
+ "dist",
480
+ "src",
481
+ "cli",
482
+ "commands",
483
+ "images",
484
+ "prune.js"
485
+ ]
486
+ },
487
+ "tasks": {
488
+ "aliases": [],
489
+ "args": {},
490
+ "description": "List tasks.",
491
+ "examples": [
492
+ "<%= config.bin %> <%= command.id %>"
493
+ ],
494
+ "flags": {
495
+ "json": {
496
+ "description": "Format output as json.",
497
+ "helpGroup": "GLOBAL",
498
+ "name": "json",
499
+ "allowNo": false,
500
+ "type": "boolean"
501
+ }
502
+ },
503
+ "hasDynamicHelp": false,
504
+ "hiddenAliases": [],
505
+ "id": "tasks",
506
+ "pluginAlias": "@enspirit/emb",
507
+ "pluginName": "@enspirit/emb",
508
+ "pluginType": "core",
509
+ "strict": true,
510
+ "enableJsonFlag": true,
511
+ "isESM": true,
512
+ "relativePath": [
513
+ "dist",
514
+ "src",
515
+ "cli",
516
+ "commands",
517
+ "tasks",
518
+ "index.js"
519
+ ]
520
+ },
521
+ "tasks:run": {
522
+ "aliases": [],
523
+ "args": {
524
+ "task": {
525
+ "description": "List of tasks ids to run (eg: component:task)",
526
+ "name": "task",
527
+ "required": false
528
+ }
529
+ },
530
+ "description": "Run a task.",
531
+ "examples": [
532
+ "<%= config.bin %> <%= command.id %>"
533
+ ],
534
+ "flags": {
535
+ "json": {
536
+ "description": "Format output as json.",
537
+ "helpGroup": "GLOBAL",
538
+ "name": "json",
539
+ "allowNo": false,
540
+ "type": "boolean"
541
+ },
542
+ "executor": {
543
+ "char": "x",
544
+ "name": "executor",
545
+ "hasDynamicHelp": false,
546
+ "multiple": false,
547
+ "options": [
548
+ "container",
549
+ "local"
550
+ ],
551
+ "type": "option"
552
+ }
553
+ },
554
+ "hasDynamicHelp": false,
555
+ "hiddenAliases": [],
556
+ "id": "tasks:run",
557
+ "pluginAlias": "@enspirit/emb",
558
+ "pluginName": "@enspirit/emb",
559
+ "pluginType": "core",
560
+ "strict": false,
561
+ "enableJsonFlag": true,
562
+ "isESM": true,
563
+ "relativePath": [
564
+ "dist",
565
+ "src",
566
+ "cli",
567
+ "commands",
568
+ "tasks",
569
+ "run.js"
570
+ ]
571
+ }
572
+ },
573
+ "version": "0.0.4"
4
574
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@enspirit/emb",
3
3
  "type": "module",
4
- "version": "0.0.2",
4
+ "version": "0.0.4",
5
5
  "keywords": ["monorepo", "docker", "taskrunner", "ci", "docker compose", "sentinel", "makefile"],
6
6
  "author": "Louis Lambeau <louis.lambeau@enspirit.be>",
7
7
  "license": "ISC",
@@ -15,6 +15,7 @@
15
15
  "build:ts": "tsc -b && tsc-alias",
16
16
  "build:types": "json2ts src/config/schema.json > src/config/schema.ts",
17
17
  "lint": "eslint",
18
+ "lint:fix": "eslint --fix",
18
19
  "pack": "npm run pack:macos && npm run pack:deb",
19
20
  "pack:macos": "oclif pack macos",
20
21
  "pack:deb": "oclif pack deb",
@@ -33,7 +34,6 @@
33
34
  "@oclif/plugin-autocomplete": "^3.2.34",
34
35
  "@oclif/plugin-help": "^6.2.32",
35
36
  "@oclif/plugin-not-found": "^3.2.63",
36
- "@oclif/plugin-plugins": "^5.4.46",
37
37
  "@oclif/table": "^0.4.12",
38
38
  "ajv": "^8.17.1",
39
39
  "colorette": "^2.0.20",
@@ -49,7 +49,8 @@
49
49
  "protobufjs": "^7.5.3",
50
50
  "p-map": "^7.0.3",
51
51
  "simple-git": "^3.28.0",
52
- "yaml": "^2.8.1"
52
+ "yaml": "^2.8.1",
53
+ "zod": "^4.0.16"
53
54
  },
54
55
  "devDependencies": {
55
56
  "@eslint/eslintrc": "^3.3.1",
@@ -77,7 +78,8 @@
77
78
  "tsc-alias": "^1.8.16",
78
79
  "tsx": "^4.20.3",
79
80
  "typescript": "^5.9.2",
80
- "vitest": "^3.2.4"
81
+ "vitest": "^3.2.4",
82
+ "vite-tsconfig-paths": "^5.1.4"
81
83
  },
82
84
  "engines": {
83
85
  "node": ">=20.0.0"
@@ -101,14 +103,10 @@
101
103
  "plugins": [
102
104
  "@oclif/plugin-help",
103
105
  "@oclif/plugin-autocomplete",
104
- "@oclif/plugin-not-found",
105
- "@oclif/plugin-plugins"
106
+ "@oclif/plugin-not-found"
106
107
  ],
107
108
  "topicSeparator": " ",
108
109
  "topics": {
109
- "hello": {
110
- "description": "Say hello to the world and others"
111
- }
112
110
  }
113
111
  }
114
112
  }