@geekmidas/cli 10.0.0-alpha.97 → 10.0.0-alpha.98
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/{GoDaddyProvider-AqNu60WQ.mjs → GoDaddyProvider-C2fK-zeQ.mjs} +2 -2
- package/dist/{GoDaddyProvider-AqNu60WQ.mjs.map → GoDaddyProvider-C2fK-zeQ.mjs.map} +1 -1
- package/dist/{GoDaddyProvider-B4R_QFl8.cjs → GoDaddyProvider-SLlyDwD1.cjs} +2 -2
- package/dist/{GoDaddyProvider-B4R_QFl8.cjs.map → GoDaddyProvider-SLlyDwD1.cjs.map} +1 -1
- package/dist/{LegacyStateStore-B-aRqRdD.cjs → LegacyStateStore-CAvxM8U5.cjs} +3 -3
- package/dist/{LegacyStateStore-B-aRqRdD.cjs.map → LegacyStateStore-CAvxM8U5.cjs.map} +1 -1
- package/dist/{LegacyStateStore-8F05-BOo.mjs → LegacyStateStore-D9QDWCst.mjs} +3 -3
- package/dist/{LegacyStateStore-8F05-BOo.mjs.map → LegacyStateStore-D9QDWCst.mjs.map} +1 -1
- package/dist/{LocalStateStore-B_mfgcO8.mjs → LocalStateStore-DPQSqkSb.mjs} +2 -2
- package/dist/{LocalStateStore-B_mfgcO8.mjs.map → LocalStateStore-DPQSqkSb.mjs.map} +1 -1
- package/dist/{LocalStateStore-B_bRI8M7.cjs → LocalStateStore-QcrdjCl6.cjs} +2 -2
- package/dist/{LocalStateStore-B_bRI8M7.cjs.map → LocalStateStore-QcrdjCl6.cjs.map} +1 -1
- package/dist/{S3StateStore-zK9zcd9f.cjs → S3StateStore-C16tVikU.cjs} +10 -9
- package/dist/S3StateStore-C16tVikU.cjs.map +1 -0
- package/dist/{S3StateStore-CMN0Uzdp.mjs → S3StateStore-jorgKaee.mjs} +10 -9
- package/dist/S3StateStore-jorgKaee.mjs.map +1 -0
- package/dist/{SSMStateStore-Cv7VcMak.mjs → SSMStateStore-Dvjt_INw.mjs} +2 -2
- package/dist/{SSMStateStore-Cv7VcMak.mjs.map → SSMStateStore-Dvjt_INw.mjs.map} +1 -1
- package/dist/{SSMStateStore-C489DnR6.cjs → SSMStateStore-mPAEr2P2.cjs} +2 -2
- package/dist/{SSMStateStore-C489DnR6.cjs.map → SSMStateStore-mPAEr2P2.cjs.map} +1 -1
- package/dist/{add-BA5d4pA0.mjs → add-CZIIsTcv.mjs} +4 -4
- package/dist/{add-BA5d4pA0.mjs.map → add-CZIIsTcv.mjs.map} +1 -1
- package/dist/{add-HXzTCy_I.cjs → add-SRk65Udu.cjs} +4 -4
- package/dist/{add-HXzTCy_I.cjs.map → add-SRk65Udu.cjs.map} +1 -1
- package/dist/{aws-Dz2bYxK1.mjs → aws-8QQ8n-t6.mjs} +2 -2
- package/dist/{aws-Dz2bYxK1.mjs.map → aws-8QQ8n-t6.mjs.map} +1 -1
- package/dist/{aws-BTReGjpY.cjs → aws-DY9NqQIT.cjs} +2 -2
- package/dist/{aws-BTReGjpY.cjs.map → aws-DY9NqQIT.cjs.map} +1 -1
- package/dist/{awsStore-BWa1KNY-.mjs → awsStore-Bx5nCFnS.mjs} +8 -6
- package/dist/awsStore-Bx5nCFnS.mjs.map +1 -0
- package/dist/{awsStore-B5We7bMg.cjs → awsStore-u3ehhMoY.cjs} +8 -6
- package/dist/awsStore-u3ehhMoY.cjs.map +1 -0
- package/dist/{bundler-SX3Uy8qT.cjs → bundler-B0Pj5FXT.cjs} +5 -5
- package/dist/{bundler-SX3Uy8qT.cjs.map → bundler-B0Pj5FXT.cjs.map} +1 -1
- package/dist/{bundler-CBomFsnd.mjs → bundler-DxJ-cIEt.mjs} +5 -5
- package/dist/{bundler-CBomFsnd.mjs.map → bundler-DxJ-cIEt.mjs.map} +1 -1
- package/dist/{cli-1l0L9LCA.cjs → cli-CRDJWWmZ.cjs} +2 -2
- package/dist/{cli-1l0L9LCA.cjs.map → cli-CRDJWWmZ.cjs.map} +1 -1
- package/dist/{cli-D7z1lQtO.mjs → cli-CV85bY3-.mjs} +2 -2
- package/dist/{cli-D7z1lQtO.mjs.map → cli-CV85bY3-.mjs.map} +1 -1
- package/dist/{compose-DgWrNd2k.mjs → compose-CQQRRJC3.mjs} +7 -7
- package/dist/{compose-DgWrNd2k.mjs.map → compose-CQQRRJC3.mjs.map} +1 -1
- package/dist/{compose-C39XupJu.cjs → compose-DMY4ouEk.cjs} +7 -7
- package/dist/{compose-C39XupJu.cjs.map → compose-DMY4ouEk.cjs.map} +1 -1
- package/dist/{config-xIWIaDhW.d.cts → config-CS76CzXM.d.cts} +4 -4
- package/dist/{config-D-k0gaAr.d.mts.map → config-CS76CzXM.d.cts.map} +1 -1
- package/dist/{config-D-k0gaAr.d.mts → config-pBzLfNef.d.mts} +4 -4
- package/dist/{config-xIWIaDhW.d.cts.map → config-pBzLfNef.d.mts.map} +1 -1
- 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 +7 -7
- package/dist/deploy/public.d.cts +5 -5
- package/dist/deploy/public.d.mts +5 -5
- package/dist/deploy/public.mjs +7 -7
- package/dist/{deploy-Cu_HyWoJ.cjs → deploy-277jek46.cjs} +7 -7
- package/dist/{deploy-Cu_HyWoJ.cjs.map → deploy-277jek46.cjs.map} +1 -1
- package/dist/{deploy-LY-20Yeb.mjs → deploy-Dw8g3sLY.mjs} +7 -7
- package/dist/{deploy-LY-20Yeb.mjs.map → deploy-Dw8g3sLY.mjs.map} +1 -1
- package/dist/{discover-CbJCQq4J.d.mts → discover-CU1LjCOf.d.cts} +2 -2
- package/dist/{discover-CbJCQq4J.d.mts.map → discover-CU1LjCOf.d.cts.map} +1 -1
- package/dist/{discover-RCW5mBXb.d.cts → discover-DJCCgimv.d.mts} +2 -2
- package/dist/{discover-RCW5mBXb.d.cts.map → discover-DJCCgimv.d.mts.map} +1 -1
- package/dist/{dns-Dro_vbk9.cjs → dns-4RAiVFa7.cjs} +5 -5
- package/dist/{dns-Dro_vbk9.cjs.map → dns-4RAiVFa7.cjs.map} +1 -1
- package/dist/{dns-Bmbhmz41.mjs → dns-CU22K_i0.mjs} +5 -5
- package/dist/{dns-Bmbhmz41.mjs.map → dns-CU22K_i0.mjs.map} +1 -1
- package/dist/{dns-BFnoawgh.cjs → dns-Dhjbnjgl.cjs} +3 -3
- package/dist/{dns-BFnoawgh.cjs.map → dns-Dhjbnjgl.cjs.map} +1 -1
- package/dist/{dns-BbTOzmVp.mjs → dns-LqWzPb8l.mjs} +3 -3
- package/dist/{dns-BbTOzmVp.mjs.map → dns-LqWzPb8l.mjs.map} +1 -1
- package/dist/{dokploy-LR94sBVI.mjs → dokploy-D_uCbZQ7.mjs} +2 -2
- package/dist/{dokploy-LR94sBVI.mjs.map → dokploy-D_uCbZQ7.mjs.map} +1 -1
- package/dist/{dokploy-CKgSww82.cjs → dokploy-Dw4oCXqR.cjs} +2 -2
- package/dist/{dokploy-CKgSww82.cjs.map → dokploy-Dw4oCXqR.cjs.map} +1 -1
- package/dist/{encryption-C0plOf4a.mjs → encryption-C0uKYE9v.mjs} +3 -3
- package/dist/{encryption-C0plOf4a.mjs.map → encryption-C0uKYE9v.mjs.map} +1 -1
- package/dist/{encryption-CUyw-8sc.cjs → encryption-CtVPHWWq.cjs} +3 -3
- package/dist/{encryption-CUyw-8sc.cjs.map → encryption-CtVPHWWq.cjs.map} +1 -1
- package/dist/{engine-DqbqQhck.mjs → engine-BE5PdE8S.mjs} +4 -4
- package/dist/{engine-DqbqQhck.mjs.map → engine-BE5PdE8S.mjs.map} +1 -1
- package/dist/{engine-D8TeraDK.cjs → engine-HI8aLw1M.cjs} +4 -4
- package/dist/{engine-D8TeraDK.cjs.map → engine-HI8aLw1M.cjs.map} +1 -1
- package/dist/{github-DC4SIqV1.cjs → github-BCdfZ9zO.cjs} +41 -19
- package/dist/github-BCdfZ9zO.cjs.map +1 -0
- package/dist/{github-zgaBOQvh.mjs → github-CT3X720_.mjs} +41 -19
- package/dist/github-CT3X720_.mjs.map +1 -0
- package/dist/{index-ClqOsbBl.d.mts → index-DKtB01YC.d.cts} +2 -2
- package/dist/{index-ClqOsbBl.d.mts.map → index-DKtB01YC.d.cts.map} +1 -1
- package/dist/{index-DgOBAEl5.d.cts → index-ZAUrXH6Q.d.mts} +2 -2
- package/dist/{index-DgOBAEl5.d.cts.map → index-ZAUrXH6Q.d.mts.map} +1 -1
- package/dist/index.cjs +73 -58
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +73 -58
- package/dist/index.mjs.map +1 -1
- package/dist/{migrate-BJ8aLOWk.mjs → migrate-CCZUgxMK.mjs} +3 -3
- package/dist/{migrate-BJ8aLOWk.mjs.map → migrate-CCZUgxMK.mjs.map} +1 -1
- package/dist/{migrate-CWq8-s21.cjs → migrate-Cs7kQxD5.cjs} +3 -3
- package/dist/{migrate-CWq8-s21.cjs.map → migrate-Cs7kQxD5.cjs.map} +1 -1
- package/dist/migrate-DBGyoBvZ.cjs +181 -0
- package/dist/migrate-DBGyoBvZ.cjs.map +1 -0
- package/dist/migrate-DH-lOK3j.mjs +181 -0
- package/dist/migrate-DH-lOK3j.mjs.map +1 -0
- package/dist/openapi.cjs +1 -1
- package/dist/openapi.d.cts +1 -1
- package/dist/openapi.d.mts +1 -1
- package/dist/openapi.mjs +1 -1
- package/dist/{projectBucket-Cho9DpSh.cjs → projectBucket-BjeDcAYy.cjs} +2 -2
- package/dist/{projectBucket-Cho9DpSh.cjs.map → projectBucket-BjeDcAYy.cjs.map} +1 -1
- package/dist/{projectBucket-BFp-SFee.mjs → projectBucket-DrkEht-j.mjs} +2 -2
- package/dist/{projectBucket-BFp-SFee.mjs.map → projectBucket-DrkEht-j.mjs.map} +1 -1
- package/dist/reconcile/public.d.cts +2 -2
- package/dist/reconcile/public.d.mts +2 -2
- package/dist/{resolve-C8VkR4oW.cjs → resolve-CScrqgdC.cjs} +3 -3
- package/dist/{resolve-C8VkR4oW.cjs.map → resolve-CScrqgdC.cjs.map} +1 -1
- package/dist/{resolve-6EYNqYdr.mjs → resolve-OfLaxaxY.mjs} +3 -3
- package/dist/{resolve-6EYNqYdr.mjs.map → resolve-OfLaxaxY.mjs.map} +1 -1
- package/dist/{rollback-CvGfm4DX.cjs → rollback-D7p4wJNO.cjs} +5 -5
- package/dist/{rollback-CvGfm4DX.cjs.map → rollback-D7p4wJNO.cjs.map} +1 -1
- package/dist/{rollback-BsThTeSN.mjs → rollback-DQBSN-i7.mjs} +5 -5
- package/dist/{rollback-BsThTeSN.mjs.map → rollback-DQBSN-i7.mjs.map} +1 -1
- package/dist/{runtime-CaW4QqF2.d.cts → runtime-BlHOVx8L.d.cts} +2 -2
- package/dist/{runtime-CaW4QqF2.d.cts.map → runtime-BlHOVx8L.d.cts.map} +1 -1
- package/dist/{runtime-K5uxp6HE.d.mts → runtime-DMq9C3KB.d.mts} +2 -2
- package/dist/{runtime-K5uxp6HE.d.mts.map → runtime-DMq9C3KB.d.mts.map} +1 -1
- package/dist/s3-CUKzBBae.mjs +215 -0
- package/dist/s3-CUKzBBae.mjs.map +1 -0
- package/dist/s3-QQi4sNOQ.cjs +215 -0
- package/dist/s3-QQi4sNOQ.cjs.map +1 -0
- package/dist/{sandbox-D8cfZUAA.d.cts → sandbox-ArJ_hEKk.d.cts} +2 -2
- package/dist/{sandbox-B_BkfmTP.d.mts.map → sandbox-ArJ_hEKk.d.cts.map} +1 -1
- package/dist/{sandbox-B_BkfmTP.d.mts → sandbox-Cm4X6HRh.d.mts} +2 -2
- package/dist/{sandbox-D8cfZUAA.d.cts.map → sandbox-Cm4X6HRh.d.mts.map} +1 -1
- package/dist/{secrets-HzKNTWg9.mjs → secrets-AA_tQUl-.mjs} +3 -3
- package/dist/{secrets-HzKNTWg9.mjs.map → secrets-AA_tQUl-.mjs.map} +1 -1
- package/dist/{secrets-BTY6JhTp.cjs → secrets-B_biKsKx.cjs} +3 -3
- package/dist/{secrets-BTY6JhTp.cjs.map → secrets-B_biKsKx.cjs.map} +1 -1
- package/dist/{secretsManager-C6wm-9uZ.mjs → secretsManager-CQORubp9.mjs} +2 -2
- package/dist/{secretsManager-C6wm-9uZ.mjs.map → secretsManager-CQORubp9.mjs.map} +1 -1
- package/dist/{secretsManager-Cwwgs81g.cjs → secretsManager-RAGcEDX1.cjs} +2 -2
- package/dist/{secretsManager-Cwwgs81g.cjs.map → secretsManager-RAGcEDX1.cjs.map} +1 -1
- package/dist/{seeds-BsJRUL1K.mjs → seeds-BvxWUGKJ.mjs} +32 -6
- package/dist/seeds-BvxWUGKJ.mjs.map +1 -0
- package/dist/{seeds-BQlj9Fsg.cjs → seeds-Df4BI-T3.cjs} +32 -6
- package/dist/seeds-Df4BI-T3.cjs.map +1 -0
- package/dist/{sniffer-DVsvP8s-.mjs → sniffer-BqjXvcaK.mjs} +7 -7
- package/dist/{sniffer-DVsvP8s-.mjs.map → sniffer-BqjXvcaK.mjs.map} +1 -1
- package/dist/{sniffer-CeUKUoHn.cjs → sniffer-DZeQJKty.cjs} +7 -7
- package/dist/{sniffer-CeUKUoHn.cjs.map → sniffer-DZeQJKty.cjs.map} +1 -1
- package/dist/{stack-BQOyqaVG.mjs → stack-A6MAFZ6u.mjs} +3 -3
- package/dist/{stack-BQOyqaVG.mjs.map → stack-A6MAFZ6u.mjs.map} +1 -1
- package/dist/{stack-Clzi40EE.cjs → stack-BpkZEEfB.cjs} +3 -3
- package/dist/{stack-Clzi40EE.cjs.map → stack-BpkZEEfB.cjs.map} +1 -1
- package/dist/{stages-DEmn7qI8.mjs → stages-6SEoRA4x.mjs} +6 -5
- package/dist/stages-6SEoRA4x.mjs.map +1 -0
- package/dist/{stages-BpDXFPGg.cjs → stages-DH5z89eT.cjs} +6 -5
- package/dist/stages-DH5z89eT.cjs.map +1 -0
- 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-4vPS_YFX.d.cts → types-DipUP9zp.d.cts} +62 -8
- package/dist/types-DipUP9zp.d.cts.map +1 -0
- package/dist/{types-CFsEyFb1.d.mts → types-Drpl9HX9.d.mts} +62 -8
- package/dist/types-Drpl9HX9.d.mts.map +1 -0
- package/dist/workspace/index.cjs +1 -1
- package/dist/workspace/index.d.cts +2 -2
- package/dist/workspace/index.d.mts +2 -2
- package/dist/workspace/index.mjs +1 -1
- package/dist/{workspace-Bv4xROeu.mjs → workspace-BBeT6Pil.mjs} +56 -4
- package/dist/workspace-BBeT6Pil.mjs.map +1 -0
- package/dist/{workspace-C1M-S4al.cjs → workspace-BJ78Bgvm.cjs} +67 -3
- package/dist/workspace-BJ78Bgvm.cjs.map +1 -0
- package/package.json +15 -15
- package/dist/S3StateStore-CMN0Uzdp.mjs.map +0 -1
- package/dist/S3StateStore-zK9zcd9f.cjs.map +0 -1
- package/dist/awsStore-B5We7bMg.cjs.map +0 -1
- package/dist/awsStore-BWa1KNY-.mjs.map +0 -1
- package/dist/github-DC4SIqV1.cjs.map +0 -1
- package/dist/github-zgaBOQvh.mjs.map +0 -1
- package/dist/migrate-C230QeXU.mjs +0 -94
- package/dist/migrate-C230QeXU.mjs.map +0 -1
- package/dist/migrate-CsMrI7Dk.cjs +0 -94
- package/dist/migrate-CsMrI7Dk.cjs.map +0 -1
- package/dist/seeds-BQlj9Fsg.cjs.map +0 -1
- package/dist/seeds-BsJRUL1K.mjs.map +0 -1
- package/dist/stages-BpDXFPGg.cjs.map +0 -1
- package/dist/stages-DEmn7qI8.mjs.map +0 -1
- package/dist/types-4vPS_YFX.d.cts.map +0 -1
- package/dist/types-CFsEyFb1.d.mts.map +0 -1
- package/dist/workspace-Bv4xROeu.mjs.map +0 -1
- package/dist/workspace-C1M-S4al.cjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -5,9 +5,9 @@ import { r as DEFAULT_TIMEOUT_MS, t as CommandFailed } from "./run-BJLIerMM.mjs"
|
|
|
5
5
|
import { a as getDokployCredentials, d as removeGoDaddyCredentials, f as storeDokployCredentials, i as getCredentialsPath, l as readCredentials, m as storeHostingerToken, o as getDokployRegistryId, p as storeGoDaddyToken, s as getDokployToken, u as removeDokployCredentials } from "./credentials-B5N5yKk6.mjs";
|
|
6
6
|
import { l as withOwningTsconfigJsx, r as discover, u as ConstructGenerator } from "./discover-qjFapetL.mjs";
|
|
7
7
|
import { t as appKey } from "./derive-B4vDpzgP.mjs";
|
|
8
|
-
import { A as InvalidStages, F as stageProblems, P as deployedProblems, R as stageSampleRate, a as allConstructGlobs, d as getAppGkmConfig, j as TEST_STAGE, u as getAppBuildOrder } from "./workspace-
|
|
8
|
+
import { A as InvalidStages, F as stageProblems, P as deployedProblems, R as stageSampleRate, a as allConstructGlobs, d as getAppGkmConfig, j as TEST_STAGE, u as getAppBuildOrder } from "./workspace-BBeT6Pil.mjs";
|
|
9
9
|
import { ConfigNotFound, NotABackendApp, NotInAnApp, loadAppConfig, loadConfig, loadWorkspaceConfig, loadWorkspaceSettings, parseModuleConfig } from "./config.mjs";
|
|
10
|
-
import { C as assertDevServicesFlag, Cn as loadEnvFiles, Ct as LOCAL_CA_PATH, En as prepareEntryCredentials, Ft as pgClient, Gn as maskPassword, Jn as withCustomSecret, Jt as imageBuildCredentials, Ln as deployIdentity, Mn as getKeyPath, On as secretsStoreFor, Pn as projectKey, Qt as providerOf, Sn as isPortAvailable, Tn as loadSecretsForApp, Xt as cacheBackendFor, Yn as LOCAL_LOGS_EMAIL, Yt as isImageBuild, Zt as eventsBackendFor, _n as portsOf, at as CronGenerator, bn as createEntryWrapper, ct as constructGlobs, dn as telemetryOf, en as CLUSTER_DATABASE, et as workerUnits, g as describeActor, hn as fakeKey, ht as readLocalCredentials, it as QueueGenerator, jn as FileSecretsStore, jt as quoteIdentifier, kt as postgresDatabaseNames, ln as scopeTelemetryEnv, lt as derivedContainers, mn as describeServices, nt as workerBundleName, ot as FAKE_ENV, p as dnsResources, qn as toEmbeddableSecrets, rn as TELEMETRY_CONTAINER, rt as workerEntryDir, s as dockerCommand, sn as appTelemetry, st as backendsOf$1, tt as WorkerGenerator, un as surfaceClientTraced, ut as reconcileWorkspace, vn as primaryPortKey, wn as loadPortState, wt as forgetState, xn as findAvailablePort, yn as createCredentialsPreload } from "./seeds-
|
|
10
|
+
import { C as assertDevServicesFlag, Cn as loadEnvFiles, Ct as LOCAL_CA_PATH, En as prepareEntryCredentials, Ft as pgClient, Gn as maskPassword, Jn as withCustomSecret, Jt as imageBuildCredentials, Ln as deployIdentity, Mn as getKeyPath, On as secretsStoreFor, Pn as projectKey, Qt as providerOf, Sn as isPortAvailable, Tn as loadSecretsForApp, Xt as cacheBackendFor, Yn as LOCAL_LOGS_EMAIL, Yt as isImageBuild, Zt as eventsBackendFor, _n as portsOf, at as CronGenerator, bn as createEntryWrapper, ct as constructGlobs, dn as telemetryOf, en as CLUSTER_DATABASE, et as workerUnits, g as describeActor, hn as fakeKey, ht as readLocalCredentials, it as QueueGenerator, jn as FileSecretsStore, jt as quoteIdentifier, kt as postgresDatabaseNames, ln as scopeTelemetryEnv, lt as derivedContainers, mn as describeServices, nt as workerBundleName, ot as FAKE_ENV, p as dnsResources, qn as toEmbeddableSecrets, rn as TELEMETRY_CONTAINER, rt as workerEntryDir, s as dockerCommand, sn as appTelemetry, st as backendsOf$1, tt as WorkerGenerator, un as surfaceClientTraced, ut as reconcileWorkspace, vn as primaryPortKey, wn as loadPortState, wt as forgetState, xn as findAvailablePort, yn as createCredentialsPreload } from "./seeds-BvxWUGKJ.mjs";
|
|
11
11
|
import { c as startTelemetryCode, l as telemetryFor, n as runtimeFor, o as mountRequestSpansCode, r as parseTelemetryFlag, s as routeTelemetry, t as EndpointGenerator, u as writeTelemetryModule } from "./EndpointGenerator-Bor2tZCm.mjs";
|
|
12
12
|
import { generateOpenApi, openapiCommand, resolveOpenApiConfig } from "./openapi.mjs";
|
|
13
13
|
import { s as isCacheBackend, t as SubscriberGenerator } from "./SubscriberGenerator-CyN2VF5X.mjs";
|
|
@@ -15,12 +15,12 @@ import { a as describeHolder, i as assignAppPorts, o as holderOf, r as appTag, s
|
|
|
15
15
|
import { n as driversFor, r as eventsBackendsIn, t as cacheBackendsIn } from "./drivers-CTaWrA_L.mjs";
|
|
16
16
|
import { n as withCompute, r as withRoutes, t as manifestModule } from "./emit-C1e8qD08.mjs";
|
|
17
17
|
import { t as LocalSandbox } from "./local-BwC2v2Y8.mjs";
|
|
18
|
-
import { S as createStateStore, k as keyFingerprint, n as sniffAppEnvironment, o as DokployApi } from "./sniffer-
|
|
19
|
-
import { t as deploy$1 } from "./deploy-
|
|
18
|
+
import { S as createStateStore, k as keyFingerprint, n as sniffAppEnvironment, o as DokployApi } from "./sniffer-BqjXvcaK.mjs";
|
|
19
|
+
import { t as deploy$1 } from "./deploy-Dw8g3sLY.mjs";
|
|
20
20
|
import { o as loadCredentialSchemas, t as CredentialsInvalid } from "./credentialSchemas-BJFvfkaz.mjs";
|
|
21
|
-
import { a as stackOverrideFile, c as dockerCompose, i as ComposePushNeedsBuild, o as edgeDir, r as ComposePinNeedsPull, s as removeEdgeRoutes, t as composeTarget } from "./compose-
|
|
22
|
-
import { d as parseDigests, h as EDGE_PROJECT, i as composeProject, p as pinnedRef, s as stackDir } from "./stack-
|
|
23
|
-
import { t as LocalStateStore } from "./LocalStateStore-
|
|
21
|
+
import { a as stackOverrideFile, c as dockerCompose, i as ComposePushNeedsBuild, o as edgeDir, r as ComposePinNeedsPull, s as removeEdgeRoutes, t as composeTarget } from "./compose-CQQRRJC3.mjs";
|
|
22
|
+
import { d as parseDigests, h as EDGE_PROJECT, i as composeProject, p as pinnedRef, s as stackDir } from "./stack-A6MAFZ6u.mjs";
|
|
23
|
+
import { t as LocalStateStore } from "./LocalStateStore-DPQSqkSb.mjs";
|
|
24
24
|
import { a as getExecCommand, c as validateProjectName, i as findWorkspaceRoot, n as detectPackageManager$1, o as getInstallCommand, r as findWorkspacePackages, s as getRunCommand, t as checkDirectoryExists } from "./utils-D_fxUqvU.mjs";
|
|
25
25
|
import { a as writeTestHarness, i as TEST_MANIFEST_ENV, n as TEST_READY_FILE, t as TEST_READY_ENV } from "./ready-naOSJpeJ.mjs";
|
|
26
26
|
import { createRequire } from "node:module";
|
|
@@ -50,7 +50,7 @@ import crypto from "crypto";
|
|
|
50
50
|
import { Function } from "@geekmidas/constructs/functions";
|
|
51
51
|
import { Topic } from "@geekmidas/constructs/topic";
|
|
52
52
|
//#region package.json
|
|
53
|
-
var version = "10.0.0-alpha.
|
|
53
|
+
var version = "10.0.0-alpha.98";
|
|
54
54
|
//#endregion
|
|
55
55
|
//#region src/prompt.ts
|
|
56
56
|
/**
|
|
@@ -133,7 +133,7 @@ const logger$8 = console;
|
|
|
133
133
|
* Validate Dokploy token by making a test API call
|
|
134
134
|
*/
|
|
135
135
|
async function validateDokployToken(endpoint, token) {
|
|
136
|
-
const { DokployApi } = await import("./sniffer-
|
|
136
|
+
const { DokployApi } = await import("./sniffer-BqjXvcaK.mjs").then((n) => n.c);
|
|
137
137
|
return new DokployApi({
|
|
138
138
|
baseUrl: endpoint,
|
|
139
139
|
token
|
|
@@ -2327,9 +2327,9 @@ async function workspaceDevCommand(configured, options) {
|
|
|
2327
2327
|
for (const { id, port } of fakes) logger$5.log(`🎭 ${id} fake: http://localhost:${port}`);
|
|
2328
2328
|
logger$5.log(options.migrate || options.seed ? "🗄️ Migrating the databases" : "🗄️ Checking for pending migrations");
|
|
2329
2329
|
if (options.migrate || options.seed) {
|
|
2330
|
-
const { prepareDevDatabases } = await import("./migrate-
|
|
2330
|
+
const { prepareDevDatabases } = await import("./migrate-CCZUgxMK.mjs");
|
|
2331
2331
|
await prepareDevDatabases(workspace, reconciled.env, { seed: !!options.seed });
|
|
2332
|
-
} else await import("./migrate-
|
|
2332
|
+
} else await import("./migrate-CCZUgxMK.mjs").then(({ reportPendingMigrations }) => reportPendingMigrations(workspace, reconciled.env)).catch((error) => {
|
|
2333
2333
|
logger$5.log(`⚠️ Could not check for pending migrations: ${error instanceof Error ? error.message : String(error)}`);
|
|
2334
2334
|
});
|
|
2335
2335
|
const appUrls = {};
|
|
@@ -3382,7 +3382,7 @@ async function buildApp(input) {
|
|
|
3382
3382
|
...production,
|
|
3383
3383
|
...telemetry ? { telemetry } : {}
|
|
3384
3384
|
});
|
|
3385
|
-
const { bundleServer } = await import("./bundler-
|
|
3385
|
+
const { bundleServer } = await import("./bundler-DxJ-cIEt.mjs");
|
|
3386
3386
|
await bundleServer({
|
|
3387
3387
|
entryPoint,
|
|
3388
3388
|
outputDir: join(outputDir, "dist"),
|
|
@@ -3527,7 +3527,7 @@ async function buildWorkers(input) {
|
|
|
3527
3527
|
});
|
|
3528
3528
|
logger$4.log(`Generated worker ${worker.id}: ${crons.length} crons, ${queues.length} queues, ${subscribers.length} subscribers`);
|
|
3529
3529
|
if (!input.bundle) continue;
|
|
3530
|
-
const { bundleServer } = await import("./bundler-
|
|
3530
|
+
const { bundleServer } = await import("./bundler-DxJ-cIEt.mjs");
|
|
3531
3531
|
const outfile = workerBundleName(worker.id);
|
|
3532
3532
|
await bundleServer({
|
|
3533
3533
|
entryPoint,
|
|
@@ -3613,7 +3613,7 @@ async function buildForTarget(target, context, appRoot, workspaceRoot, endpointG
|
|
|
3613
3613
|
let masterKey;
|
|
3614
3614
|
if (context.production?.bundle && !skipBundle) {
|
|
3615
3615
|
logger$4.log(`\n📦 Bundling production server...`);
|
|
3616
|
-
const { bundleServer } = await import("./bundler-
|
|
3616
|
+
const { bundleServer } = await import("./bundler-DxJ-cIEt.mjs");
|
|
3617
3617
|
const allConstructs = [
|
|
3618
3618
|
...endpoints.map((e) => e.construct),
|
|
3619
3619
|
...functions.map((f) => f.construct),
|
|
@@ -5432,25 +5432,25 @@ function loadPackageJson() {
|
|
|
5432
5432
|
* Run: pnpm --filter @geekmidas/cli sync-versions
|
|
5433
5433
|
*/
|
|
5434
5434
|
const GEEKMIDAS_VERSIONS = {
|
|
5435
|
-
"@geekmidas/audit": "~10.0.0-alpha.
|
|
5436
|
-
"@geekmidas/auth": "~10.0.0-alpha.
|
|
5437
|
-
"@geekmidas/cache": "~10.0.0-alpha.
|
|
5438
|
-
"@geekmidas/client": "~10.0.0-alpha.
|
|
5439
|
-
"@geekmidas/cloud": "~10.0.0-alpha.
|
|
5440
|
-
"@geekmidas/constructs": "~10.0.0-alpha.
|
|
5441
|
-
"@geekmidas/db": "~10.0.0-alpha.
|
|
5442
|
-
"@geekmidas/emailkit": "~10.0.0-alpha.
|
|
5443
|
-
"@geekmidas/envkit": "~10.0.0-alpha.
|
|
5444
|
-
"@geekmidas/errors": "~10.0.0-alpha.
|
|
5445
|
-
"@geekmidas/events": "~10.0.0-alpha.
|
|
5446
|
-
"@geekmidas/logger": "~10.0.0-alpha.
|
|
5447
|
-
"@geekmidas/manifest": "~10.0.0-alpha.
|
|
5448
|
-
"@geekmidas/rate-limit": "~10.0.0-alpha.
|
|
5449
|
-
"@geekmidas/schema": "~10.0.0-alpha.
|
|
5450
|
-
"@geekmidas/services": "~10.0.0-alpha.
|
|
5451
|
-
"@geekmidas/storage": "~10.0.0-alpha.
|
|
5452
|
-
"@geekmidas/telescope": "~10.0.0-alpha.
|
|
5453
|
-
"@geekmidas/testkit": "~10.0.0-alpha.
|
|
5435
|
+
"@geekmidas/audit": "~10.0.0-alpha.98",
|
|
5436
|
+
"@geekmidas/auth": "~10.0.0-alpha.98",
|
|
5437
|
+
"@geekmidas/cache": "~10.0.0-alpha.98",
|
|
5438
|
+
"@geekmidas/client": "~10.0.0-alpha.98",
|
|
5439
|
+
"@geekmidas/cloud": "~10.0.0-alpha.98",
|
|
5440
|
+
"@geekmidas/constructs": "~10.0.0-alpha.98",
|
|
5441
|
+
"@geekmidas/db": "~10.0.0-alpha.98",
|
|
5442
|
+
"@geekmidas/emailkit": "~10.0.0-alpha.98",
|
|
5443
|
+
"@geekmidas/envkit": "~10.0.0-alpha.98",
|
|
5444
|
+
"@geekmidas/errors": "~10.0.0-alpha.98",
|
|
5445
|
+
"@geekmidas/events": "~10.0.0-alpha.98",
|
|
5446
|
+
"@geekmidas/logger": "~10.0.0-alpha.98",
|
|
5447
|
+
"@geekmidas/manifest": "~10.0.0-alpha.98",
|
|
5448
|
+
"@geekmidas/rate-limit": "~10.0.0-alpha.98",
|
|
5449
|
+
"@geekmidas/schema": "~10.0.0-alpha.98",
|
|
5450
|
+
"@geekmidas/services": "~10.0.0-alpha.98",
|
|
5451
|
+
"@geekmidas/storage": "~10.0.0-alpha.98",
|
|
5452
|
+
"@geekmidas/telescope": "~10.0.0-alpha.98",
|
|
5453
|
+
"@geekmidas/testkit": "~10.0.0-alpha.98",
|
|
5454
5454
|
"@geekmidas/cli": `~${loadPackageJson().version}`
|
|
5455
5455
|
};
|
|
5456
5456
|
//#endregion
|
|
@@ -5851,7 +5851,7 @@ const COMMIT = /^[0-9a-f]{40}$/;
|
|
|
5851
5851
|
* The `uses:` value for the stages action, with a comment saying which CLI
|
|
5852
5852
|
* release the pinned commit is.
|
|
5853
5853
|
*/
|
|
5854
|
-
function stagesActionUses(commit = "
|
|
5854
|
+
function stagesActionUses(commit = "e20b5756311a0437161b94dc9be00aa1ff1120ab", version = cliVersion()) {
|
|
5855
5855
|
return commit && COMMIT.test(commit) ? `${STAGES_ACTION}@${commit} # @geekmidas/cli ${version}` : `${STAGES_ACTION}@main # pin to a commit SHA: see the action's README`;
|
|
5856
5856
|
}
|
|
5857
5857
|
//#endregion
|
|
@@ -6185,7 +6185,7 @@ ${pm.setup}
|
|
|
6185
6185
|
|
|
6186
6186
|
${registryLogin(registry)}
|
|
6187
6187
|
# A site's public URLs are built into it, so the build reads the stage's
|
|
6188
|
-
# secrets store. With secrets.store on SSM or Secrets Manager the job
|
|
6188
|
+
# secrets store. With secrets.store on S3, SSM or Secrets Manager the job
|
|
6189
6189
|
# assumes the stage's role (AWS_ROLE_ARN, set by gkm deploy:github);
|
|
6190
6190
|
# with the default 'file' store there is no role to assume.
|
|
6191
6191
|
- name: Assume the stage's AWS role
|
|
@@ -7805,7 +7805,7 @@ ${deployBlock(options)}
|
|
|
7805
7805
|
${workspaceConstructsGlobs(options.routesStructure, dirname(options.apiPath)).map((glob) => ` '${glob}',`).join("\n")}
|
|
7806
7806
|
],
|
|
7807
7807
|
|
|
7808
|
-
secrets: {
|
|
7808
|
+
${stateBlock(options)} secrets: {
|
|
7809
7809
|
enabled: true,${secretsStore(options)}
|
|
7810
7810
|
},
|
|
7811
7811
|
});
|
|
@@ -7831,17 +7831,32 @@ function deployBlock(options) {
|
|
|
7831
7831
|
`;
|
|
7832
7832
|
}
|
|
7833
7833
|
/**
|
|
7834
|
-
* Where a deployed stage's
|
|
7835
|
-
*
|
|
7836
|
-
*
|
|
7834
|
+
* Where a deployed stage's deploy state lives: on AWS, the project bucket —
|
|
7835
|
+
* one bucket per project and account, created by the first deploy — which
|
|
7836
|
+
* the stage's secrets share.
|
|
7837
|
+
*/
|
|
7838
|
+
function stateBlock(options) {
|
|
7839
|
+
if (options.deployTarget !== "sst" || !options.region) return "";
|
|
7840
|
+
return ` // Deploy state, secrets and backups share one bucket per project and
|
|
7841
|
+
// account, gkm-<project>-<account id>, created by the first deploy:
|
|
7842
|
+
// versioned, encrypted, never public.
|
|
7843
|
+
state: { provider: 's3', region: '${options.region}' },
|
|
7844
|
+
|
|
7845
|
+
`;
|
|
7846
|
+
}
|
|
7847
|
+
/**
|
|
7848
|
+
* Where a deployed stage's secrets live. On AWS that is the project bucket,
|
|
7849
|
+
* beside the deploy state, in the stage's own account, which the deploy job
|
|
7850
|
+
* reaches with the role it already assumed; a server target keeps the
|
|
7851
|
+
* encrypted local file, the default.
|
|
7837
7852
|
*/
|
|
7838
7853
|
function secretsStore(options) {
|
|
7839
7854
|
if (options.deployTarget !== "sst" || !options.region) return "";
|
|
7840
7855
|
return `
|
|
7841
|
-
// Deployed stages keep their secrets in
|
|
7842
|
-
//
|
|
7843
|
-
//
|
|
7844
|
-
store: { provider: '
|
|
7856
|
+
// Deployed stages keep their secrets in the project bucket, beside the
|
|
7857
|
+
// state, in the account each stage deploys to:
|
|
7858
|
+
// \`gkm secrets:set <KEY> '…' --stage <stage>\` writes there.
|
|
7859
|
+
store: { provider: 's3' },`;
|
|
7845
7860
|
}
|
|
7846
7861
|
/**
|
|
7847
7862
|
* The workspace's constructs, at its root rather than inside an app.
|
|
@@ -11591,7 +11606,7 @@ function testDatabases(reconciled) {
|
|
|
11591
11606
|
* starts without the reference data the app needs.
|
|
11592
11607
|
*/
|
|
11593
11608
|
async function migrateTestStage(workspace, env) {
|
|
11594
|
-
const { migrateAndSeed } = await import("./migrate-
|
|
11609
|
+
const { migrateAndSeed } = await import("./migrate-CCZUgxMK.mjs");
|
|
11595
11610
|
const { discover } = await import("./discover-qjFapetL.mjs").then((n) => n.i);
|
|
11596
11611
|
const sources = {};
|
|
11597
11612
|
const manifest = await discover({
|
|
@@ -12027,7 +12042,7 @@ program.command("migrate").description("Apply each database construct's migratio
|
|
|
12027
12042
|
try {
|
|
12028
12043
|
const globalOptions = program.opts();
|
|
12029
12044
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12030
|
-
const { migrateCommand } = await import("./migrate-
|
|
12045
|
+
const { migrateCommand } = await import("./migrate-CCZUgxMK.mjs");
|
|
12031
12046
|
await migrateCommand({
|
|
12032
12047
|
...options,
|
|
12033
12048
|
...construct ? { construct } : {}
|
|
@@ -12040,7 +12055,7 @@ program.command("seed").description("Migrate, then run each database construct's
|
|
|
12040
12055
|
try {
|
|
12041
12056
|
const globalOptions = program.opts();
|
|
12042
12057
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12043
|
-
const { seedCommand } = await import("./migrate-
|
|
12058
|
+
const { seedCommand } = await import("./migrate-CCZUgxMK.mjs");
|
|
12044
12059
|
await seedCommand({
|
|
12045
12060
|
...options,
|
|
12046
12061
|
...construct ? { construct } : {}
|
|
@@ -12053,7 +12068,7 @@ program.command("migration").description("Write a construct's next migration: an
|
|
|
12053
12068
|
try {
|
|
12054
12069
|
const globalOptions = program.opts();
|
|
12055
12070
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12056
|
-
const { migrationCommand } = await import("./migrate-
|
|
12071
|
+
const { migrationCommand } = await import("./migrate-CCZUgxMK.mjs");
|
|
12057
12072
|
await migrationCommand({
|
|
12058
12073
|
construct,
|
|
12059
12074
|
...name ? { name } : {}
|
|
@@ -12153,7 +12168,7 @@ program.command("secrets:add").description("Build the keys a stage must be given
|
|
|
12153
12168
|
try {
|
|
12154
12169
|
const globalOptions = program.opts();
|
|
12155
12170
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12156
|
-
const { secretsAddCommand } = await import("./add-
|
|
12171
|
+
const { secretsAddCommand } = await import("./add-CZIIsTcv.mjs");
|
|
12157
12172
|
await secretsAddCommand(options);
|
|
12158
12173
|
} catch (error) {
|
|
12159
12174
|
exitWithError(error);
|
|
@@ -12163,7 +12178,7 @@ program.command("encryption:rotate").description("Add a new current key to an En
|
|
|
12163
12178
|
try {
|
|
12164
12179
|
const globalOptions = program.opts();
|
|
12165
12180
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12166
|
-
const { encryptionRotateCommand } = await import("./encryption-
|
|
12181
|
+
const { encryptionRotateCommand } = await import("./encryption-C0uKYE9v.mjs");
|
|
12167
12182
|
await encryptionRotateCommand(construct, options);
|
|
12168
12183
|
} catch (error) {
|
|
12169
12184
|
exitWithError(error);
|
|
@@ -12173,7 +12188,7 @@ program.command("encryption:retire").description("Remove an old key from an Encr
|
|
|
12173
12188
|
try {
|
|
12174
12189
|
const globalOptions = program.opts();
|
|
12175
12190
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12176
|
-
const { encryptionRetireCommand } = await import("./encryption-
|
|
12191
|
+
const { encryptionRetireCommand } = await import("./encryption-C0uKYE9v.mjs");
|
|
12177
12192
|
await encryptionRetireCommand(construct, key, options);
|
|
12178
12193
|
} catch (error) {
|
|
12179
12194
|
exitWithError(error);
|
|
@@ -12212,7 +12227,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
12212
12227
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12213
12228
|
const { loadWorkspaceConfig } = await import("./config.mjs");
|
|
12214
12229
|
const { reconcileMissingSecrets } = await import("./reconcile--I7V4Klj.mjs");
|
|
12215
|
-
const { secretsStoreFor } = await import("./seeds-
|
|
12230
|
+
const { secretsStoreFor } = await import("./seeds-BvxWUGKJ.mjs").then((n) => n.An);
|
|
12216
12231
|
const { workspace } = await loadWorkspaceConfig();
|
|
12217
12232
|
const stage = options.stage ?? workspace.stages.local;
|
|
12218
12233
|
const store = await secretsStoreFor(workspace, stage);
|
|
@@ -12221,7 +12236,7 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
12221
12236
|
console.error(`No secrets found for stage "${stage}". Run "gkm secrets:init --stage ${stage}" first.`);
|
|
12222
12237
|
process.exit(1);
|
|
12223
12238
|
}
|
|
12224
|
-
const { derivedContainers } = await import("./seeds-
|
|
12239
|
+
const { derivedContainers } = await import("./seeds-BvxWUGKJ.mjs").then((n) => n.dt);
|
|
12225
12240
|
const result = reconcileMissingSecrets(secrets, workspace, await derivedContainers(workspace, stage));
|
|
12226
12241
|
if (!result) {
|
|
12227
12242
|
console.log(`\n✓ Secrets for stage "${stage}" are up-to-date`);
|
|
@@ -12234,18 +12249,18 @@ program.command("secrets:reconcile").description("Backfill missing custom secret
|
|
|
12234
12249
|
exitWithError(error);
|
|
12235
12250
|
}
|
|
12236
12251
|
});
|
|
12237
|
-
program.command("secrets:migrate").description("Copy a deployed stage's secrets from the configured store to another (
|
|
12252
|
+
program.command("secrets:migrate").description("Copy a deployed stage's secrets from the configured store to another (s3, ssm, secrets-manager, file), verify the copy, and print how to delete the source").requiredOption("--stage <stage>", "A deployed stage").requiredOption("--to <provider>", "s3, ssm, secrets-manager or file").option("--region <region>", "The target's AWS region (default: the S3 state's for s3, else the configured store's)").option("--profile <profile>", "AWS profile for the stage's account").option("--force", "Replace different secrets the target already holds").action(async (options) => {
|
|
12238
12253
|
try {
|
|
12239
12254
|
const globalOptions = program.opts();
|
|
12240
12255
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12241
|
-
const { secretsMigrateCommand } = await import("./migrate-
|
|
12256
|
+
const { secretsMigrateCommand } = await import("./migrate-DH-lOK3j.mjs");
|
|
12242
12257
|
await secretsMigrateCommand(options);
|
|
12243
12258
|
} catch (error) {
|
|
12244
12259
|
exitWithError(error);
|
|
12245
12260
|
}
|
|
12246
12261
|
});
|
|
12247
12262
|
program.command("deploy").description("Deploy a stage through its target").option("--target <name>", "Deploy target: dokploy, compose, sst, or one named in deploy.targets (default: deploy.default)").option("--provider <provider>", "[DEPRECATED] Use --target instead").requiredOption("--stage <stage>", "Deployment stage (e.g., production, staging)").option("--tag <tag>", "Image tag (default: stage-timestamp; compose: the commit). Compose pulls a given tag").option("--skip-push", "Skip pushing image to registry").option("--skip-build", "Skip build step (use existing build)").option("--json", "Write events as JSON lines instead of progress; never prompts").option("--dry-run", "Show what would be created or reused; change, build and push nothing").option("--atomic", "If the release fails, roll back every app it released, not only the failed ones").option("--allow-dev-services", "Server targets: run the dev service (MinIO, Mailpit) for every bucket and mail the stage doesn't account for. Not production-grade").option("--skip-dns", "Compose: neither write the public hosts' DNS records nor check they point at GKM_SERVER_IPV4 (a CDN or proxy in front, or records written elsewhere)").option("--resources-only", "Deployed stage: create its resources — deploy.<kind>.<stage> providers' buckets and keys, and its DNS records — and nothing else (a CI runner, before the server deploys)").option("--skip-resources", "Deployed stage: an earlier --resources-only run created its resources; run no provider and write or check no DNS record").option("--rotate-keys", "Deployed stage: each provider issues its runtime keys a successor (the old one is deleted by the next deploy)").option("--retire-old-keys", "Deployed stage: delete a rotated-out key now instead of on the next deploy").action(async (options) => {
|
|
12248
|
-
const { deployCli } = await import("./cli-
|
|
12263
|
+
const { deployCli } = await import("./cli-CV85bY3-.mjs");
|
|
12249
12264
|
const globalOptions = program.opts();
|
|
12250
12265
|
const code = await deployCli({
|
|
12251
12266
|
cwd: resolve(globalOptions.cwd ?? process.cwd()),
|
|
@@ -12267,7 +12282,7 @@ program.command("deploy").description("Deploy a stage through its target").optio
|
|
|
12267
12282
|
});
|
|
12268
12283
|
program.command("deploy:rollback").description("Put a stage's app back on its previous release (Dokploy): one app with --app, every app with --atomic").requiredOption("--stage <stage>", "A deployed stage").option("--app <app>", "The app to roll back").option("--atomic", "Roll back every app that has an earlier release").action(async (options) => {
|
|
12269
12284
|
try {
|
|
12270
|
-
const { rollbackStage } = await import("./rollback-
|
|
12285
|
+
const { rollbackStage } = await import("./rollback-DQBSN-i7.mjs").then((n) => n.a);
|
|
12271
12286
|
const { terminalCredentials } = await import("./terminal-iNmAXXjs.mjs");
|
|
12272
12287
|
const globalOptions = program.opts();
|
|
12273
12288
|
await rollbackStage({
|
|
@@ -12301,7 +12316,7 @@ program.command("deploy:github").description("Let GitHub Actions deploy a stage:
|
|
|
12301
12316
|
try {
|
|
12302
12317
|
const globalOptions = program.opts();
|
|
12303
12318
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12304
|
-
const { deployGithubCommand } = await import("./github-
|
|
12319
|
+
const { deployGithubCommand } = await import("./github-CT3X720_.mjs");
|
|
12305
12320
|
await deployGithubCommand(options);
|
|
12306
12321
|
} catch (error) {
|
|
12307
12322
|
exitWithError(error);
|
|
@@ -12311,7 +12326,7 @@ program.command("stages").description("The workspace's stages from gkm.config.ts
|
|
|
12311
12326
|
try {
|
|
12312
12327
|
const globalOptions = program.opts();
|
|
12313
12328
|
if (globalOptions.cwd) process.chdir(globalOptions.cwd);
|
|
12314
|
-
const { stagesCommand } = await import("./stages-
|
|
12329
|
+
const { stagesCommand } = await import("./stages-6SEoRA4x.mjs");
|
|
12315
12330
|
await stagesCommand(options);
|
|
12316
12331
|
} catch (error) {
|
|
12317
12332
|
exitWithError(error);
|