@cloud-cli/env 1.1.3 → 1.1.4

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
@@ -4,7 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
4
4
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
- import { Model, NotNull, Property, Query, Resource, Unique } from '@cloud-cli/store';
7
+ import { Model, NotNull, Property, Query, Resource, SQLiteDriver, Unique } from '@cloud-cli/store';
8
8
  import { init } from '@cloud-cli/cli';
9
9
  const appNotSpecifiedError = new Error('App not specified');
10
10
  const keyNotSpecifiedError = new Error('Key not specified');
@@ -27,6 +27,7 @@ EnvEntry = __decorate([
27
27
  Model('env')
28
28
  ], EnvEntry);
29
29
  async function reload() {
30
+ Resource.use(new SQLiteDriver());
30
31
  await Resource.create(EnvEntry);
31
32
  }
32
33
  async function show(options) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloud-cli/env",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "Storage for app environment variables",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",