@ts-cloud/core 0.7.96 → 0.7.97

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -22427,6 +22427,7 @@ function resolveManagementDashboardSites(config, environment, opts) {
22427
22427
  if (!domain)
22428
22428
  return [];
22429
22429
  const port = opts.port ?? deriveManagementDashboardPort(domain);
22430
+ const database2 = config.infrastructure?.appDatabase ?? config.infrastructure?.compute?.database;
22430
22431
  const site = {
22431
22432
  root: opts.uiRoot,
22432
22433
  deploy: "server",
@@ -22437,7 +22438,8 @@ function resolveManagementDashboardSites(config, environment, opts) {
22437
22438
  env: {
22438
22439
  APP_ENV: "production",
22439
22440
  NODE_ENV: "production",
22440
- TS_CLOUD_DASHBOARD_TELEMETRY: "1"
22441
+ TS_CLOUD_DASHBOARD_TELEMETRY: "1",
22442
+ ...database2?.password ? { TS_CLOUD_DASHBOARD_DB_PASSWORD: database2.password } : {}
22441
22443
  },
22442
22444
  zeroDowntime: false,
22443
22445
  sharedPaths: [DASHBOARD_STATE_DIR],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ts-cloud/core",
3
3
  "type": "module",
4
- "version": "0.7.96",
4
+ "version": "0.7.97",
5
5
  "description": "Core CloudFormation generation library for ts-cloud",
6
6
  "author": "Chris Breuer <chris@stacksjs.com>",
7
7
  "license": "MIT",
@@ -31,7 +31,7 @@
31
31
  "typecheck": "tsc --noEmit"
32
32
  },
33
33
  "dependencies": {
34
- "@ts-cloud/aws-types": "0.7.96"
34
+ "@ts-cloud/aws-types": "0.7.97"
35
35
  },
36
36
  "devDependencies": {
37
37
  "typescript": "^7.0.2"