@rpcbase/cli 0.3.0 → 0.4.0

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": "@rpcbase/cli",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "license": "SSPL-1.0",
5
5
  "bin": {
6
6
  "rb": "./bin.js"
File without changes
@@ -26,9 +26,9 @@ const SERVICES = [
26
26
  },
27
27
  },
28
28
  {
29
- name: "database0",
29
+ name: "database",
30
30
  required_env: {
31
- "DATABASE_PORT_0": validate_port,
31
+ "DATABASE_PORT": validate_port,
32
32
  "DATABASE_NAME": (val) => {
33
33
  if (!/^[$A-Z_][0-9A-Z_$-]*$/i.test(val)) {
34
34
  return `expected ${chalk.bold(`'${val}'`)} to be a valid database name`
@@ -37,15 +37,15 @@ const SERVICES = [
37
37
  },
38
38
  },
39
39
  {
40
- name: "database1",
40
+ name: "worker-queue",
41
41
  required_env: {
42
- "DATABASE_PORT_1": validate_port
42
+ "WORKER_QUEUE_PORT": validate_port
43
43
  },
44
44
  },
45
45
  {
46
- name: "database2",
46
+ name: "session-store",
47
47
  required_env: {
48
- "DATABASE_PORT_2": validate_port
48
+ "SESSION_STORE_PORT": validate_port
49
49
  },
50
50
  },
51
51
  ]