@enspirit/emb 0.0.4 → 0.0.5

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 CHANGED
@@ -14,7 +14,7 @@ $ npm install -g @enspirit/emb
14
14
  $ emb COMMAND
15
15
  running command...
16
16
  $ emb (--version)
17
- @enspirit/emb/0.0.4 darwin-x64 node-v22.12.0
17
+ @enspirit/emb/0.0.5 darwin-x64 node-v22.12.0
18
18
  $ emb --help [COMMAND]
19
19
  USAGE
20
20
  $ emb COMMAND
@@ -204,12 +204,10 @@
204
204
  "index.js"
205
205
  ]
206
206
  },
207
- "containers": {
208
- "aliases": [
209
- "ps"
210
- ],
207
+ "config:print": {
208
+ "aliases": [],
211
209
  "args": {},
212
- "description": "List docker containers.",
210
+ "description": "Print the current config.",
213
211
  "examples": [
214
212
  "<%= config.bin %> <%= command.id %>"
215
213
  ],
@@ -221,18 +219,18 @@
221
219
  "allowNo": false,
222
220
  "type": "boolean"
223
221
  },
224
- "all": {
225
- "char": "a",
226
- "description": "Retun all containers. By default, only running containers are shown",
227
- "name": "all",
222
+ "flavor": {
223
+ "description": "Specify the flavor to use.",
224
+ "name": "flavor",
228
225
  "required": false,
229
- "allowNo": false,
230
- "type": "boolean"
226
+ "hasDynamicHelp": false,
227
+ "multiple": false,
228
+ "type": "option"
231
229
  }
232
230
  },
233
231
  "hasDynamicHelp": false,
234
232
  "hiddenAliases": [],
235
- "id": "containers",
233
+ "id": "config:print",
236
234
  "pluginAlias": "@enspirit/emb",
237
235
  "pluginName": "@enspirit/emb",
238
236
  "pluginType": "core",
@@ -244,14 +242,16 @@
244
242
  "src",
245
243
  "cli",
246
244
  "commands",
247
- "containers",
248
- "index.js"
245
+ "config",
246
+ "print.js"
249
247
  ]
250
248
  },
251
- "containers:prune": {
252
- "aliases": [],
249
+ "containers": {
250
+ "aliases": [
251
+ "ps"
252
+ ],
253
253
  "args": {},
254
- "description": "Prune containers.",
254
+ "description": "List docker containers.",
255
255
  "examples": [
256
256
  "<%= config.bin %> <%= command.id %>"
257
257
  ],
@@ -262,11 +262,19 @@
262
262
  "name": "json",
263
263
  "allowNo": false,
264
264
  "type": "boolean"
265
+ },
266
+ "all": {
267
+ "char": "a",
268
+ "description": "Retun all containers. By default, only running containers are shown",
269
+ "name": "all",
270
+ "required": false,
271
+ "allowNo": false,
272
+ "type": "boolean"
265
273
  }
266
274
  },
267
275
  "hasDynamicHelp": false,
268
276
  "hiddenAliases": [],
269
- "id": "containers:prune",
277
+ "id": "containers",
270
278
  "pluginAlias": "@enspirit/emb",
271
279
  "pluginName": "@enspirit/emb",
272
280
  "pluginType": "core",
@@ -279,13 +287,13 @@
279
287
  "cli",
280
288
  "commands",
281
289
  "containers",
282
- "prune.js"
290
+ "index.js"
283
291
  ]
284
292
  },
285
- "config:print": {
293
+ "containers:prune": {
286
294
  "aliases": [],
287
295
  "args": {},
288
- "description": "Print the current config.",
296
+ "description": "Prune containers.",
289
297
  "examples": [
290
298
  "<%= config.bin %> <%= command.id %>"
291
299
  ],
@@ -296,19 +304,11 @@
296
304
  "name": "json",
297
305
  "allowNo": false,
298
306
  "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
307
  }
308
308
  },
309
309
  "hasDynamicHelp": false,
310
310
  "hiddenAliases": [],
311
- "id": "config:print",
311
+ "id": "containers:prune",
312
312
  "pluginAlias": "@enspirit/emb",
313
313
  "pluginName": "@enspirit/emb",
314
314
  "pluginType": "core",
@@ -320,42 +320,8 @@
320
320
  "src",
321
321
  "cli",
322
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"
323
+ "containers",
324
+ "prune.js"
359
325
  ]
360
326
  },
361
327
  "images:delete": {
@@ -484,6 +450,40 @@
484
450
  "prune.js"
485
451
  ]
486
452
  },
453
+ "run": {
454
+ "aliases": [],
455
+ "args": {
456
+ "component": {
457
+ "description": "Component name",
458
+ "name": "component",
459
+ "required": true
460
+ },
461
+ "script": {
462
+ "description": "NPM script to run",
463
+ "name": "script",
464
+ "required": true
465
+ }
466
+ },
467
+ "description": "Run an npm script from a component's package.json",
468
+ "flags": {},
469
+ "hasDynamicHelp": false,
470
+ "hiddenAliases": [],
471
+ "id": "run",
472
+ "pluginAlias": "@enspirit/emb",
473
+ "pluginName": "@enspirit/emb",
474
+ "pluginType": "core",
475
+ "strict": true,
476
+ "enableJsonFlag": false,
477
+ "isESM": true,
478
+ "relativePath": [
479
+ "dist",
480
+ "src",
481
+ "cli",
482
+ "commands",
483
+ "run",
484
+ "index.js"
485
+ ]
486
+ },
487
487
  "tasks": {
488
488
  "aliases": [],
489
489
  "args": {},
@@ -570,5 +570,5 @@
570
570
  ]
571
571
  }
572
572
  },
573
- "version": "0.0.4"
573
+ "version": "0.0.5"
574
574
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@enspirit/emb",
3
3
  "type": "module",
4
- "version": "0.0.4",
4
+ "version": "0.0.5",
5
5
  "keywords": ["monorepo", "docker", "taskrunner", "ci", "docker compose", "sentinel", "makefile"],
6
6
  "author": "Louis Lambeau <louis.lambeau@enspirit.be>",
7
7
  "license": "ISC",
@@ -29,6 +29,7 @@
29
29
  "version": "oclif readme && git add README.md"
30
30
  },
31
31
  "dependencies": {
32
+ "@fastify/deepmerge": "^3.1.0",
32
33
  "@listr2/manager": "^3.0.1",
33
34
  "@oclif/core": "^4.5.2",
34
35
  "@oclif/plugin-autocomplete": "^3.2.34",
@@ -55,7 +56,6 @@
55
56
  "devDependencies": {
56
57
  "@eslint/eslintrc": "^3.3.1",
57
58
  "@eslint/js": "^9.32.0",
58
- "@fastify/deepmerge": "^3.1.0",
59
59
  "@oclif/prettier-config": "^0.2.1",
60
60
  "@oclif/test": "^4",
61
61
  "@tsconfig/node20": "^20.1.6",