genesis-stack 1.0.2 → 1.0.3

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": "genesis-stack",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "The optional curated technology Stack catalog for Genesis projects.",
5
5
  "type": "module",
6
6
  "repository": {
@@ -25,13 +25,25 @@ JSKIT MySQL runtime, live-schema CRUD generation, and persistence conventions.
25
25
  "kind": "mysql",
26
26
  "environmentAlternatives": [
27
27
  {
28
- "required": ["DATABASE_URL"]
28
+ "bindings": {
29
+ "database": "DB_NAME",
30
+ "host": "DB_HOST",
31
+ "password": "DB_PASSWORD",
32
+ "port": "DB_PORT",
33
+ "username": "DB_USER"
34
+ },
35
+ "allowEmpty": ["password"],
36
+ "preferred": true
29
37
  },
30
38
  {
31
- "required": ["DB_HOST", "DB_PORT", "DB_NAME", "DB_USER", "DB_PASSWORD"],
32
- "allowEmpty": ["DB_PASSWORD"]
39
+ "bindings": {
40
+ "url": "DATABASE_URL"
41
+ }
33
42
  }
34
- ]
43
+ ],
44
+ "optionalBindings": {
45
+ "testDatabase": "TEST_DB_NAME"
46
+ }
35
47
  }
36
48
  ```
37
49
 
@@ -25,11 +25,20 @@ JSKIT PostgreSQL runtime, live-schema CRUD generation, and persistence conventio
25
25
  "kind": "postgresql",
26
26
  "environmentAlternatives": [
27
27
  {
28
- "required": ["DATABASE_URL"]
28
+ "bindings": {
29
+ "database": "DB_NAME",
30
+ "host": "DB_HOST",
31
+ "password": "DB_PASSWORD",
32
+ "port": "DB_PORT",
33
+ "username": "DB_USER"
34
+ },
35
+ "allowEmpty": ["password"],
36
+ "preferred": true
29
37
  },
30
38
  {
31
- "required": ["DB_HOST", "DB_PORT", "DB_NAME", "DB_USER", "DB_PASSWORD"],
32
- "allowEmpty": ["DB_PASSWORD"]
39
+ "bindings": {
40
+ "url": "DATABASE_URL"
41
+ }
33
42
  }
34
43
  ]
35
44
  }