@ts-cloud/core 0.7.75 → 0.7.77
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
|
@@ -22418,6 +22418,8 @@ function isManagementDashboardSiteName(name) {
|
|
|
22418
22418
|
function resolveManagementDashboardSites(config, environment, opts) {
|
|
22419
22419
|
if (hasManagementDashboardSite(config))
|
|
22420
22420
|
return [];
|
|
22421
|
+
if (config.cloud?.attachTo)
|
|
22422
|
+
return [];
|
|
22421
22423
|
const auth2 = opts.password ? { auth: { username: opts.username || "admin", password: opts.password, realm: opts.realm } } : {};
|
|
22422
22424
|
const build = opts.build === false || opts.build === undefined ? {} : { build: opts.build };
|
|
22423
22425
|
if (opts.live !== false) {
|
|
@@ -22433,7 +22435,7 @@ function resolveManagementDashboardSites(config, environment, opts) {
|
|
|
22433
22435
|
start: `bun ${DASHBOARD_ENTRY} dashboard:serve --box --host 127.0.0.1 --port ${port}`,
|
|
22434
22436
|
port,
|
|
22435
22437
|
env: {
|
|
22436
|
-
TS_CLOUD_DASHBOARD_TELEMETRY:
|
|
22438
|
+
TS_CLOUD_DASHBOARD_TELEMETRY: "1"
|
|
22437
22439
|
},
|
|
22438
22440
|
zeroDowntime: false,
|
|
22439
22441
|
sharedPaths: [DASHBOARD_STATE_DIR],
|
|
@@ -19,8 +19,10 @@ import type { CloudConfig, EnvironmentType, SiteConfig } from '../types';
|
|
|
19
19
|
* site on the box. Kept for boxes that cannot run the service.
|
|
20
20
|
*
|
|
21
21
|
* Live mode is single-host by design: one control panel per box, many sites,
|
|
22
|
-
* per-site grants (the Forge/Coolify model).
|
|
23
|
-
*
|
|
22
|
+
* per-site grants (the Forge/Coolify model). Attached projects never create
|
|
23
|
+
* another dashboard; the server owner's dashboard discovers their rpx fragments
|
|
24
|
+
* and managed services. Static mode fans out one dashboard per apex only for the
|
|
25
|
+
* server-owning project, since it is only serving the same files on each domain.
|
|
24
26
|
*/
|
|
25
27
|
export interface ManagementDashboardOptions {
|
|
26
28
|
/** Directory shipped as the static site root (built UI, or source dir + build). */
|
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.77",
|
|
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.77"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"typescript": "^7.0.2"
|