@mono-labs/cli 0.0.187 → 0.0.189

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mono-labs/cli",
3
- "version": "0.0.187",
3
+ "version": "0.0.189",
4
4
  "description": "A CLI tool for building and deploying projects",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -95,8 +95,8 @@ type ConfigTypeMap = {
95
95
  type ResolveConfig<TType extends string, TCustom = unknown> =
96
96
  TType extends keyof ConfigTypeMap ? ConfigTypeMap[TType] : TCustom;
97
97
 
98
- export function loadAppConfig<TCustom = unknown, TType extends string = string>(
99
- configType: TType,
98
+ export function loadAppConfig<TCustom = unknown, TType extends string = 'app'>(
99
+ configType: TType = 'app' as TType,
100
100
  startDir: string = process.cwd()
101
101
  ): { config: ResolveConfig<TType, TCustom>; meta: WorkspaceDetectResult } {
102
102
  const fileName = `${configType}.config.json`;