fix(config): switch configuration loading and saving from npmextra.json to smartconfig.json

This commit is contained in:
2026-03-24 15:09:42 +00:00
parent 6a3de7dba8
commit 37da233ddf
9 changed files with 50 additions and 24 deletions

View File

@@ -9,7 +9,7 @@ import { logger } from './tswatch.logging.js';
/**
* TsWatch - Config-driven file watcher
*
* Reads configuration from npmextra.json under the key '@git.zone/tswatch'
* Reads configuration from smartconfig.json under the key '@git.zone/tswatch'
* and sets up watchers, bundles, and dev server accordingly.
*/
export class TsWatch {
@@ -27,7 +27,7 @@ export class TsWatch {
}
/**
* Create TsWatch from npmextra.json configuration
* Create TsWatch from smartconfig.json configuration
*/
public static fromConfig(cwdArg?: string): TsWatch | null {
const configHandler = new ConfigHandler(cwdArg);