@geekmidas/cli 10.0.0-alpha.83 → 10.0.0-alpha.85
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/{EndpointGenerator-DtnIGafh.mjs → EndpointGenerator-CVc6Oi1Y.mjs} +185 -82
- package/dist/EndpointGenerator-CVc6Oi1Y.mjs.map +1 -0
- package/dist/{EndpointGenerator-cKlnllIu.cjs → EndpointGenerator-CwLjBCFE.cjs} +203 -82
- package/dist/EndpointGenerator-CwLjBCFE.cjs.map +1 -0
- package/dist/{LegacyStateStore-DFO3aJgs.mjs → LegacyStateStore-CJ2o18nT.mjs} +2 -2
- package/dist/{LegacyStateStore-DFO3aJgs.mjs.map → LegacyStateStore-CJ2o18nT.mjs.map} +1 -1
- package/dist/{LegacyStateStore-iUWVxrXU.cjs → LegacyStateStore-xGxPwP-m.cjs} +2 -2
- package/dist/{LegacyStateStore-iUWVxrXU.cjs.map → LegacyStateStore-xGxPwP-m.cjs.map} +1 -1
- package/dist/{LocalStateStore-DIfuh0Z1.mjs → LocalStateStore-ByVjUIvS.mjs} +12 -10
- package/dist/LocalStateStore-ByVjUIvS.mjs.map +1 -0
- package/dist/{LocalStateStore-BsFHdSeA.cjs → LocalStateStore-CkjFD-4b.cjs} +11 -9
- package/dist/LocalStateStore-CkjFD-4b.cjs.map +1 -0
- package/dist/{OpenApiTsGenerator-CdUM6Hvv.cjs → OpenApiTsGenerator-B--HV-sW.cjs} +2 -2
- package/dist/{OpenApiTsGenerator-CdUM6Hvv.cjs.map → OpenApiTsGenerator-B--HV-sW.cjs.map} +1 -1
- package/dist/{OpenApiTsGenerator-ByRPMbBN.mjs → OpenApiTsGenerator-CkvsPdgg.mjs} +2 -2
- package/dist/{OpenApiTsGenerator-ByRPMbBN.mjs.map → OpenApiTsGenerator-CkvsPdgg.mjs.map} +1 -1
- package/dist/{S3StateStore-ytvpIiv8.cjs → S3StateStore-iqMezbES.cjs} +2 -2
- package/dist/{S3StateStore-ytvpIiv8.cjs.map → S3StateStore-iqMezbES.cjs.map} +1 -1
- package/dist/{S3StateStore-DR2f78Dj.mjs → S3StateStore-kpFlGVLE.mjs} +2 -2
- package/dist/{S3StateStore-DR2f78Dj.mjs.map → S3StateStore-kpFlGVLE.mjs.map} +1 -1
- package/dist/{SSMStateStore-BZ3XL0Mr.mjs → SSMStateStore-Bkz5ztfo.mjs} +2 -2
- package/dist/{SSMStateStore-BZ3XL0Mr.mjs.map → SSMStateStore-Bkz5ztfo.mjs.map} +1 -1
- package/dist/{SSMStateStore-C1JruCD9.cjs → SSMStateStore-Z2OMVCtq.cjs} +2 -2
- package/dist/{SSMStateStore-C1JruCD9.cjs.map → SSMStateStore-Z2OMVCtq.cjs.map} +1 -1
- package/dist/{SubscriberGenerator-DQZeGkDW.mjs → SubscriberGenerator-BPqQf8fB.mjs} +2 -2
- package/dist/{SubscriberGenerator-DQZeGkDW.mjs.map → SubscriberGenerator-BPqQf8fB.mjs.map} +1 -1
- package/dist/{SubscriberGenerator-CYriX5BV.cjs → SubscriberGenerator-BVn7cQ-2.cjs} +2 -2
- package/dist/{SubscriberGenerator-CYriX5BV.cjs.map → SubscriberGenerator-BVn7cQ-2.cjs.map} +1 -1
- package/dist/{add-Bwddb4KD.cjs → add-CM7RLj89.cjs} +3 -3
- package/dist/{add-Bwddb4KD.cjs.map → add-CM7RLj89.cjs.map} +1 -1
- package/dist/{add-DkBEZ5_s.mjs → add-jpX7M8RB.mjs} +3 -3
- package/dist/{add-DkBEZ5_s.mjs.map → add-jpX7M8RB.mjs.map} +1 -1
- package/dist/{bundler-B8TGsunu.mjs → bundler-CaAKsbcN.mjs} +5 -5
- package/dist/{bundler-B8TGsunu.mjs.map → bundler-CaAKsbcN.mjs.map} +1 -1
- package/dist/{bundler-BkH1kPEX.cjs → bundler-lEBH8ENP.cjs} +5 -5
- package/dist/{bundler-BkH1kPEX.cjs.map → bundler-lEBH8ENP.cjs.map} +1 -1
- package/dist/{cli-BgDd4cZB.mjs → cli-BV3jzbk0.mjs} +3 -3
- package/dist/{cli-BgDd4cZB.mjs.map → cli-BV3jzbk0.mjs.map} +1 -1
- package/dist/{cli-DO7DQqCq.cjs → cli-DQCBcNlN.cjs} +3 -3
- package/dist/{cli-DO7DQqCq.cjs.map → cli-DQCBcNlN.cjs.map} +1 -1
- package/dist/{compose-BPJ9bUKp.mjs → compose-CQK6StuE.mjs} +86 -28
- package/dist/compose-CQK6StuE.mjs.map +1 -0
- package/dist/{compose-CGyxYe-h.cjs → compose-CSR0yEJm.cjs} +85 -27
- package/dist/compose-CSR0yEJm.cjs.map +1 -0
- package/dist/{config-DMdzdO5u.d.cts → config-BzIfP8a-.d.cts} +16 -3
- package/dist/config-BzIfP8a-.d.cts.map +1 -0
- package/dist/{config-BBFiH4qk.d.mts → config-DhdzmndX.d.mts} +16 -3
- package/dist/config-DhdzmndX.d.mts.map +1 -0
- package/dist/config.cjs +1 -1
- package/dist/config.d.cts +3 -3
- package/dist/config.d.mts +3 -3
- package/dist/config.mjs +1 -1
- package/dist/deploy/public.cjs +6 -6
- package/dist/deploy/public.d.cts +3 -3
- package/dist/deploy/public.d.cts.map +1 -1
- package/dist/deploy/public.d.mts +3 -3
- package/dist/deploy/public.d.mts.map +1 -1
- package/dist/deploy/public.mjs +6 -6
- package/dist/{deploy-0XpZDYAr.mjs → deploy-BuU117CA.mjs} +14 -5
- package/dist/deploy-BuU117CA.mjs.map +1 -0
- package/dist/{deploy-BlZx6J5x.cjs → deploy-Bw2Mm3x3.cjs} +14 -5
- package/dist/deploy-Bw2Mm3x3.cjs.map +1 -0
- package/dist/{dokploy-rjXmkuwH.cjs → dokploy-C81J1MVK.cjs} +2 -2
- package/dist/{dokploy-rjXmkuwH.cjs.map → dokploy-C81J1MVK.cjs.map} +1 -1
- package/dist/{dokploy-Crh4uDmP.mjs → dokploy-DWALWk7u.mjs} +2 -2
- package/dist/{dokploy-Crh4uDmP.mjs.map → dokploy-DWALWk7u.mjs.map} +1 -1
- package/dist/{drivers-B4RP2B2O.mjs → drivers-DTZzxeIl.mjs} +2 -2
- package/dist/{drivers-B4RP2B2O.mjs.map → drivers-DTZzxeIl.mjs.map} +1 -1
- package/dist/{drivers-CJx76mcb.cjs → drivers-LYSdQDmd.cjs} +2 -2
- package/dist/{drivers-CJx76mcb.cjs.map → drivers-LYSdQDmd.cjs.map} +1 -1
- package/dist/{encryption-CxTfRx4h.cjs → encryption-B8h8Tna0.cjs} +3 -3
- package/dist/{encryption-CxTfRx4h.cjs.map → encryption-B8h8Tna0.cjs.map} +1 -1
- package/dist/{encryption-0eo9aY_H.mjs → encryption-DpAum8W7.mjs} +3 -3
- package/dist/{encryption-0eo9aY_H.mjs.map → encryption-DpAum8W7.mjs.map} +1 -1
- package/dist/{engine-CMzSebbs.cjs → engine-B01fjhLt.cjs} +33 -13
- package/dist/engine-B01fjhLt.cjs.map +1 -0
- package/dist/{engine-DxWswfXe.mjs → engine-BXCtEhSH.mjs} +33 -13
- package/dist/engine-BXCtEhSH.mjs.map +1 -0
- package/dist/{github-HOfOpFI_.mjs → github-8B68qrLs.mjs} +3 -3
- package/dist/{github-HOfOpFI_.mjs.map → github-8B68qrLs.mjs.map} +1 -1
- package/dist/{github-Dukt5cJe.cjs → github-Cis9tYur.cjs} +3 -3
- package/dist/{github-Dukt5cJe.cjs.map → github-Cis9tYur.cjs.map} +1 -1
- package/dist/{index-Wuqpf316.d.mts → index-D1ODeM9s.d.cts} +2 -2
- package/dist/{index-DFrbhRwg.d.cts.map → index-D1ODeM9s.d.cts.map} +1 -1
- package/dist/{index-DFrbhRwg.d.cts → index-f77HdqN5.d.mts} +2 -2
- package/dist/{index-Wuqpf316.d.mts.map → index-f77HdqN5.d.mts.map} +1 -1
- package/dist/index.cjs +173 -70
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +173 -70
- package/dist/index.mjs.map +1 -1
- package/dist/{migrate-BgPWVnAZ.cjs → migrate-BBCp5blp.cjs} +3 -3
- package/dist/{migrate-BgPWVnAZ.cjs.map → migrate-BBCp5blp.cjs.map} +1 -1
- package/dist/{migrate-1dGEzuJ-.mjs → migrate-BeTWLSeC.mjs} +3 -3
- package/dist/{migrate-1dGEzuJ-.mjs.map → migrate-BeTWLSeC.mjs.map} +1 -1
- package/dist/{migrate-Bemd4tkz.cjs → migrate-CPWn7A51.cjs} +3 -3
- package/dist/{migrate-Bemd4tkz.cjs.map → migrate-CPWn7A51.cjs.map} +1 -1
- package/dist/{migrate-C14NNbFx.mjs → migrate-sDq7NApJ.mjs} +3 -3
- package/dist/{migrate-C14NNbFx.mjs.map → migrate-sDq7NApJ.mjs.map} +1 -1
- package/dist/openapi.cjs +3 -3
- package/dist/openapi.d.cts +1 -1
- package/dist/openapi.d.mts +1 -1
- package/dist/openapi.mjs +3 -3
- package/dist/{ready-4kx2pAhm.cjs → ready-BpNbORRB.cjs} +5 -5
- package/dist/{ready-4kx2pAhm.cjs.map → ready-BpNbORRB.cjs.map} +1 -1
- package/dist/{ready-DhZbZtFw.mjs → ready-b6vm0-W-.mjs} +5 -5
- package/dist/{ready-DhZbZtFw.mjs.map → ready-b6vm0-W-.mjs.map} +1 -1
- package/dist/reconcile/public.d.cts +1 -1
- package/dist/reconcile/public.d.mts +1 -1
- package/dist/{resolve-y1PkSZrF.mjs → resolve-CXbwJ_iu.mjs} +3 -3
- package/dist/{resolve-y1PkSZrF.mjs.map → resolve-CXbwJ_iu.mjs.map} +1 -1
- package/dist/{resolve-DCTcD823.cjs → resolve-CztIqBOI.cjs} +3 -3
- package/dist/{resolve-DCTcD823.cjs.map → resolve-CztIqBOI.cjs.map} +1 -1
- package/dist/{rollback-CwVhG_xa.mjs → rollback-ByyFE5lV.mjs} +5 -5
- package/dist/{rollback-CwVhG_xa.mjs.map → rollback-ByyFE5lV.mjs.map} +1 -1
- package/dist/{rollback-BVQFDjxr.cjs → rollback-CyIJ4xGJ.cjs} +5 -5
- package/dist/{rollback-BVQFDjxr.cjs.map → rollback-CyIJ4xGJ.cjs.map} +1 -1
- package/dist/{runtime-ekxfPNM-.d.mts → runtime-CNu2C2hB.d.mts} +2 -2
- package/dist/{runtime-D6A-C6zh.d.cts.map → runtime-CNu2C2hB.d.mts.map} +1 -1
- package/dist/{runtime-D6A-C6zh.d.cts → runtime-DMLgL26v.d.cts} +2 -2
- package/dist/{runtime-ekxfPNM-.d.mts.map → runtime-DMLgL26v.d.cts.map} +1 -1
- package/dist/{seeds-BoKQ74Od.mjs → seeds-9C5CkDon.mjs} +1736 -1613
- package/dist/seeds-9C5CkDon.mjs.map +1 -0
- package/dist/{seeds-Ccju3zGl.cjs → seeds-B_Beuv0o.cjs} +2583 -2418
- package/dist/seeds-B_Beuv0o.cjs.map +1 -0
- package/dist/{sniffer-DeyYI9Iv.cjs → sniffer-3fA0iExx.cjs} +6 -6
- package/dist/{sniffer-DeyYI9Iv.cjs.map → sniffer-3fA0iExx.cjs.map} +1 -1
- package/dist/{sniffer-6oYI-MpT.mjs → sniffer-DgBkaLAu.mjs} +6 -6
- package/dist/{sniffer-6oYI-MpT.mjs.map → sniffer-DgBkaLAu.mjs.map} +1 -1
- package/dist/{stages-CwrYVX9u.cjs → stages-CS1sjcRb.cjs} +2 -2
- package/dist/{stages-CwrYVX9u.cjs.map → stages-CS1sjcRb.cjs.map} +1 -1
- package/dist/{stages-CHF9RFog.mjs → stages-CSXt7N2b.mjs} +2 -2
- package/dist/{stages-CHF9RFog.mjs.map → stages-CSXt7N2b.mjs.map} +1 -1
- package/dist/target/public.cjs +1 -1
- package/dist/target/public.d.cts +2 -2
- package/dist/target/public.d.mts +2 -2
- package/dist/target/public.mjs +1 -1
- package/dist/{types-BzCavjGt.d.mts → types-BZn-8ssD.d.mts} +75 -21
- package/dist/types-BZn-8ssD.d.mts.map +1 -0
- package/dist/{types-DZtj9jeI.d.cts → types-DiZj6hqp.d.cts} +75 -21
- package/dist/types-DiZj6hqp.d.cts.map +1 -0
- package/dist/vitest.cjs +1 -1
- package/dist/vitest.mjs +1 -1
- package/dist/workspace/index.cjs +1 -1
- package/dist/workspace/index.d.cts +3 -3
- package/dist/workspace/index.d.mts +3 -3
- package/dist/workspace/index.mjs +1 -1
- package/dist/{workspace-4i6Jwsoa.cjs → workspace-Bic_R3tz.cjs} +324 -98
- package/dist/workspace-Bic_R3tz.cjs.map +1 -0
- package/dist/{workspace-DD9mtPy8.mjs → workspace-Drz4jsvy.mjs} +305 -97
- package/dist/workspace-Drz4jsvy.mjs.map +1 -0
- package/package.json +15 -15
- package/dist/EndpointGenerator-DtnIGafh.mjs.map +0 -1
- package/dist/EndpointGenerator-cKlnllIu.cjs.map +0 -1
- package/dist/LocalStateStore-BsFHdSeA.cjs.map +0 -1
- package/dist/LocalStateStore-DIfuh0Z1.mjs.map +0 -1
- package/dist/compose-BPJ9bUKp.mjs.map +0 -1
- package/dist/compose-CGyxYe-h.cjs.map +0 -1
- package/dist/config-BBFiH4qk.d.mts.map +0 -1
- package/dist/config-DMdzdO5u.d.cts.map +0 -1
- package/dist/deploy-0XpZDYAr.mjs.map +0 -1
- package/dist/deploy-BlZx6J5x.cjs.map +0 -1
- package/dist/engine-CMzSebbs.cjs.map +0 -1
- package/dist/engine-DxWswfXe.mjs.map +0 -1
- package/dist/seeds-BoKQ74Od.mjs.map +0 -1
- package/dist/seeds-Ccju3zGl.cjs.map +0 -1
- package/dist/types-BzCavjGt.d.mts.map +0 -1
- package/dist/types-DZtj9jeI.d.cts.map +0 -1
- package/dist/workspace-4i6Jwsoa.cjs.map +0 -1
- package/dist/workspace-DD9mtPy8.mjs.map +0 -1
|
@@ -36,10 +36,92 @@ function assertKnownSecretsStore(store) {
|
|
|
36
36
|
if (typeof provider === "string" && !SECRETS_STORE_PROVIDERS.includes(provider)) throw new UnknownSecretsStoreProvider(provider);
|
|
37
37
|
}
|
|
38
38
|
//#endregion
|
|
39
|
+
//#region src/compose/proxy.ts
|
|
40
|
+
/**
|
|
41
|
+
* Which proxy a stage's stack is served by, and with whose certificate —
|
|
42
|
+
* `deploy.compose.proxy` and `deploy.compose.tls`, resolved for one stage.
|
|
43
|
+
*
|
|
44
|
+
* Pure, and kept apart from the stack so the workspace schema can check a
|
|
45
|
+
* config with the same rules — and the same named errors — the stack applies.
|
|
46
|
+
*/
|
|
47
|
+
/** A per-stage setting keyed by a stage the workspace does not have. */
|
|
48
|
+
var ComposeStageUnknown = class extends Error {
|
|
49
|
+
setting;
|
|
50
|
+
stage;
|
|
51
|
+
stages;
|
|
52
|
+
constructor(setting, stage, stages) {
|
|
53
|
+
super(`deploy.compose.${setting} names the stage '${stage}', which is not one of this workspace's (${stages.join(", ")}). Use a stage from stages.local or stages.deployed.`);
|
|
54
|
+
this.setting = setting;
|
|
55
|
+
this.stage = stage;
|
|
56
|
+
this.stages = stages;
|
|
57
|
+
this.name = "ComposeStageUnknown";
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* A certificate for the local stage, whose certificates are always Caddy's
|
|
62
|
+
* own CA — the one `gkm trust` installs.
|
|
63
|
+
*/
|
|
64
|
+
var ComposeTlsOnLocalStage = class extends Error {
|
|
65
|
+
stage;
|
|
66
|
+
constructor(stage) {
|
|
67
|
+
super(`deploy.compose.tls sets a certificate for '${stage}', the local stage, whose certificates always come from Caddy's local CA (\`gkm trust\` installs it). Remove it, or set it for a deployed stage.`);
|
|
68
|
+
this.stage = stage;
|
|
69
|
+
this.name = "ComposeTlsOnLocalStage";
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
/** The stage's certificate or key file is not there to read. */
|
|
73
|
+
var ComposeTlsFileMissing = class extends Error {
|
|
74
|
+
stage;
|
|
75
|
+
file;
|
|
76
|
+
constructor(stage, file) {
|
|
77
|
+
super(`deploy.compose.tls for '${stage}' names ${file}, and there is no file there. Point certFile and keyFile at the PEM certificate (with its chain) and key — relative to the workspace root, or absolute.`);
|
|
78
|
+
this.stage = stage;
|
|
79
|
+
this.file = file;
|
|
80
|
+
this.name = "ComposeTlsFileMissing";
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* The proxy a stage's stack is served by. The local stage is always Caddy —
|
|
85
|
+
* its internal CA and `gkm trust` — whatever is configured.
|
|
86
|
+
*/
|
|
87
|
+
function proxyFor(config, stage, local) {
|
|
88
|
+
if (local) return "caddy";
|
|
89
|
+
const proxy = config?.proxy;
|
|
90
|
+
if (!proxy) return "caddy";
|
|
91
|
+
if (typeof proxy === "string") return proxy;
|
|
92
|
+
return proxy[stage] ?? "caddy";
|
|
93
|
+
}
|
|
94
|
+
/** A deployed stage's own certificate, its paths absolute, when it sets one. */
|
|
95
|
+
function certificateFor(config, stage, root) {
|
|
96
|
+
const tls = config?.tls?.[stage];
|
|
97
|
+
if (!tls) return void 0;
|
|
98
|
+
const absolute = (file) => (0, node_path.isAbsolute)(file) ? file : (0, node_path.resolve)(root, file);
|
|
99
|
+
return {
|
|
100
|
+
certFile: absolute(tls.certFile),
|
|
101
|
+
keyFile: absolute(tls.keyFile)
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Throws the named error for the first thing wrong with the per-stage
|
|
106
|
+
* settings: a stage the workspace does not have, or a certificate for the
|
|
107
|
+
* local stage.
|
|
108
|
+
*/
|
|
109
|
+
function checkComposeStages(config, stages) {
|
|
110
|
+
const known = [stages.local, ...stages.deployed];
|
|
111
|
+
if (config?.proxy && typeof config.proxy === "object") {
|
|
112
|
+
for (const stage of Object.keys(config.proxy)) if (!known.includes(stage)) throw new ComposeStageUnknown("proxy", stage, known);
|
|
113
|
+
}
|
|
114
|
+
for (const stage of Object.keys(config?.tls ?? {})) {
|
|
115
|
+
if (stage === stages.local) throw new ComposeTlsOnLocalStage(stage);
|
|
116
|
+
if (!known.includes(stage)) throw new ComposeStageUnknown("tls", stage, known);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
//#endregion
|
|
39
120
|
//#region src/compose/logsConfig.ts
|
|
40
121
|
/**
|
|
41
|
-
*
|
|
42
|
-
* is reached.
|
|
122
|
+
* The self-hosted telemetry provider's options, read: how the stack's
|
|
123
|
+
* OpenObserve is run and reached — `deploy.telemetry.<stage>` with
|
|
124
|
+
* `provider: 'self-hosted'`.
|
|
43
125
|
*
|
|
44
126
|
* Kept apart from the stack so the workspace schema can check a config with
|
|
45
127
|
* the same rules — and the same named errors — the stack applies.
|
|
@@ -48,34 +130,42 @@ function assertKnownSecretsStore(store) {
|
|
|
48
130
|
const LOGS_PORT = 5080;
|
|
49
131
|
/** `public` with no address to allow: nobody could reach it. */
|
|
50
132
|
var LogsAllowEmpty = class extends Error {
|
|
51
|
-
|
|
52
|
-
|
|
133
|
+
stage;
|
|
134
|
+
constructor(stage) {
|
|
135
|
+
super(`deploy.telemetry.${stage}.public.allow is empty, so the logs site would answer every request with 403. List the addresses that may reach it (public: { allow: ['203.0.113.7', '10.0.0.0/8'] }), or remove public and reach it through an SSH tunnel.`);
|
|
136
|
+
this.stage = stage;
|
|
53
137
|
this.name = "LogsAllowEmpty";
|
|
54
138
|
}
|
|
55
139
|
};
|
|
56
140
|
/** An `allow` entry that is not an IP address or a CIDR range. */
|
|
57
141
|
var LogsAllowEntryInvalid = class extends Error {
|
|
142
|
+
stage;
|
|
58
143
|
entry;
|
|
59
|
-
constructor(entry) {
|
|
60
|
-
super(`deploy.
|
|
144
|
+
constructor(stage, entry) {
|
|
145
|
+
super(`deploy.telemetry.${stage}.public.allow has '${entry}', which is not an IP address or a CIDR range. Write one like '203.0.113.7', '10.0.0.0/8' or '2001:db8::/32'.`);
|
|
146
|
+
this.stage = stage;
|
|
61
147
|
this.entry = entry;
|
|
62
148
|
this.name = "LogsAllowEntryInvalid";
|
|
63
149
|
}
|
|
64
150
|
};
|
|
65
151
|
/** A retention OpenObserve would refuse to start with. */
|
|
66
152
|
var LogsRetentionInvalid = class extends Error {
|
|
153
|
+
stage;
|
|
67
154
|
retentionDays;
|
|
68
|
-
constructor(retentionDays) {
|
|
69
|
-
super(`deploy.
|
|
155
|
+
constructor(stage, retentionDays) {
|
|
156
|
+
super(`deploy.telemetry.${stage}.retentionDays is ${String(retentionDays)}; it must be a whole number of days, at least 3 — OpenObserve refuses to start with fewer. Leave it out for 30.`);
|
|
157
|
+
this.stage = stage;
|
|
70
158
|
this.retentionDays = retentionDays;
|
|
71
159
|
this.name = "LogsRetentionInvalid";
|
|
72
160
|
}
|
|
73
161
|
};
|
|
74
162
|
/** A port that is not one. */
|
|
75
163
|
var LogsPortInvalid = class extends Error {
|
|
164
|
+
stage;
|
|
76
165
|
port;
|
|
77
|
-
constructor(port) {
|
|
78
|
-
super(`deploy.
|
|
166
|
+
constructor(stage, port) {
|
|
167
|
+
super(`deploy.telemetry.${stage}.port is ${String(port)}; set it to a number between 1 and 65535, or leave it out for ${LOGS_PORT}.`);
|
|
168
|
+
this.stage = stage;
|
|
79
169
|
this.port = port;
|
|
80
170
|
this.name = "LogsPortInvalid";
|
|
81
171
|
}
|
|
@@ -91,20 +181,18 @@ function isAddressOrRange(entry) {
|
|
|
91
181
|
return Number(prefix) <= (family === 4 ? 32 : 128);
|
|
92
182
|
}
|
|
93
183
|
/**
|
|
94
|
-
*
|
|
95
|
-
* Throws the named error for the first thing wrong with
|
|
184
|
+
* The self-hosted provider's options with their defaults — `{}` for all of
|
|
185
|
+
* them. Throws the named error for the first thing wrong with them.
|
|
96
186
|
*/
|
|
97
|
-
function
|
|
98
|
-
if (!logs) return void 0;
|
|
99
|
-
const config = logs === true ? {} : logs;
|
|
187
|
+
function resolveSelfHosted(config, stage) {
|
|
100
188
|
const port = config.port ?? 5080;
|
|
101
|
-
if (!Number.isInteger(port) || port < 1 || port > 65535) throw new LogsPortInvalid(config.port);
|
|
189
|
+
if (!Number.isInteger(port) || port < 1 || port > 65535) throw new LogsPortInvalid(stage, config.port);
|
|
102
190
|
const retentionDays = config.retentionDays ?? 30;
|
|
103
|
-
if (!Number.isInteger(retentionDays) || retentionDays < 3) throw new LogsRetentionInvalid(config.retentionDays);
|
|
191
|
+
if (!Number.isInteger(retentionDays) || retentionDays < 3) throw new LogsRetentionInvalid(stage, config.retentionDays);
|
|
104
192
|
if (config.public) {
|
|
105
193
|
const allow = config.public.allow ?? [];
|
|
106
|
-
if (allow.length === 0) throw new LogsAllowEmpty();
|
|
107
|
-
for (const entry of allow) if (!isAddressOrRange(entry)) throw new LogsAllowEntryInvalid(entry);
|
|
194
|
+
if (allow.length === 0) throw new LogsAllowEmpty(stage);
|
|
195
|
+
for (const entry of allow) if (!isAddressOrRange(entry)) throw new LogsAllowEntryInvalid(stage, entry);
|
|
108
196
|
return {
|
|
109
197
|
port,
|
|
110
198
|
retentionDays,
|
|
@@ -117,85 +205,189 @@ function resolveLogs(logs) {
|
|
|
117
205
|
};
|
|
118
206
|
}
|
|
119
207
|
//#endregion
|
|
120
|
-
//#region src/
|
|
208
|
+
//#region src/telemetry/config.ts
|
|
121
209
|
/**
|
|
122
|
-
*
|
|
123
|
-
* `deploy.compose.proxy` and `deploy.compose.tls`, resolved for one stage.
|
|
210
|
+
* `deploy.telemetry`, read: where one stage's telemetry goes, and how much.
|
|
124
211
|
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
212
|
+
* The application says what it emits (the `Telemetry` construct). This says
|
|
213
|
+
* where it is sent, per stage, and is the only place that does:
|
|
214
|
+
*
|
|
215
|
+
* - **self-hosted** — the target runs OpenObserve beside the apps (#189's
|
|
216
|
+
* stack service). A server target that can run it uses it when a stage
|
|
217
|
+
* names nothing.
|
|
218
|
+
* - **otlp** — any OTLP/HTTP endpoint, with its headers.
|
|
219
|
+
* - **false** — nothing is sent.
|
|
220
|
+
*
|
|
221
|
+
* Vendor presets (a known endpoint and header shape, with the stage secret
|
|
222
|
+
* `TELEMETRY_CREDENTIALS`) are one more entry in {@link PROVIDERS}: a
|
|
223
|
+
* resolver from the stage's config to a {@link ResolvedTelemetry}, which
|
|
224
|
+
* every target already consumes through {@link telemetryEnv}.
|
|
225
|
+
*
|
|
226
|
+
* The local stage ignores all of it: `gkm dev` and `gkm compose` on it run
|
|
227
|
+
* OpenObserve and keep every trace.
|
|
127
228
|
*/
|
|
128
|
-
/** A
|
|
129
|
-
var
|
|
130
|
-
setting;
|
|
229
|
+
/** A deployed stage uses telemetry and its target cannot choose for it. */
|
|
230
|
+
var TelemetryProviderRequired = class extends Error {
|
|
131
231
|
stage;
|
|
132
|
-
|
|
133
|
-
constructor(
|
|
134
|
-
super(`
|
|
135
|
-
this.setting = setting;
|
|
232
|
+
target;
|
|
233
|
+
constructor(stage, target) {
|
|
234
|
+
super(`The stage '${stage}' deploys through ${target}, which cannot run telemetry itself, and a process uses a Telemetry construct. Say where it goes in gkm.config.ts: deploy: { telemetry: { ${stage}: { provider: 'otlp', endpoint: 'https://…' } } } — or deploy: { telemetry: { ${stage}: false } } to send nothing.`);
|
|
136
235
|
this.stage = stage;
|
|
137
|
-
this.
|
|
138
|
-
this.name = "
|
|
236
|
+
this.target = target;
|
|
237
|
+
this.name = "TelemetryProviderRequired";
|
|
139
238
|
}
|
|
140
239
|
};
|
|
141
|
-
/**
|
|
142
|
-
|
|
143
|
-
* own CA — the one `gkm trust` installs.
|
|
144
|
-
*/
|
|
145
|
-
var ComposeTlsOnLocalStage = class extends Error {
|
|
240
|
+
/** A stage asks for the self-hosted provider on a target that cannot run it. */
|
|
241
|
+
var SelfHostedTelemetryUnavailable = class extends Error {
|
|
146
242
|
stage;
|
|
147
|
-
|
|
148
|
-
|
|
243
|
+
target;
|
|
244
|
+
constructor(stage, target) {
|
|
245
|
+
super(`deploy.telemetry.${stage} is 'self-hosted', and ${target} does not run OpenObserve beside the apps — the compose target does. Deploy '${stage}' through compose, or send its telemetry elsewhere: deploy: { telemetry: { ${stage}: { provider: 'otlp', endpoint: 'https://…' } } }.`);
|
|
149
246
|
this.stage = stage;
|
|
150
|
-
this.
|
|
247
|
+
this.target = target;
|
|
248
|
+
this.name = "SelfHostedTelemetryUnavailable";
|
|
151
249
|
}
|
|
152
250
|
};
|
|
153
|
-
/**
|
|
154
|
-
var
|
|
251
|
+
/** A sample rate that is not a fraction. */
|
|
252
|
+
var TelemetrySampleRateInvalid = class extends Error {
|
|
155
253
|
stage;
|
|
156
|
-
|
|
157
|
-
constructor(stage,
|
|
158
|
-
super(`deploy.
|
|
254
|
+
sampleRate;
|
|
255
|
+
constructor(stage, sampleRate) {
|
|
256
|
+
super(`deploy.telemetry.${stage}.sampleRate is ${String(sampleRate)}; set it to a number from 0 to 1 — the fraction of traces kept — or leave it out to keep every one.`);
|
|
159
257
|
this.stage = stage;
|
|
160
|
-
this.
|
|
161
|
-
this.name = "
|
|
258
|
+
this.sampleRate = sampleRate;
|
|
259
|
+
this.name = "TelemetrySampleRateInvalid";
|
|
162
260
|
}
|
|
163
261
|
};
|
|
262
|
+
/** An OTLP endpoint that is not an http(s) URL. */
|
|
263
|
+
var TelemetryEndpointInvalid = class extends Error {
|
|
264
|
+
stage;
|
|
265
|
+
endpoint;
|
|
266
|
+
constructor(stage, endpoint) {
|
|
267
|
+
super(`deploy.telemetry.${stage}.endpoint is ${JSON.stringify(endpoint)}; set it to the collector's OTLP/HTTP base URL, like 'https://otlp.example.com' — /v1/traces and /v1/logs are added to it.`);
|
|
268
|
+
this.stage = stage;
|
|
269
|
+
this.endpoint = endpoint;
|
|
270
|
+
this.name = "TelemetryEndpointInvalid";
|
|
271
|
+
}
|
|
272
|
+
};
|
|
273
|
+
/** The sample rate a stage keeps, checked. */
|
|
274
|
+
function sampleRateOf(stage, sampleRate) {
|
|
275
|
+
const rate = sampleRate ?? 1;
|
|
276
|
+
if (!Number.isFinite(rate) || rate < 0 || rate > 1) throw new TelemetrySampleRateInvalid(stage, sampleRate);
|
|
277
|
+
return rate;
|
|
278
|
+
}
|
|
164
279
|
/**
|
|
165
|
-
*
|
|
166
|
-
*
|
|
280
|
+
* Each provider's resolver: a stage's config to what the targets consume.
|
|
281
|
+
* A vendor preset is one more entry here.
|
|
167
282
|
*/
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
283
|
+
const PROVIDERS = {
|
|
284
|
+
"self-hosted": (config, stage) => {
|
|
285
|
+
const { provider: _, sampleRate, ...options } = config;
|
|
286
|
+
return {
|
|
287
|
+
provider: "self-hosted",
|
|
288
|
+
selfHosted: resolveSelfHosted(options, stage),
|
|
289
|
+
sampleRate: sampleRateOf(stage, sampleRate)
|
|
290
|
+
};
|
|
291
|
+
},
|
|
292
|
+
otlp: (config, stage) => {
|
|
293
|
+
if (typeof config.endpoint !== "string" || !isHttpUrl(config.endpoint)) throw new TelemetryEndpointInvalid(stage, config.endpoint);
|
|
294
|
+
return {
|
|
295
|
+
provider: "otlp",
|
|
296
|
+
endpoint: config.endpoint.replace(/\/+$/, ""),
|
|
297
|
+
headers: { ...config.headers },
|
|
298
|
+
sampleRate: sampleRateOf(stage, config.sampleRate)
|
|
299
|
+
};
|
|
300
|
+
}
|
|
301
|
+
};
|
|
302
|
+
function isHttpUrl(value) {
|
|
303
|
+
try {
|
|
304
|
+
const url = new URL(value);
|
|
305
|
+
return url.protocol === "http:" || url.protocol === "https:";
|
|
306
|
+
} catch {
|
|
307
|
+
return false;
|
|
308
|
+
}
|
|
174
309
|
}
|
|
175
|
-
/**
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
return
|
|
181
|
-
|
|
182
|
-
|
|
310
|
+
/**
|
|
311
|
+
* One stage's entry, checked on its own — what the workspace schema runs, so
|
|
312
|
+
* a bad config fails to load with the words a deploy would fail with.
|
|
313
|
+
*/
|
|
314
|
+
function checkStageTelemetry(stage, config) {
|
|
315
|
+
if (config === false) return void 0;
|
|
316
|
+
const entry = config === "self-hosted" ? { provider: "self-hosted" } : config;
|
|
317
|
+
const resolve = PROVIDERS[entry.provider];
|
|
318
|
+
return resolve(entry, stage);
|
|
319
|
+
}
|
|
320
|
+
/**
|
|
321
|
+
* Where a stage's telemetry goes, or undefined when nothing is sent — no
|
|
322
|
+
* process uses a `Telemetry` node, or the stage opted out with `false`.
|
|
323
|
+
*
|
|
324
|
+
* The local stage always runs the self-hosted provider with its defaults and
|
|
325
|
+
* keeps every trace, whatever `deploy.telemetry` says. A deployed stage that
|
|
326
|
+
* names nothing gets the self-hosted provider where its target runs one, and
|
|
327
|
+
* {@link TelemetryProviderRequired} where it cannot — AWS has none.
|
|
328
|
+
*/
|
|
329
|
+
function resolveStageTelemetry(input) {
|
|
330
|
+
const { stage } = input;
|
|
331
|
+
if (!input.used) return void 0;
|
|
332
|
+
if (input.local) return {
|
|
333
|
+
provider: "self-hosted",
|
|
334
|
+
selfHosted: resolveSelfHosted({}, stage),
|
|
335
|
+
sampleRate: 1
|
|
183
336
|
};
|
|
337
|
+
const config = input.telemetry?.[stage];
|
|
338
|
+
if (config === void 0) {
|
|
339
|
+
if (input.runtime === "server" && input.selfHosted) return checkStageTelemetry(stage, "self-hosted");
|
|
340
|
+
throw new TelemetryProviderRequired(stage, input.target);
|
|
341
|
+
}
|
|
342
|
+
const resolved = checkStageTelemetry(stage, config);
|
|
343
|
+
if (resolved?.provider === "self-hosted" && !input.selfHosted) throw new SelfHostedTelemetryUnavailable(stage, input.target);
|
|
344
|
+
return resolved;
|
|
184
345
|
}
|
|
346
|
+
/** The sampler every process with the edge runs, per the stage's rate. */
|
|
347
|
+
const TRACES_SAMPLER = "parentbased_traceidratio";
|
|
185
348
|
/**
|
|
186
|
-
*
|
|
187
|
-
*
|
|
188
|
-
*
|
|
349
|
+
* `OTEL_EXPORTER_OTLP_HEADERS` for a set of headers: `key=value` pairs,
|
|
350
|
+
* comma-separated, each value percent-encoded — the W3C baggage format the
|
|
351
|
+
* SDK parses.
|
|
189
352
|
*/
|
|
190
|
-
function
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
353
|
+
function otlpHeaderString(headers) {
|
|
354
|
+
return Object.entries(headers).map(([key, value]) => `${key}=${encodeURIComponent(value)}`).join(",");
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* The `OTEL_*` values a stage resolves for its `Telemetry` node, before any
|
|
358
|
+
* one process is named: where to export, how to sign, and how much to keep.
|
|
359
|
+
* `OTEL_SERVICE_NAME` is each process's own — see `scopeTelemetryEnv`.
|
|
360
|
+
*/
|
|
361
|
+
function telemetryEnv(destination, sampleRate) {
|
|
362
|
+
return {
|
|
363
|
+
OTEL_EXPORTER_OTLP_ENDPOINT: destination.endpoint,
|
|
364
|
+
...destination.headers ? { OTEL_EXPORTER_OTLP_HEADERS: destination.headers } : {},
|
|
365
|
+
OTEL_TRACES_SAMPLER: TRACES_SAMPLER,
|
|
366
|
+
OTEL_TRACES_SAMPLER_ARG: String(sampleRate)
|
|
367
|
+
};
|
|
368
|
+
}
|
|
369
|
+
/** What an `otlp` stage resolves, for every process with the edge. */
|
|
370
|
+
function otlpTelemetryEnv(resolved) {
|
|
371
|
+
const headers = otlpHeaderString(resolved.headers);
|
|
372
|
+
return telemetryEnv({
|
|
373
|
+
endpoint: resolved.endpoint,
|
|
374
|
+
...headers ? { headers } : {}
|
|
375
|
+
}, resolved.sampleRate);
|
|
376
|
+
}
|
|
377
|
+
/**
|
|
378
|
+
* The sample rate a stage's browsers trace page views at — a public value,
|
|
379
|
+
* the same rate its servers sample at — or undefined when the stage sends no
|
|
380
|
+
* telemetry. The local stage keeps every trace.
|
|
381
|
+
*
|
|
382
|
+
* Lenient where `resolveStageTelemetry` is strict: a site's client is built
|
|
383
|
+
* before, and apart from, the deploy that refuses a stage with no provider.
|
|
384
|
+
*/
|
|
385
|
+
function stageSampleRate(telemetry, stage, local) {
|
|
386
|
+
if (local) return 1;
|
|
387
|
+
const config = telemetry?.[stage];
|
|
388
|
+
if (config === false) return void 0;
|
|
389
|
+
if (config === void 0 || config === "self-hosted") return 1;
|
|
390
|
+
return sampleRateOf(stage, config.sampleRate);
|
|
199
391
|
}
|
|
200
392
|
//#endregion
|
|
201
393
|
//#region src/workspace/stages.ts
|
|
@@ -580,31 +772,46 @@ const BackupsConfigSchema = require_schemas.object({
|
|
|
580
772
|
/** Number of backups to retain (default: 30) */
|
|
581
773
|
retention: require_schemas.number().optional()
|
|
582
774
|
});
|
|
583
|
-
/**
|
|
584
|
-
* `deploy.compose` — what the compose target runs beside the apps. The rules
|
|
585
|
-
* past the shape are `resolveLogs`'s, so the schema and the stack refuse the
|
|
586
|
-
* same configs with the same words.
|
|
587
|
-
*/
|
|
775
|
+
/** `deploy.compose` — what the compose target runs beside the apps. */
|
|
588
776
|
const ComposeWorkspaceConfigSchema = require_schemas.object({
|
|
589
|
-
logs: require_schemas.union([require_schemas.boolean(), require_schemas.object({
|
|
590
|
-
port: require_schemas.number().optional(),
|
|
591
|
-
retentionDays: require_schemas.number().optional(),
|
|
592
|
-
public: require_schemas.object({ allow: require_schemas.array(require_schemas.string()) }).optional()
|
|
593
|
-
})]).superRefine((logs, ctx) => {
|
|
594
|
-
try {
|
|
595
|
-
resolveLogs(logs);
|
|
596
|
-
} catch (error) {
|
|
597
|
-
ctx.addIssue({
|
|
598
|
-
code: "custom",
|
|
599
|
-
message: error instanceof Error ? error.message : String(error)
|
|
600
|
-
});
|
|
601
|
-
}
|
|
602
|
-
}).optional(),
|
|
603
777
|
proxy: require_schemas.union([require_schemas._enum(["caddy", "traefik"]), require_schemas.record(require_schemas.string(), require_schemas._enum(["caddy", "traefik"]))]).optional(),
|
|
604
778
|
tls: require_schemas.record(require_schemas.string(), require_schemas.object({
|
|
605
779
|
certFile: require_schemas.string().min(1),
|
|
606
780
|
keyFile: require_schemas.string().min(1)
|
|
607
781
|
}).strict()).optional()
|
|
782
|
+
}).strict();
|
|
783
|
+
const TelemetrySampleRate = require_schemas.number().optional();
|
|
784
|
+
/**
|
|
785
|
+
* `deploy.telemetry` — where each stage's telemetry goes. The rules past the
|
|
786
|
+
* shape are `checkStageTelemetry`'s, so the schema and a deploy refuse the
|
|
787
|
+
* same configs with the same words.
|
|
788
|
+
*/
|
|
789
|
+
const TelemetryConfigSchema = require_schemas.record(require_schemas.string(), require_schemas.union([
|
|
790
|
+
require_schemas.literal(false),
|
|
791
|
+
require_schemas.literal("self-hosted"),
|
|
792
|
+
require_schemas.object({
|
|
793
|
+
provider: require_schemas.literal("self-hosted"),
|
|
794
|
+
port: require_schemas.number().optional(),
|
|
795
|
+
retentionDays: require_schemas.number().optional(),
|
|
796
|
+
public: require_schemas.object({ allow: require_schemas.array(require_schemas.string()) }).optional(),
|
|
797
|
+
sampleRate: TelemetrySampleRate
|
|
798
|
+
}).strict(),
|
|
799
|
+
require_schemas.object({
|
|
800
|
+
provider: require_schemas.literal("otlp"),
|
|
801
|
+
endpoint: require_schemas.string(),
|
|
802
|
+
headers: require_schemas.record(require_schemas.string(), require_schemas.string()).optional(),
|
|
803
|
+
sampleRate: TelemetrySampleRate
|
|
804
|
+
}).strict()
|
|
805
|
+
])).superRefine((telemetry, ctx) => {
|
|
806
|
+
for (const [stage, config] of Object.entries(telemetry)) try {
|
|
807
|
+
checkStageTelemetry(stage, config);
|
|
808
|
+
} catch (error) {
|
|
809
|
+
ctx.addIssue({
|
|
810
|
+
code: "custom",
|
|
811
|
+
message: error instanceof Error ? error.message : String(error),
|
|
812
|
+
path: [stage]
|
|
813
|
+
});
|
|
814
|
+
}
|
|
608
815
|
});
|
|
609
816
|
/**
|
|
610
817
|
* Deploy configuration schema.
|
|
@@ -626,6 +833,7 @@ const DeployConfigSchema = require_schemas.object({
|
|
|
626
833
|
registry: require_schemas.string().min(1).optional(),
|
|
627
834
|
dokploy: DokployWorkspaceConfigSchema.optional(),
|
|
628
835
|
compose: ComposeWorkspaceConfigSchema.optional(),
|
|
836
|
+
telemetry: TelemetryConfigSchema.optional(),
|
|
629
837
|
dns: DnsConfigWithLegacySchema.optional(),
|
|
630
838
|
backups: BackupsConfigSchema.optional()
|
|
631
839
|
});
|
|
@@ -1482,6 +1690,12 @@ Object.defineProperty(exports, "normalizeWorkspace", {
|
|
|
1482
1690
|
return normalizeWorkspace;
|
|
1483
1691
|
}
|
|
1484
1692
|
});
|
|
1693
|
+
Object.defineProperty(exports, "otlpTelemetryEnv", {
|
|
1694
|
+
enumerable: true,
|
|
1695
|
+
get: function() {
|
|
1696
|
+
return otlpTelemetryEnv;
|
|
1697
|
+
}
|
|
1698
|
+
});
|
|
1485
1699
|
Object.defineProperty(exports, "processConfig", {
|
|
1486
1700
|
enumerable: true,
|
|
1487
1701
|
get: function() {
|
|
@@ -1494,10 +1708,10 @@ Object.defineProperty(exports, "proxyFor", {
|
|
|
1494
1708
|
return proxyFor;
|
|
1495
1709
|
}
|
|
1496
1710
|
});
|
|
1497
|
-
Object.defineProperty(exports, "
|
|
1711
|
+
Object.defineProperty(exports, "resolveStageTelemetry", {
|
|
1498
1712
|
enumerable: true,
|
|
1499
1713
|
get: function() {
|
|
1500
|
-
return
|
|
1714
|
+
return resolveStageTelemetry;
|
|
1501
1715
|
}
|
|
1502
1716
|
});
|
|
1503
1717
|
Object.defineProperty(exports, "safeValidateWorkspaceConfig", {
|
|
@@ -1512,12 +1726,24 @@ Object.defineProperty(exports, "stageProblems", {
|
|
|
1512
1726
|
return stageProblems;
|
|
1513
1727
|
}
|
|
1514
1728
|
});
|
|
1729
|
+
Object.defineProperty(exports, "stageSampleRate", {
|
|
1730
|
+
enumerable: true,
|
|
1731
|
+
get: function() {
|
|
1732
|
+
return stageSampleRate;
|
|
1733
|
+
}
|
|
1734
|
+
});
|
|
1515
1735
|
Object.defineProperty(exports, "stripPublicPrefix", {
|
|
1516
1736
|
enumerable: true,
|
|
1517
1737
|
get: function() {
|
|
1518
1738
|
return stripPublicPrefix;
|
|
1519
1739
|
}
|
|
1520
1740
|
});
|
|
1741
|
+
Object.defineProperty(exports, "telemetryEnv", {
|
|
1742
|
+
enumerable: true,
|
|
1743
|
+
get: function() {
|
|
1744
|
+
return telemetryEnv;
|
|
1745
|
+
}
|
|
1746
|
+
});
|
|
1521
1747
|
Object.defineProperty(exports, "validateWorkspaceConfig", {
|
|
1522
1748
|
enumerable: true,
|
|
1523
1749
|
get: function() {
|
|
@@ -1537,4 +1763,4 @@ Object.defineProperty(exports, "wrapSingleAppAsWorkspace", {
|
|
|
1537
1763
|
}
|
|
1538
1764
|
});
|
|
1539
1765
|
|
|
1540
|
-
//# sourceMappingURL=workspace-
|
|
1766
|
+
//# sourceMappingURL=workspace-Bic_R3tz.cjs.map
|