@mapples/cli 0.0.3 → 0.0.4

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.
@@ -12,6 +12,7 @@ export interface MapplesConfig {
12
12
  }
13
13
  export declare const DEFAULT_CONFIG: Omit<MapplesConfig, 'apiKey'>;
14
14
  export declare const CONFIG_FILE_PATH = ".mapplesrc.json";
15
- export declare const readConfig: () => MapplesConfig | null;
16
- export declare const writeConfig: (config: MapplesConfig) => void;
15
+ export declare const findConfigFile: (startPath?: string) => string | null;
16
+ export declare const readConfig: (configPath?: string) => MapplesConfig | null;
17
+ export declare const writeConfig: (config: MapplesConfig, configPath?: string) => void;
17
18
  export declare const updateGitignore: () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mapples/cli",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "Mapples CLI",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",