@cloud-cli/env 1.3.0 → 1.3.2

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/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare class EnvEntry {
1
+ export interface EnvEntry {
2
2
  app: string;
3
3
  key: string;
4
4
  value: string;
package/dist/index.js CHANGED
@@ -2,8 +2,6 @@ import { getStorage } from '@cloud-cli/cli';
2
2
  const appNotSpecifiedError = new Error('App not specified');
3
3
  const keyNotSpecifiedError = new Error('Key not specified');
4
4
  const { get, set, remove, getAll } = getStorage('env');
5
- export class EnvEntry {
6
- }
7
5
  async function show(options) {
8
6
  const app = options.app || options.name;
9
7
  if (!app) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloud-cli/env",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "Storage for app environment variables",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -28,7 +28,7 @@
28
28
  "publishConfig": {
29
29
  "access": "public"
30
30
  },
31
- "dependencies": {
32
- "@cloud-cli/cli": "^1.4.4"
31
+ "peerDependencies": {
32
+ "@cloud-cli/cli": "^2.0.0"
33
33
  }
34
34
  }