@geekmidas/cli 10.0.0-alpha.44 → 10.0.0-alpha.46
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/README.md +144 -183
- package/dist/{OpenApiTsGenerator-B4Kj_qNU.cjs → OpenApiTsGenerator-BN0PIZxd.cjs} +17 -71
- package/dist/OpenApiTsGenerator-BN0PIZxd.cjs.map +1 -0
- package/dist/{OpenApiTsGenerator-CEh3EKN3.mjs → OpenApiTsGenerator-BzIGy8KE.mjs} +17 -71
- package/dist/OpenApiTsGenerator-BzIGy8KE.mjs.map +1 -0
- package/dist/{config-CJ-PAb7M.cjs → config-CsYSyUya.cjs} +3 -3
- package/dist/{config-CJ-PAb7M.cjs.map → config-CsYSyUya.cjs.map} +1 -1
- package/dist/{config-5watB1D0.mjs → config-D8J5rrTb.mjs} +3 -3
- package/dist/{config-5watB1D0.mjs.map → config-D8J5rrTb.mjs.map} +1 -1
- package/dist/config.cjs +2 -2
- package/dist/config.d.cts +2 -2
- package/dist/config.d.mts +2 -2
- package/dist/config.mjs +2 -2
- package/dist/{discover-BLhf7V_J.mjs → discover-Cf2jAcgF.mjs} +4 -56
- package/dist/discover-Cf2jAcgF.mjs.map +1 -0
- package/dist/{discover-B0f_kuNN.cjs → discover-DXNviAh-.cjs} +3 -79
- package/dist/discover-DXNviAh-.cjs.map +1 -0
- package/dist/{emit-Bzq7JsMP.mjs → emit-C1e8qD08.mjs} +12 -43
- package/dist/emit-C1e8qD08.mjs.map +1 -0
- package/dist/{emit-BdoPFjZf.cjs → emit-Dmc1nvdS.cjs} +11 -54
- package/dist/emit-Dmc1nvdS.cjs.map +1 -0
- package/dist/{github-D5MthUlR.mjs → github-BfpadQWQ.mjs} +3 -3
- package/dist/{github-D5MthUlR.mjs.map → github-BfpadQWQ.mjs.map} +1 -1
- package/dist/{github-BAr8WGkR.cjs → github-BrI1tv6u.cjs} +3 -3
- package/dist/{github-BAr8WGkR.cjs.map → github-BrI1tv6u.cjs.map} +1 -1
- package/dist/{index-B3PeGOQp.d.cts → index-BQhJXpaQ.d.mts} +2 -2
- package/dist/{index-B3PeGOQp.d.cts.map → index-BQhJXpaQ.d.mts.map} +1 -1
- package/dist/{index-BOyaGcCm.d.mts → index-DHJePE0y.d.cts} +2 -2
- package/dist/{index-BOyaGcCm.d.mts.map → index-DHJePE0y.d.cts.map} +1 -1
- package/dist/index.cjs +395 -660
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +397 -662
- package/dist/index.mjs.map +1 -1
- package/dist/{migrate-BRklCm7b.mjs → migrate-B3opyC3o.mjs} +5 -5
- package/dist/{migrate-BRklCm7b.mjs.map → migrate-B3opyC3o.mjs.map} +1 -1
- package/dist/{migrate-PJi4b1ga.cjs → migrate-Dp5HFzuQ.cjs} +5 -5
- package/dist/{migrate-PJi4b1ga.cjs.map → migrate-Dp5HFzuQ.cjs.map} +1 -1
- package/dist/openapi.cjs +2 -2
- package/dist/openapi.d.cts +1 -1
- package/dist/openapi.d.mts +1 -1
- package/dist/openapi.mjs +2 -2
- package/dist/{ready-3RfHxdA0.cjs → ready-L7I68yXf.cjs} +67 -8
- package/dist/ready-L7I68yXf.cjs.map +1 -0
- package/dist/{ready-ZqOuNvKD.mjs → ready-V6Ou6-B6.mjs} +49 -8
- package/dist/ready-V6Ou6-B6.mjs.map +1 -0
- package/dist/reconcile/public.cjs +2 -4
- package/dist/reconcile/public.d.cts +6 -10
- package/dist/reconcile/public.d.cts.map +1 -1
- package/dist/reconcile/public.d.mts +6 -10
- package/dist/reconcile/public.d.mts.map +1 -1
- package/dist/reconcile/public.mjs +3 -3
- package/dist/{types-0R124hrY.d.mts → types-BbrNu83u.d.mts} +14 -109
- package/dist/{types-0R124hrY.d.mts.map → types-BbrNu83u.d.mts.map} +1 -1
- package/dist/{types-DfdYe31u.d.cts → types-DNqEsctD.d.cts} +14 -109
- package/dist/{types-DfdYe31u.d.cts.map → types-DNqEsctD.d.cts.map} +1 -1
- 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 +2 -2
- package/dist/workspace/index.d.mts +2 -2
- package/dist/workspace/index.mjs +1 -1
- package/dist/{workspace-BKytVCzb.mjs → workspace-CHEC80sp.mjs} +6 -7
- package/dist/workspace-CHEC80sp.mjs.map +1 -0
- package/dist/{workspace-dV6f-3vv.cjs → workspace-D9z2ymBW.cjs} +11 -12
- package/dist/workspace-D9z2ymBW.cjs.map +1 -0
- package/dist/{workspace-RYSYtHP7.cjs → workspace-DEibcoBe.cjs} +11 -25
- package/dist/{workspace-RYSYtHP7.cjs.map → workspace-DEibcoBe.cjs.map} +1 -1
- package/dist/{workspace-DOmIhiau.mjs → workspace-DNzWgM1J.mjs} +11 -25
- package/dist/{workspace-DOmIhiau.mjs.map → workspace-DNzWgM1J.mjs.map} +1 -1
- package/package.json +14 -14
- package/dist/OpenApiTsGenerator-B4Kj_qNU.cjs.map +0 -1
- package/dist/OpenApiTsGenerator-CEh3EKN3.mjs.map +0 -1
- package/dist/discover-B0f_kuNN.cjs.map +0 -1
- package/dist/discover-BLhf7V_J.mjs.map +0 -1
- package/dist/emit-BdoPFjZf.cjs.map +0 -1
- package/dist/emit-Bzq7JsMP.mjs.map +0 -1
- package/dist/ready-3RfHxdA0.cjs.map +0 -1
- package/dist/ready-ZqOuNvKD.mjs.map +0 -1
- package/dist/workspace-BKytVCzb.mjs.map +0 -1
- package/dist/workspace-dV6f-3vv.cjs.map +0 -1
|
@@ -4619,7 +4619,7 @@ type Framework = output$1<typeof FrameworkSchema>;
|
|
|
4619
4619
|
/**
|
|
4620
4620
|
* Supported deploy targets (Phase 1).
|
|
4621
4621
|
*/
|
|
4622
|
-
declare const SUPPORTED_DEPLOY_TARGETS: readonly ['dokploy'];
|
|
4622
|
+
declare const SUPPORTED_DEPLOY_TARGETS: readonly ['dokploy', 'sst'];
|
|
4623
4623
|
/**
|
|
4624
4624
|
* Phase 2 deploy targets (not yet implemented).
|
|
4625
4625
|
*/
|
|
@@ -4799,10 +4799,7 @@ type BackupsConfig = output$1<typeof BackupsConfigSchema>;
|
|
|
4799
4799
|
*/
|
|
4800
4800
|
declare const WorkspaceConfigSchema: ZodObject<{
|
|
4801
4801
|
name: ZodOptional<ZodString>;
|
|
4802
|
-
constructs: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString
|
|
4803
|
-
paths: ZodUnion<readonly [ZodString, ZodArray<ZodString>]>;
|
|
4804
|
-
partition: ZodCustom<(filepath: string) => string, (filepath: string) => string>;
|
|
4805
|
-
}, $strip>]>>;
|
|
4802
|
+
constructs: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>]>>;
|
|
4806
4803
|
apps: ZodOptional<ZodRecord<ZodString, ZodObject<{
|
|
4807
4804
|
type: ZodDefault<ZodOptional<ZodEnum<{
|
|
4808
4805
|
backend: "backend";
|
|
@@ -4815,36 +4812,16 @@ declare const WorkspaceConfigSchema: ZodObject<{
|
|
|
4815
4812
|
deploy: ZodOptional<ZodEnum<{
|
|
4816
4813
|
cloudflare: "cloudflare";
|
|
4817
4814
|
dokploy: "dokploy";
|
|
4815
|
+
sst: "sst";
|
|
4818
4816
|
vercel: "vercel";
|
|
4819
4817
|
}>>;
|
|
4820
|
-
constructs: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
}, $strip>]>>;
|
|
4828
|
-
functions: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>, ZodObject<{
|
|
4829
|
-
paths: ZodUnion<readonly [ZodString, ZodArray<ZodString>]>;
|
|
4830
|
-
partition: ZodCustom<(filepath: string) => string, (filepath: string) => string>;
|
|
4831
|
-
}, $strip>]>>;
|
|
4832
|
-
crons: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>, ZodObject<{
|
|
4833
|
-
paths: ZodUnion<readonly [ZodString, ZodArray<ZodString>]>;
|
|
4834
|
-
partition: ZodCustom<(filepath: string) => string, (filepath: string) => string>;
|
|
4835
|
-
}, $strip>]>>;
|
|
4836
|
-
queues: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>, ZodObject<{
|
|
4837
|
-
paths: ZodUnion<readonly [ZodString, ZodArray<ZodString>]>;
|
|
4838
|
-
partition: ZodCustom<(filepath: string) => string, (filepath: string) => string>;
|
|
4839
|
-
}, $strip>]>>;
|
|
4840
|
-
topics: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>, ZodObject<{
|
|
4841
|
-
paths: ZodUnion<readonly [ZodString, ZodArray<ZodString>]>;
|
|
4842
|
-
partition: ZodCustom<(filepath: string) => string, (filepath: string) => string>;
|
|
4843
|
-
}, $strip>]>>;
|
|
4844
|
-
subscribers: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>, ZodObject<{
|
|
4845
|
-
paths: ZodUnion<readonly [ZodString, ZodArray<ZodString>]>;
|
|
4846
|
-
partition: ZodCustom<(filepath: string) => string, (filepath: string) => string>;
|
|
4847
|
-
}, $strip>]>>;
|
|
4818
|
+
constructs: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>]>>;
|
|
4819
|
+
routes: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>]>>;
|
|
4820
|
+
functions: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>]>>;
|
|
4821
|
+
crons: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>]>>;
|
|
4822
|
+
queues: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>]>>;
|
|
4823
|
+
topics: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>]>>;
|
|
4824
|
+
subscribers: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>]>>;
|
|
4848
4825
|
envParser: ZodOptional<ZodString>;
|
|
4849
4826
|
logger: ZodOptional<ZodString>;
|
|
4850
4827
|
hooks: ZodOptional<ZodObject<{
|
|
@@ -4907,6 +4884,7 @@ declare const WorkspaceConfigSchema: ZodObject<{
|
|
|
4907
4884
|
default: ZodOptional<ZodEnum<{
|
|
4908
4885
|
cloudflare: "cloudflare";
|
|
4909
4886
|
dokploy: "dokploy";
|
|
4887
|
+
sst: "sst";
|
|
4910
4888
|
vercel: "vercel";
|
|
4911
4889
|
}>>;
|
|
4912
4890
|
dokploy: ZodOptional<ZodObject<{
|
|
@@ -5200,7 +5178,7 @@ declare function formatValidationErrors(error: ZodError): string;
|
|
|
5200
5178
|
* deploy: 'cloudflare'
|
|
5201
5179
|
* ```
|
|
5202
5180
|
*/
|
|
5203
|
-
type DeployTarget = 'dokploy' | 'vercel' | 'cloudflare';
|
|
5181
|
+
type DeployTarget = 'dokploy' | 'sst' | 'vercel' | 'cloudflare';
|
|
5204
5182
|
/**
|
|
5205
5183
|
* Stage-based domain configuration.
|
|
5206
5184
|
*
|
|
@@ -5555,8 +5533,6 @@ interface AppConfigBase {
|
|
|
5555
5533
|
* @example './src/config/logger'
|
|
5556
5534
|
*/
|
|
5557
5535
|
logger?: string;
|
|
5558
|
-
/** Provider configuration (AWS, Docker, etc.) */
|
|
5559
|
-
providers?: ProvidersConfig;
|
|
5560
5536
|
/**
|
|
5561
5537
|
* Server lifecycle hooks.
|
|
5562
5538
|
* @example { beforeSetup: './src/hooks/setup.ts' }
|
|
@@ -6010,43 +5986,7 @@ interface LoadedConfig {
|
|
|
6010
5986
|
declare function isWorkspaceConfig(config: GkmConfig | WorkspaceConfig): config is WorkspaceConfig;
|
|
6011
5987
|
//#endregion
|
|
6012
5988
|
//#region src/types.d.ts
|
|
6013
|
-
|
|
6014
|
-
paths: string | string[];
|
|
6015
|
-
partition: (filepath: string) => string;
|
|
6016
|
-
}
|
|
6017
|
-
type Routes = string | string[] | PartitionedRoutes;
|
|
6018
|
-
interface ProviderConfig {
|
|
6019
|
-
enabled?: boolean;
|
|
6020
|
-
outputDir?: string;
|
|
6021
|
-
}
|
|
6022
|
-
interface AWSApiGatewayConfig extends ProviderConfig {}
|
|
6023
|
-
interface AWSLambdaConfig extends ProviderConfig {}
|
|
6024
|
-
interface ProductionConfig {
|
|
6025
|
-
/** Enable production mode (default: false) */
|
|
6026
|
-
enabled?: boolean;
|
|
6027
|
-
/** Bundle server into single file (default: true) */
|
|
6028
|
-
bundle?: boolean;
|
|
6029
|
-
/** Minify bundled output (default: true) */
|
|
6030
|
-
minify?: boolean;
|
|
6031
|
-
/** Health check endpoint path (default: '/health') */
|
|
6032
|
-
healthCheck?: string;
|
|
6033
|
-
/** Enable graceful shutdown handling (default: true) */
|
|
6034
|
-
gracefulShutdown?: boolean;
|
|
6035
|
-
/** Packages to exclude from bundling (default: []) */
|
|
6036
|
-
external?: string[];
|
|
6037
|
-
/** Include subscribers in production build (default: 'exclude' for serverless) */
|
|
6038
|
-
subscribers?: 'include' | 'exclude';
|
|
6039
|
-
/** Include OpenAPI spec in production (default: false) */
|
|
6040
|
-
openapi?: boolean;
|
|
6041
|
-
/**
|
|
6042
|
-
* Enable build-time optimized handler generation (default: true)
|
|
6043
|
-
* Generates specialized handlers based on endpoint tier:
|
|
6044
|
-
* - minimal: Near-raw-Hono performance for simple endpoints
|
|
6045
|
-
* - standard: Optimized handlers for auth/services
|
|
6046
|
-
* - full: Uses HonoEndpoint.addRoutes for complex endpoints
|
|
6047
|
-
*/
|
|
6048
|
-
optimizedHandlers?: boolean;
|
|
6049
|
-
}
|
|
5989
|
+
type Routes = string | string[];
|
|
6050
5990
|
/**
|
|
6051
5991
|
* Where a declared cache actually lives.
|
|
6052
5992
|
*
|
|
@@ -6096,12 +6036,6 @@ interface DockerConfig {
|
|
|
6096
6036
|
/** Container port (default: 3000) */
|
|
6097
6037
|
port?: number;
|
|
6098
6038
|
}
|
|
6099
|
-
interface ServerConfig extends ProviderConfig {
|
|
6100
|
-
enableOpenApi?: boolean;
|
|
6101
|
-
port?: number;
|
|
6102
|
-
/** Production build configuration */
|
|
6103
|
-
production?: ProductionConfig;
|
|
6104
|
-
}
|
|
6105
6039
|
type Runtime = 'node' | 'bun';
|
|
6106
6040
|
interface TelescopeConfig {
|
|
6107
6041
|
/** Enable/disable telescope (default: true in development) */
|
|
@@ -6164,34 +6098,6 @@ interface HooksConfig {
|
|
|
6164
6098
|
*/
|
|
6165
6099
|
server?: string;
|
|
6166
6100
|
}
|
|
6167
|
-
/** Dokploy deployment configuration */
|
|
6168
|
-
interface DokployProviderConfig {
|
|
6169
|
-
/** Dokploy API endpoint (e.g., 'https://dokploy.example.com') */
|
|
6170
|
-
endpoint: string;
|
|
6171
|
-
/** Project ID in Dokploy */
|
|
6172
|
-
projectId: string;
|
|
6173
|
-
/** Application ID in Dokploy */
|
|
6174
|
-
applicationId: string;
|
|
6175
|
-
/** Container registry (overrides docker.registry if set) */
|
|
6176
|
-
registry?: string;
|
|
6177
|
-
/** Registry ID in Dokploy (recommended for private registries) */
|
|
6178
|
-
registryId?: string;
|
|
6179
|
-
}
|
|
6180
|
-
interface ProvidersConfig {
|
|
6181
|
-
aws?: {
|
|
6182
|
-
apiGateway?: {
|
|
6183
|
-
v1?: boolean | AWSApiGatewayConfig;
|
|
6184
|
-
v2?: boolean | AWSApiGatewayConfig;
|
|
6185
|
-
};
|
|
6186
|
-
lambda?: {
|
|
6187
|
-
functions?: boolean | AWSLambdaConfig;
|
|
6188
|
-
crons?: boolean | AWSLambdaConfig;
|
|
6189
|
-
};
|
|
6190
|
-
};
|
|
6191
|
-
server?: boolean | ServerConfig;
|
|
6192
|
-
/** Dokploy deployment configuration */
|
|
6193
|
-
dokploy?: boolean | DokployProviderConfig;
|
|
6194
|
-
}
|
|
6195
6101
|
interface GkmConfig {
|
|
6196
6102
|
/**
|
|
6197
6103
|
* What this app is called, and therefore how everything it declares is named.
|
|
@@ -6228,7 +6134,6 @@ interface GkmConfig {
|
|
|
6228
6134
|
* @example './src/**\/*.ts'
|
|
6229
6135
|
*/
|
|
6230
6136
|
constructs: Routes;
|
|
6231
|
-
providers?: ProvidersConfig;
|
|
6232
6137
|
/**
|
|
6233
6138
|
* Server lifecycle hooks for customizing the Hono app.
|
|
6234
6139
|
* Allows adding custom routes, middleware, error handlers, etc.
|
|
@@ -6322,4 +6227,4 @@ interface GkmConfig {
|
|
|
6322
6227
|
}
|
|
6323
6228
|
//#endregion
|
|
6324
6229
|
export { SUPPORTED_DEPLOY_TARGETS as A, WorkspaceInput as C, FrontendFramework as D, Framework as E, isPhase2DeployTarget as F, safeValidateWorkspaceConfig as I, validateWorkspaceConfig as L, formatValidationErrors as M, getDeployTargetError as N, MobileFramework as O, isDeployTargetSupported as P, WorkspaceConfig as S, BackendFramework as T, ModelsConfig as _, Routes as a, SecretsConfig as b, AppInput as c, DeployConfig as d, DeployTarget as f, LoadedConfig as g, InferredWorkspaceConfig as h, OpenApiConfig as i, WorkspaceConfigSchema as j, PHASE_2_DEPLOY_TARGETS as k, AppsRecord as l, InferAppNames as m, EmailBackend as n, AppConfig as o, DokployWorkspaceConfig as p, GkmConfig as r, AppConfigInput as s, CacheBackend as t, ConstrainedApps as u, NormalizedAppConfig as v, isWorkspaceConfig as w, SharedConfig as x, NormalizedWorkspace as y };
|
|
6325
|
-
//# sourceMappingURL=types-
|
|
6230
|
+
//# sourceMappingURL=types-DNqEsctD.d.cts.map
|