@mono-labs/cli 0.0.188 → 0.0.190
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/package.json +1 -1
- package/src/project/index.ts +2 -1
package/package.json
CHANGED
package/src/project/index.ts
CHANGED
|
@@ -80,6 +80,7 @@ type DefaultDeployConfig = {
|
|
|
80
80
|
baseDomain?: string;
|
|
81
81
|
webSubdomain?: string;
|
|
82
82
|
apiSubdomain?: string;
|
|
83
|
+
defaultKeyPair?: string;
|
|
83
84
|
regions?: string[];
|
|
84
85
|
};
|
|
85
86
|
|
|
@@ -95,7 +96,7 @@ type ConfigTypeMap = {
|
|
|
95
96
|
type ResolveConfig<TType extends string, TCustom = unknown> =
|
|
96
97
|
TType extends keyof ConfigTypeMap ? ConfigTypeMap[TType] : TCustom;
|
|
97
98
|
|
|
98
|
-
export function loadAppConfig<TCustom = unknown, TType extends string =
|
|
99
|
+
export function loadAppConfig<TCustom = unknown, TType extends string = 'app'>(
|
|
99
100
|
configType: TType = 'app' as TType,
|
|
100
101
|
startDir: string = process.cwd()
|
|
101
102
|
): { config: ResolveConfig<TType, TCustom>; meta: WorkspaceDetectResult } {
|