fix(config): rename project config file from smartconfig.json to .smartconfig.json

This commit is contained in:
2026-03-24 15:54:25 +00:00
parent 488e78659c
commit 4a2d625d79
7 changed files with 8 additions and 8 deletions

View File

@@ -58,7 +58,7 @@ export class Smartconfig {
*/
private checkLookupPath() {
if (this.cwd) {
this.lookupPath = plugins.path.join(this.cwd, 'smartconfig.json');
this.lookupPath = plugins.path.join(this.cwd, '.smartconfig.json');
} else {
this.lookupPath = paths.configFile;
}

View File

@@ -19,4 +19,4 @@ export let home = plugins.smartpath.get.home();
export let kvUserHomeDirBase = plugins.path.join(home, '.smartconfig/kv');
// files
export let configFile = plugins.path.join(cwd, 'smartconfig.json');
export let configFile = plugins.path.join(cwd, '.smartconfig.json');