@ts-cloud/core 0.7.87 → 0.7.89
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/dist/index.js
CHANGED
|
@@ -22332,7 +22332,7 @@ function createDashboardSite(options) {
|
|
|
22332
22332
|
}
|
|
22333
22333
|
// src/presets/management-dashboard.ts
|
|
22334
22334
|
var DASHBOARD_STATE_DIR = DEFAULT_STATE_DIR;
|
|
22335
|
-
var DASHBOARD_ENTRY = "./node_modules/@stacksjs/ts-cloud/dist/bin/
|
|
22335
|
+
var DASHBOARD_ENTRY = "./node_modules/@stacksjs/ts-cloud/dist/bin/dashboard-server.js";
|
|
22336
22336
|
function apexOf(domain) {
|
|
22337
22337
|
const parts = domain.split(".").filter(Boolean);
|
|
22338
22338
|
return parts.length <= 2 ? domain : parts.slice(-2).join(".");
|
|
@@ -22432,7 +22432,7 @@ function resolveManagementDashboardSites(config, environment, opts) {
|
|
|
22432
22432
|
deploy: "server",
|
|
22433
22433
|
domain,
|
|
22434
22434
|
preStart: ["bun install --production --no-save"],
|
|
22435
|
-
start: `bun ${DASHBOARD_ENTRY}
|
|
22435
|
+
start: `bun ${DASHBOARD_ENTRY} --box --host 127.0.0.1 --port ${port}`,
|
|
22436
22436
|
port,
|
|
22437
22437
|
env: {
|
|
22438
22438
|
APP_ENV: "production",
|
|
@@ -70,15 +70,14 @@ export interface ManagementDashboardOptions {
|
|
|
70
70
|
*/
|
|
71
71
|
export declare const DASHBOARD_STATE_DIR: string;
|
|
72
72
|
/**
|
|
73
|
-
* The dashboard service's entry
|
|
74
|
-
* installed from npm by the release's `bun install`, so this path exists
|
|
75
|
-
* box without the deploy having to ship a binary.
|
|
73
|
+
* The dashboard service's dedicated production entry inside its release dir.
|
|
74
|
+
* It is installed from npm by the release's `bun install`, so this path exists
|
|
75
|
+
* on the box without the deploy having to ship a separate binary.
|
|
76
76
|
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
* be resolved by bun as a FILE to execute, and the service would never start.
|
|
77
|
+
* This avoids loading the general-purpose cloud CLI and every command module
|
|
78
|
+
* into a long-running monitoring process.
|
|
80
79
|
*/
|
|
81
|
-
export declare const DASHBOARD_ENTRY = "./node_modules/@stacksjs/ts-cloud/dist/bin/
|
|
80
|
+
export declare const DASHBOARD_ENTRY = "./node_modules/@stacksjs/ts-cloud/dist/bin/dashboard-server.js";
|
|
82
81
|
/**
|
|
83
82
|
* Loopback port band for box-mode dashboards. Chosen to sit ABOVE the app port
|
|
84
83
|
* range projects use (3000s) and BELOW the Linux ephemeral range (32768+), so a
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ts-cloud/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.89",
|
|
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.
|
|
34
|
+
"@ts-cloud/aws-types": "0.7.89"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"typescript": "^7.0.2"
|