@cloud-cli/dx 1.7.1 → 1.7.3

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.
@@ -19,7 +19,7 @@ export async function getLogs({ name, lines }) {
19
19
  }
20
20
  const sh = await exec('docker', args);
21
21
  if (sh.ok) {
22
- return sh.stdout;
22
+ return [sh.stdout, sh.stderr].join('\n');
23
23
  }
24
24
  return '';
25
25
  }
package/dist/index.d.ts CHANGED
@@ -2,8 +2,8 @@ import { init } from '@cloud-cli/cli';
2
2
  import { getRunningContainers, getLogs, startContainer, stopContainer, refreshContainer, startAll } from './containers.js';
3
3
  import { addContainer, removeContainer, listContainers, updateContainer, getContainer } from './store.js';
4
4
  import { pull, prune } from './images.js';
5
- import { Config } from './config';
6
- export { Config } from './config';
5
+ import { Config } from './config.js';
6
+ export type { Config } from './config.js';
7
7
  declare const _default: {
8
8
  pull: typeof pull;
9
9
  prune: typeof prune;
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import { Container } from './store.js';
4
4
  import { getRunningContainers, getLogs, startContainer, stopContainer, refreshContainer, startAll } from './containers.js';
5
5
  import { addContainer, removeContainer, listContainers, updateContainer, getContainer } from './store.js';
6
6
  import { pull, prune } from './images.js';
7
- import { setConfig } from './config';
7
+ import { setConfig } from './config.js';
8
8
  async function initResource() {
9
9
  Resource.use(new SQLiteDriver());
10
10
  await Resource.create(Container);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloud-cli/dx",
3
- "version": "1.7.1",
3
+ "version": "1.7.3",
4
4
  "description": "Docker container management",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",