@geekmidas/cli 10.0.0-alpha.54 → 10.0.0-alpha.56
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 +11 -10
- package/dist/{HostingerProvider-GF6NAZAK.mjs → HostingerProvider-cL-6oQ5r.mjs} +2 -2
- package/dist/{HostingerProvider-GF6NAZAK.mjs.map → HostingerProvider-cL-6oQ5r.mjs.map} +1 -1
- package/dist/LegacyStateStore-ByRWQ9s1.mjs +89 -0
- package/dist/LegacyStateStore-ByRWQ9s1.mjs.map +1 -0
- package/dist/LegacyStateStore-C_OFs1gN.cjs +89 -0
- package/dist/LegacyStateStore-C_OFs1gN.cjs.map +1 -0
- package/dist/LocalStateStore-BupdV-VN.mjs +163 -0
- package/dist/LocalStateStore-BupdV-VN.mjs.map +1 -0
- package/dist/LocalStateStore-DDDU0HkI.cjs +163 -0
- package/dist/LocalStateStore-DDDU0HkI.cjs.map +1 -0
- package/dist/{OpenApiTsGenerator-BN0PIZxd.cjs → OpenApiTsGenerator-BLRQ7Iu9.cjs} +58 -59
- package/dist/OpenApiTsGenerator-BLRQ7Iu9.cjs.map +1 -0
- package/dist/{OpenApiTsGenerator-BzIGy8KE.mjs → OpenApiTsGenerator-NThANByQ.mjs} +58 -59
- package/dist/{OpenApiTsGenerator-BzIGy8KE.mjs.map → OpenApiTsGenerator-NThANByQ.mjs.map} +1 -1
- package/dist/S3StateStore-C7eBae0G.cjs +160 -0
- package/dist/S3StateStore-C7eBae0G.cjs.map +1 -0
- package/dist/S3StateStore-FhzyENrN.mjs +161 -0
- package/dist/S3StateStore-FhzyENrN.mjs.map +1 -0
- package/dist/SSMStateStore-DD7jKrCO.cjs +146 -0
- package/dist/SSMStateStore-DD7jKrCO.cjs.map +1 -0
- package/dist/SSMStateStore-oda9xOGc.mjs +147 -0
- package/dist/SSMStateStore-oda9xOGc.mjs.map +1 -0
- package/dist/{backends-Dfeu5Dgc.mjs → backends-BcHL7Gy_.mjs} +2 -2
- package/dist/{backends-Dfeu5Dgc.mjs.map → backends-BcHL7Gy_.mjs.map} +1 -1
- package/dist/{backends-D5aDWxuA.cjs → backends-_gQdAzBK.cjs} +2 -2
- package/dist/{backends-D5aDWxuA.cjs.map → backends-_gQdAzBK.cjs.map} +1 -1
- package/dist/{bundler--fyybf1N.mjs → bundler-URImKj-A.mjs} +2 -2
- package/dist/{bundler--fyybf1N.mjs.map → bundler-URImKj-A.mjs.map} +1 -1
- package/dist/{config-SOkDH-n1.mjs → config-20V08LZp.mjs} +2 -3
- package/dist/config-20V08LZp.mjs.map +1 -0
- package/dist/{config-Cvr5fCbn.cjs → config-CP6wsLHA.cjs} +2 -3
- package/dist/config-CP6wsLHA.cjs.map +1 -0
- 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/{encryption-tB4LqLKN.cjs → encryption-10Srqiix.cjs} +4 -4
- package/dist/{encryption-tB4LqLKN.cjs.map → encryption-10Srqiix.cjs.map} +1 -1
- package/dist/{encryption-O-XdeNxe.mjs → encryption-KQTYFEzU.mjs} +4 -4
- package/dist/{encryption-O-XdeNxe.mjs.map → encryption-KQTYFEzU.mjs.map} +1 -1
- package/dist/{github-BGx4U61b.cjs → github-DtRUkHN8.cjs} +3 -3
- package/dist/{github-BGx4U61b.cjs.map → github-DtRUkHN8.cjs.map} +1 -1
- package/dist/{github-U_frvZgD.mjs → github-y7OEj59M.mjs} +3 -3
- package/dist/{github-U_frvZgD.mjs.map → github-y7OEj59M.mjs.map} +1 -1
- package/dist/{index-fU3qHy7c.d.cts → index-DMcjpvd-.d.cts} +2 -2
- package/dist/{index-DYh5TrsZ.d.mts.map → index-DMcjpvd-.d.cts.map} +1 -1
- package/dist/{index-DYh5TrsZ.d.mts → index-RM92lx8A.d.mts} +2 -2
- package/dist/{index-fU3qHy7c.d.cts.map → index-RM92lx8A.d.mts.map} +1 -1
- package/dist/index.cjs +1176 -1281
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1174 -1287
- package/dist/index.mjs.map +1 -1
- package/dist/{migrate-DWDaaBfo.mjs → migrate-CS3DkO6y.mjs} +4 -4
- package/dist/{migrate-DWDaaBfo.mjs.map → migrate-CS3DkO6y.mjs.map} +1 -1
- package/dist/{migrate-DN5VM5vy.cjs → migrate-DQ54y2WD.cjs} +4 -4
- package/dist/{migrate-DN5VM5vy.cjs.map → migrate-DQ54y2WD.cjs.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-C8wG_d0v.mjs → ready-BSpUZnNo.mjs} +2 -2
- package/dist/ready-BSpUZnNo.mjs.map +1 -0
- package/dist/{ready-VkNwfJu7.cjs → ready-MUhVJDHe.cjs} +2 -2
- package/dist/ready-MUhVJDHe.cjs.map +1 -0
- package/dist/reconcile/public.d.cts +1 -1
- package/dist/reconcile/public.d.mts +1 -1
- package/dist/{types-CT0ymlBk.d.mts → types-BIyIQUR-.d.cts} +138 -33
- package/dist/types-BIyIQUR-.d.cts.map +1 -0
- package/dist/{types-DYDT4FfE.d.cts → types-CmQl6zaP.d.mts} +137 -34
- package/dist/types-CmQl6zaP.d.mts.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 +2 -2
- package/dist/workspace/index.d.mts +2 -2
- package/dist/workspace/index.mjs +1 -1
- package/dist/{workspace-DFYu-iRP.cjs → workspace-BbPJVCto.cjs} +6 -6
- package/dist/{workspace-DFYu-iRP.cjs.map → workspace-BbPJVCto.cjs.map} +1 -1
- package/dist/{workspace-BcCiLzTO.cjs → workspace-BpdXIeWV.cjs} +22 -18
- package/dist/{workspace-BcCiLzTO.cjs.map → workspace-BpdXIeWV.cjs.map} +1 -1
- package/dist/{workspace-bOsks1uk.mjs → workspace-C2mFV53i.mjs} +22 -18
- package/dist/{workspace-bOsks1uk.mjs.map → workspace-C2mFV53i.mjs.map} +1 -1
- package/dist/{workspace-Bwl0728I.mjs → workspace-CgWcE_Yr.mjs} +8 -8
- package/dist/{workspace-Bwl0728I.mjs.map → workspace-CgWcE_Yr.mjs.map} +1 -1
- package/package.json +13 -14
- package/dist/OpenApiTsGenerator-BN0PIZxd.cjs.map +0 -1
- package/dist/config-Cvr5fCbn.cjs.map +0 -1
- package/dist/config-SOkDH-n1.mjs.map +0 -1
- package/dist/ready-C8wG_d0v.mjs.map +0 -1
- package/dist/ready-VkNwfJu7.cjs.map +0 -1
- package/dist/types-CT0ymlBk.d.mts.map +0 -1
- package/dist/types-DYDT4FfE.d.cts.map +0 -1
|
@@ -5646,14 +5646,6 @@ const TelescopeConfigSchema = object({
|
|
|
5646
5646
|
websocket: boolean().optional()
|
|
5647
5647
|
});
|
|
5648
5648
|
/**
|
|
5649
|
-
* Studio configuration schema.
|
|
5650
|
-
*/
|
|
5651
|
-
const StudioConfigSchema = object({
|
|
5652
|
-
enabled: boolean().optional(),
|
|
5653
|
-
path: string().optional(),
|
|
5654
|
-
schema: string().optional()
|
|
5655
|
-
});
|
|
5656
|
-
/**
|
|
5657
5649
|
* OpenAPI configuration schema.
|
|
5658
5650
|
*/
|
|
5659
5651
|
const OpenApiConfigSchema = object({
|
|
@@ -5989,6 +5981,20 @@ const SSMStateConfigSchema = object({
|
|
|
5989
5981
|
profile: string().optional()
|
|
5990
5982
|
});
|
|
5991
5983
|
/**
|
|
5984
|
+
* S3 state provider config: conditional writes and a lock object in a bucket.
|
|
5985
|
+
*/
|
|
5986
|
+
const S3StateConfigSchema = object({
|
|
5987
|
+
provider: literal("s3"),
|
|
5988
|
+
/** Bucket the state lives in (must already exist) */
|
|
5989
|
+
bucket: string().min(1),
|
|
5990
|
+
/** AWS region of the bucket */
|
|
5991
|
+
region: AwsRegionSchema,
|
|
5992
|
+
/** Key prefix inside the bucket (default: 'gkm') */
|
|
5993
|
+
prefix: string().optional(),
|
|
5994
|
+
/** AWS profile name (optional - uses default credential chain if not provided) */
|
|
5995
|
+
profile: string().optional()
|
|
5996
|
+
});
|
|
5997
|
+
/**
|
|
5992
5998
|
* Custom state provider config (user-provided implementation).
|
|
5993
5999
|
*/
|
|
5994
6000
|
const CustomStateConfigSchema = object({
|
|
@@ -6000,9 +6006,14 @@ provider: custom((val) => typeof val === "object" && val !== null && typeof val.
|
|
|
6000
6006
|
* Configures how deployment state is stored.
|
|
6001
6007
|
* - 'local': Store in .gkm/deploy-{stage}.json (default)
|
|
6002
6008
|
* - 'ssm': Store in AWS SSM Parameter Store (requires region)
|
|
6003
|
-
* -
|
|
6009
|
+
* - 's3': Store in an S3 bucket with conditional writes (requires bucket, region)
|
|
6010
|
+
* - Custom: Provide a StateStore, or a StateProvider with read/write methods
|
|
6004
6011
|
*/
|
|
6005
|
-
const StateConfigSchema = union([discriminatedUnion("provider", [
|
|
6012
|
+
const StateConfigSchema = union([discriminatedUnion("provider", [
|
|
6013
|
+
LocalStateConfigSchema,
|
|
6014
|
+
SSMStateConfigSchema,
|
|
6015
|
+
S3StateConfigSchema
|
|
6016
|
+
]), CustomStateConfigSchema]);
|
|
6006
6017
|
/**
|
|
6007
6018
|
* App configuration schema.
|
|
6008
6019
|
*/
|
|
@@ -6031,11 +6042,6 @@ const AppConfigSchema = object({
|
|
|
6031
6042
|
boolean(),
|
|
6032
6043
|
TelescopeConfigSchema
|
|
6033
6044
|
]).optional(),
|
|
6034
|
-
studio: union([
|
|
6035
|
-
string(),
|
|
6036
|
-
boolean(),
|
|
6037
|
-
StudioConfigSchema
|
|
6038
|
-
]).optional(),
|
|
6039
6045
|
openapi: union([boolean(), OpenApiConfigSchema]).optional(),
|
|
6040
6046
|
runtime: _enum(["node", "bun"]).optional(),
|
|
6041
6047
|
env: union([string(), array(string())]).optional(),
|
|
@@ -6377,7 +6383,6 @@ function wrapSingleAppAsWorkspace(config, cwd) {
|
|
|
6377
6383
|
constructs: config.constructs,
|
|
6378
6384
|
hooks: config.hooks,
|
|
6379
6385
|
telescope: config.telescope,
|
|
6380
|
-
studio: config.studio,
|
|
6381
6386
|
openapi: config.openapi,
|
|
6382
6387
|
runtime: config.runtime,
|
|
6383
6388
|
env: config.env
|
|
@@ -6469,7 +6474,6 @@ function getAppGkmConfig(workspace, appName) {
|
|
|
6469
6474
|
constructs: appConstructGlobs(workspace, appName),
|
|
6470
6475
|
hooks: app.hooks,
|
|
6471
6476
|
telescope: app.telescope,
|
|
6472
|
-
studio: app.studio,
|
|
6473
6477
|
openapi: app.openapi,
|
|
6474
6478
|
runtime: app.runtime,
|
|
6475
6479
|
env: app.env
|
|
@@ -6700,4 +6704,4 @@ Object.defineProperty(exports, "wrapSingleAppAsWorkspace", {
|
|
|
6700
6704
|
}
|
|
6701
6705
|
});
|
|
6702
6706
|
|
|
6703
|
-
//# sourceMappingURL=workspace-
|
|
6707
|
+
//# sourceMappingURL=workspace-BpdXIeWV.cjs.map
|