@cloud-cli/dx 2.5.0 → 2.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
@@ -1,10 +1,10 @@
1
- ## DX
1
+ # DX
2
2
 
3
3
  Run Docker containers
4
4
 
5
5
  ## Install
6
6
 
7
- ```
7
+ ```sh
8
8
  npm i @cloud-cli/dx
9
9
  ```
10
10
 
@@ -24,10 +24,10 @@ cy dx.updateAll --image node:latest
24
24
 
25
25
  ## Options
26
26
 
27
- | Option | Description |
28
- |-|-|
29
- | name | Required. Container name |
30
- | image | Required: Container image |
31
- | volumes | Comma-separated list of volume bindings |
32
- | port | Empty = random port. `:port` = random host port. `number` = fixed port on host and container |
33
- | domain | Domain to bind this container to. Requires `@cloud-cli/px` and `@cloud-cli/dns` |
27
+ | Option | Description |
28
+ | ------- | -------------------------------------------------------------------------------------------- |
29
+ | name | Required. Container name |
30
+ | image | Required: Container image |
31
+ | volumes | Comma-separated list of volume bindings |
32
+ | port | Empty = random port. `:port` = random host port. `number` = fixed port on host and container |
33
+ | domain | Domain to bind this container to. Requires `@cloud-cli/px` and `@cloud-cli/dns` |
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { getLogs, refreshContainer, restartContainer, startAll, startContainer, stopContainer, renameContainer, runContainer } from "./containers.js";
1
+ import { getLogs, refreshContainer, restartContainer, startAll, updateAll, startContainer, stopContainer, renameContainer, runContainer } from "./containers.js";
2
2
  import { prune, pull } from "./images.js";
3
3
  import { addContainer, getContainer, listContainers, removeContainer, updateContainer } from "./store.js";
4
4
  export type { Config } from "./types.js";
@@ -16,6 +16,7 @@ declare const _default: {
16
16
  refresh: typeof refreshContainer;
17
17
  update: typeof updateContainer;
18
18
  startAll: typeof startAll;
19
+ updateAll: typeof updateAll;
19
20
  start: typeof startContainer;
20
21
  run: typeof runContainer;
21
22
  stop: typeof stopContainer;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { getAllContainers, getLogs, getRunningContainers, refreshContainer, restartContainer, startAll, startContainer, stopContainer, renameContainer, runContainer, } from "./containers.js";
1
+ import { getAllContainers, getLogs, getRunningContainers, refreshContainer, restartContainer, startAll, updateAll, startContainer, stopContainer, renameContainer, runContainer, } from "./containers.js";
2
2
  import { prune, pull } from "./images.js";
3
3
  import { addContainer, getContainer, listContainers, removeContainer, updateContainer, } from "./store.js";
4
4
  function ps(options = {}) {
@@ -18,6 +18,7 @@ export default {
18
18
  refresh: refreshContainer,
19
19
  update: updateContainer,
20
20
  startAll,
21
+ updateAll,
21
22
  start: startContainer,
22
23
  run: runContainer,
23
24
  stop: stopContainer,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloud-cli/dx",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "description": "Docker container management",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",