@cloud-cli/dx 1.2.0 → 1.2.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.
Files changed (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,10 +1,11 @@
1
1
  import { init } from '@cloud-cli/cli';
2
- import { Resource } from '@cloud-cli/store';
2
+ import { Resource, SQLiteDriver } from '@cloud-cli/store';
3
3
  import { Container } from './store.js';
4
4
  import { getRunningContainers, getLogs, startContainer, stopContainer } from './containers.js';
5
5
  import { addContainer, removeContainer, listContainers, updateContainer, getContainer } from './store.js';
6
6
  import { pull } from './images.js';
7
7
  async function reload() {
8
+ Resource.use(new SQLiteDriver());
8
9
  await Resource.create(Container);
9
10
  }
10
11
  export default {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloud-cli/dx",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Docker container management",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",