fix(config): rename project config file from smartconfig.json to .smartconfig.json
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user