@code-partner/codepipe-hub 0.14.1-dev.389.g16ca7a21 → 0.14.1-dev.390.g897b6f57
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/hub/dist/index.js +14 -3
- package/package.json +1 -1
package/hub/dist/index.js
CHANGED
|
@@ -13,7 +13,7 @@ var PLATFORM_VERSION;
|
|
|
13
13
|
var init_version_generated = __esm({
|
|
14
14
|
"../packages/shared/dist/version.generated.js"() {
|
|
15
15
|
"use strict";
|
|
16
|
-
PLATFORM_VERSION = "0.14.1-dev.
|
|
16
|
+
PLATFORM_VERSION = "0.14.1-dev.390.g897b6f57";
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
19
|
|
|
@@ -41,6 +41,15 @@ var init_hub_url = __esm({
|
|
|
41
41
|
}
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
+
// ../packages/shared/dist/local-hub.js
|
|
45
|
+
var LOCAL_HUB_OWNER_EMAIL;
|
|
46
|
+
var init_local_hub = __esm({
|
|
47
|
+
"../packages/shared/dist/local-hub.js"() {
|
|
48
|
+
"use strict";
|
|
49
|
+
LOCAL_HUB_OWNER_EMAIL = "local-owner@localhost";
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
|
|
44
53
|
// ../packages/shared/dist/context-template.js
|
|
45
54
|
var init_context_template = __esm({
|
|
46
55
|
"../packages/shared/dist/context-template.js"() {
|
|
@@ -3001,6 +3010,7 @@ var init_dist = __esm({
|
|
|
3001
3010
|
"use strict";
|
|
3002
3011
|
init_version();
|
|
3003
3012
|
init_hub_url();
|
|
3013
|
+
init_local_hub();
|
|
3004
3014
|
init_context_template();
|
|
3005
3015
|
init_project_map();
|
|
3006
3016
|
init_phase();
|
|
@@ -22178,6 +22188,7 @@ var init_ws = __esm({
|
|
|
22178
22188
|
init_dist();
|
|
22179
22189
|
|
|
22180
22190
|
// src/config.ts
|
|
22191
|
+
init_dist();
|
|
22181
22192
|
import { randomBytes } from "node:crypto";
|
|
22182
22193
|
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
22183
22194
|
import { resolve } from "node:path";
|
|
@@ -22305,8 +22316,8 @@ function loadLocalConfig() {
|
|
|
22305
22316
|
baseUrl: process.env["HUB_BASE_URL"] ?? `http://127.0.0.1:${port}`,
|
|
22306
22317
|
consoleBaseUrl: "",
|
|
22307
22318
|
databaseUrl: `sqlite:${resolve(dataDir, "codepipe.db")}`,
|
|
22308
|
-
adminEmail:
|
|
22309
|
-
registrationNotifyEmail:
|
|
22319
|
+
adminEmail: LOCAL_HUB_OWNER_EMAIL,
|
|
22320
|
+
registrationNotifyEmail: LOCAL_HUB_OWNER_EMAIL,
|
|
22310
22321
|
sessionCookieSecret: process.env["HUB_SESSION_COOKIE_SECRET"] ?? localSecret(dataDir, "session-secret", 32),
|
|
22311
22322
|
// The break-glass ownerless registration token must never be well-known:
|
|
22312
22323
|
// any process reaching the loopback port could otherwise register a
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@code-partner/codepipe-hub",
|
|
3
|
-
"version": "0.14.1-dev.
|
|
3
|
+
"version": "0.14.1-dev.390.g897b6f57",
|
|
4
4
|
"description": "The CodePipe hub, packaged for one machine: the CLI installs it on demand for the local profile.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./hub/dist/index.js",
|