create-astram-app 0.9.6 → 0.9.7

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": "create-astram-app",
3
- "version": "0.9.6",
3
+ "version": "0.9.7",
4
4
  "license": "MIT",
5
5
  "description": "Scaffolder for a new Astram app — emits a running, framework-enforced NestJS server (deny-by-default, built-in auth/identity to switch on) and, with --with-frontend, a React admin/auth UI, over the immutable @astram/* framework packages.",
6
6
  "type": "module",
@@ -37,6 +37,16 @@ NODE_ENV=development
37
37
  # REQUIRED once auth is enabled (the app fails closed without the HMAC key) — but
38
38
  # irrelevant (unread) while auth is off.
39
39
  #
40
+ # Framework database namespace (ADR-0037). Unset ⇒ `shield`: databases shield_app,
41
+ # shield_identity, shield_authz, shield_audit and accounts shield_core, shield_migrate, ….
42
+ # Set one per environment to run several on one MariaDB server (`beta` ⇒ beta_* databases and
43
+ # accounts; provision them with the framework's `db-provision --namespace beta`). Letters and
44
+ # digits only. Use the SAME value for the server and `npm run migration:run`. With it set, the
45
+ # account and database defaults below follow it (APP_DB_USER ⇒ <ns>_core, APP_DB_NAME ⇒
46
+ # <ns>_identity, DDL_DB_USER ⇒ <ns>_migrate) and the migration ledger is <ns>_app. APP_DB_NAME must
47
+ # always be one of the four framework database names. Each namespace needs its own passwords.
48
+ # SHIELD_DB_NAMESPACE=beta
49
+ #
40
50
  # Runtime app DB account (DML — the running server uses this):
41
51
  # APP_DB_HOST=127.0.0.1
42
52
  # APP_DB_PORT=3306
@@ -20,12 +20,12 @@
20
20
  "postinstall": "node scripts/sync-astram-guide.mjs"
21
21
  },
22
22
  "dependencies": {
23
- "@astram/core": "^1.6.0",
24
- "@astram/engine": "^0.7.0",
25
- "@astram/guard": "^0.14.0",
26
- "@astram/guide": "^0.2.5",
27
- "@astram/identity": "^0.11.0",
28
- "@astram/migrate": "^0.4.0",
23
+ "@astram/core": "^1.7.0",
24
+ "@astram/engine": "^0.8.0",
25
+ "@astram/guard": "^0.15.0",
26
+ "@astram/guide": "^0.2.6",
27
+ "@astram/identity": "^0.12.0",
28
+ "@astram/migrate": "^0.5.0",
29
29
  "@astram/sdk": "^0.2.0",
30
30
  "@nestjs/common": "^11.2.7",
31
31
  "@nestjs/core": "^11.2.7",