genesis-stack 1.0.1 → 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
|
@@ -25,13 +25,25 @@ JSKIT MySQL runtime, live-schema CRUD generation, and persistence conventions.
|
|
|
25
25
|
"kind": "mysql",
|
|
26
26
|
"environmentAlternatives": [
|
|
27
27
|
{
|
|
28
|
-
"
|
|
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
|
-
"
|
|
32
|
-
|
|
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
|
-
"
|
|
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
|
-
"
|
|
32
|
-
|
|
39
|
+
"bindings": {
|
|
40
|
+
"url": "DATABASE_URL"
|
|
41
|
+
}
|
|
33
42
|
}
|
|
34
43
|
]
|
|
35
44
|
}
|
package/stacks/pieces/jskit.md
CHANGED
|
@@ -35,9 +35,10 @@ application-owned composition.
|
|
|
35
35
|
composition, package-owned migrations, explicit repositories/features/named
|
|
36
36
|
actions, and current client resources without running a broad package update.
|
|
37
37
|
- Compare the real package scripts with JSKIT's current Workspace setup,
|
|
38
|
-
Launch, verification, and Deployment
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
Launch, verification, and consumer-owned Deployment proposal. Genesis keeps
|
|
39
|
+
that extra section opaque; the deployment consumer validates it. Older source
|
|
40
|
+
needs a complete project-owned override until a separately approved port
|
|
41
|
+
supplies the current commands.
|
|
41
42
|
- Inspect existing setup and database preparation for both migration discovery
|
|
42
43
|
and an app-owned idempotent seed. Never infer `db:prepare` from the selected
|
|
43
44
|
component when the script or preparation file does not exist.
|
|
@@ -110,6 +111,6 @@ application-owned composition.
|
|
|
110
111
|
- Remove pass-through wrappers and abandoned scaffold code only when doing so
|
|
111
112
|
preserves routes, placements, baseline tests, and observable behavior.
|
|
112
113
|
|
|
113
|
-
##
|
|
114
|
+
## Verification
|
|
114
115
|
|
|
115
116
|
- Verify `application`: `npm` `run` `verify`
|