@travetto/model-redis 3.0.0-rc.10 → 3.0.0-rc.11

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/README.md CHANGED
@@ -40,7 +40,7 @@ export class Init {
40
40
 
41
41
  **Code: Structure of RedisModelConfig**
42
42
  ```typescript
43
- import * as redis from 'redis';
43
+ import type redis from 'redis';
44
44
 
45
45
  import { Config } from '@travetto/config';
46
46
  import { Field } from '@travetto/schema';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/model-redis",
3
- "version": "3.0.0-rc.10",
3
+ "version": "3.0.0-rc.11",
4
4
  "description": "Redis backing for the travetto model module.",
5
5
  "keywords": [
6
6
  "typescript",
@@ -25,12 +25,12 @@
25
25
  "directory": "module/model-redis"
26
26
  },
27
27
  "dependencies": {
28
- "@travetto/config": "^3.0.0-rc.10",
29
- "@travetto/model": "^3.0.0-rc.10",
30
- "redis": "^4.5.1"
28
+ "@travetto/config": "^3.0.0-rc.11",
29
+ "@travetto/model": "^3.0.0-rc.11",
30
+ "redis": "^4.6.4"
31
31
  },
32
32
  "peerDependencies": {
33
- "@travetto/command": "^3.0.0-rc.7"
33
+ "@travetto/command": "^3.0.0-rc.8"
34
34
  },
35
35
  "peerDependenciesMeta": {
36
36
  "@travetto/command": {
package/src/config.ts CHANGED
@@ -1,4 +1,4 @@
1
- import * as redis from 'redis';
1
+ import type redis from 'redis';
2
2
 
3
3
  import { Config } from '@travetto/config';
4
4
  import { Field } from '@travetto/schema';
@@ -1,9 +1,9 @@
1
1
  import { Env } from '@travetto/base';
2
- import type { Service } from '@travetto/command/support/bin/service';
2
+ import type { CommandService } from '@travetto/command';
3
3
 
4
- const version = Env.get('REDIS_VERSION', '5');
4
+ const version = Env.get('REDIS_VERSION', '7');
5
5
 
6
- export const service: Service = {
6
+ export const service: CommandService = {
7
7
  name: 'redis',
8
8
  version,
9
9
  port: 6379,