@travetto/model 3.4.2 → 3.4.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/model",
3
- "version": "3.4.2",
3
+ "version": "3.4.4",
4
4
  "description": "Datastore abstraction for core operations.",
5
5
  "keywords": [
6
6
  "datastore",
@@ -26,14 +26,14 @@
26
26
  "directory": "module/model"
27
27
  },
28
28
  "dependencies": {
29
- "@travetto/config": "^3.4.2",
29
+ "@travetto/config": "^3.4.3",
30
30
  "@travetto/di": "^3.4.1",
31
31
  "@travetto/registry": "^3.4.1",
32
- "@travetto/schema": "^3.4.2"
32
+ "@travetto/schema": "^3.4.3"
33
33
  },
34
34
  "peerDependencies": {
35
- "@travetto/cli": "^3.4.4",
36
- "@travetto/test": "^3.4.1"
35
+ "@travetto/cli": "^3.4.6",
36
+ "@travetto/test": "^3.4.2"
37
37
  },
38
38
  "peerDependenciesMeta": {
39
39
  "@travetto/cli": {
@@ -1,4 +1,4 @@
1
- import { ConsoleManager, EnvInit } from '@travetto/base';
1
+ import { ConsoleManager, defineEnv } from '@travetto/base';
2
2
  import { CliValidationError, CliCommandShape, cliTpl } from '@travetto/cli';
3
3
  import { RootRegistry } from '@travetto/registry';
4
4
 
@@ -16,8 +16,8 @@ export abstract class BaseModelCommand implements CliCommandShape {
16
16
 
17
17
  abstract getOp(): keyof ModelStorageSupport;
18
18
 
19
- envInit(): EnvInit {
20
- return { debug: false };
19
+ preMain(): void {
20
+ defineEnv({ debug: false });
21
21
  }
22
22
 
23
23
  async help(): Promise<string[]> {