@enspirit/emb 0.5.0 → 0.5.1

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.5.0 darwin-x64 node-v22.18.0
17
+ @enspirit/emb/0.5.1 darwin-x64 node-v22.18.0
18
18
  $ emb --help [COMMAND]
19
19
  USAGE
20
20
  $ emb COMMAND
@@ -188,6 +188,17 @@
188
188
  "type": "string",
189
189
  "description": "The stage to target for the build"
190
190
  },
191
+ "labels": {
192
+ "type": "object",
193
+ "additionalProperties": {
194
+ "type": "string"
195
+ },
196
+ "description": "Labels to apply to the resulting image"
197
+ },
198
+ "context": {
199
+ "type": "string",
200
+ "description": "The context folder for the docker build"
201
+ },
191
202
  "dockerfile": {
192
203
  "type": "string",
193
204
  "description": "The Dockerfile to use"
@@ -232,8 +243,7 @@
232
243
  "then": {
233
244
  "properties": {
234
245
  "params": { "$ref": "#/definitions/DockerImageConfig" }
235
- },
236
- "required": ["params"]
246
+ }
237
247
  }
238
248
  },
239
249
  {
@@ -260,10 +260,12 @@
260
260
  "shell.js"
261
261
  ]
262
262
  },
263
- "config:print": {
264
- "aliases": [],
263
+ "containers": {
264
+ "aliases": [
265
+ "ps"
266
+ ],
265
267
  "args": {},
266
- "description": "Print the current config.",
268
+ "description": "List docker containers.",
267
269
  "examples": [
268
270
  "<%= config.bin %> <%= command.id %>"
269
271
  ],
@@ -275,21 +277,22 @@
275
277
  "allowNo": false,
276
278
  "type": "boolean"
277
279
  },
278
- "flavor": {
279
- "description": "Specify the flavor to use.",
280
- "name": "flavor",
280
+ "all": {
281
+ "char": "a",
282
+ "description": "Retun all containers. By default, only running containers are shown",
283
+ "name": "all",
281
284
  "required": false,
282
- "hasDynamicHelp": false,
283
- "multiple": false,
284
- "type": "option"
285
+ "allowNo": false,
286
+ "type": "boolean"
285
287
  }
286
288
  },
287
289
  "hasDynamicHelp": false,
288
290
  "hiddenAliases": [],
289
- "id": "config:print",
291
+ "id": "containers",
290
292
  "pluginAlias": "@enspirit/emb",
291
293
  "pluginName": "@enspirit/emb",
292
294
  "pluginType": "core",
295
+ "strict": true,
293
296
  "enableJsonFlag": true,
294
297
  "isESM": true,
295
298
  "relativePath": [
@@ -297,16 +300,14 @@
297
300
  "src",
298
301
  "cli",
299
302
  "commands",
300
- "config",
301
- "print.js"
303
+ "containers",
304
+ "index.js"
302
305
  ]
303
306
  },
304
- "containers": {
305
- "aliases": [
306
- "ps"
307
- ],
307
+ "containers:prune": {
308
+ "aliases": [],
308
309
  "args": {},
309
- "description": "List docker containers.",
310
+ "description": "Prune containers.",
310
311
  "examples": [
311
312
  "<%= config.bin %> <%= command.id %>"
312
313
  ],
@@ -317,19 +318,11 @@
317
318
  "name": "json",
318
319
  "allowNo": false,
319
320
  "type": "boolean"
320
- },
321
- "all": {
322
- "char": "a",
323
- "description": "Retun all containers. By default, only running containers are shown",
324
- "name": "all",
325
- "required": false,
326
- "allowNo": false,
327
- "type": "boolean"
328
321
  }
329
322
  },
330
323
  "hasDynamicHelp": false,
331
324
  "hiddenAliases": [],
332
- "id": "containers",
325
+ "id": "containers:prune",
333
326
  "pluginAlias": "@enspirit/emb",
334
327
  "pluginName": "@enspirit/emb",
335
328
  "pluginType": "core",
@@ -342,13 +335,13 @@
342
335
  "cli",
343
336
  "commands",
344
337
  "containers",
345
- "index.js"
338
+ "prune.js"
346
339
  ]
347
340
  },
348
- "containers:prune": {
341
+ "config:print": {
349
342
  "aliases": [],
350
343
  "args": {},
351
- "description": "Prune containers.",
344
+ "description": "Print the current config.",
352
345
  "examples": [
353
346
  "<%= config.bin %> <%= command.id %>"
354
347
  ],
@@ -359,15 +352,22 @@
359
352
  "name": "json",
360
353
  "allowNo": false,
361
354
  "type": "boolean"
355
+ },
356
+ "flavor": {
357
+ "description": "Specify the flavor to use.",
358
+ "name": "flavor",
359
+ "required": false,
360
+ "hasDynamicHelp": false,
361
+ "multiple": false,
362
+ "type": "option"
362
363
  }
363
364
  },
364
365
  "hasDynamicHelp": false,
365
366
  "hiddenAliases": [],
366
- "id": "containers:prune",
367
+ "id": "config:print",
367
368
  "pluginAlias": "@enspirit/emb",
368
369
  "pluginName": "@enspirit/emb",
369
370
  "pluginType": "core",
370
- "strict": true,
371
371
  "enableJsonFlag": true,
372
372
  "isESM": true,
373
373
  "relativePath": [
@@ -375,8 +375,8 @@
375
375
  "src",
376
376
  "cli",
377
377
  "commands",
378
- "containers",
379
- "prune.js"
378
+ "config",
379
+ "print.js"
380
380
  ]
381
381
  },
382
382
  "images:delete": {
@@ -710,5 +710,5 @@
710
710
  ]
711
711
  }
712
712
  },
713
- "version": "0.5.0"
713
+ "version": "0.5.1"
714
714
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@enspirit/emb",
3
3
  "type": "module",
4
- "version": "0.5.0",
4
+ "version": "0.5.1",
5
5
  "keywords": [
6
6
  "monorepo",
7
7
  "docker",