fix(config): migrate project metadata and documentation to .smartconfig.json
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
|
||||
## Core Architecture (v3.x - Config-Driven)
|
||||
|
||||
tswatch is now a config-driven TypeScript file watcher. Configuration is read from `npmextra.json` under the key `@git.zone/tswatch`.
|
||||
tswatch is a config-driven TypeScript file watcher. Configuration is read from `.smartconfig.json` under the key `@git.zone/tswatch`.
|
||||
|
||||
### Key Classes
|
||||
|
||||
- **TsWatch**: Main orchestrator class, accepts `ITswatchConfig`
|
||||
- **Watcher**: Handles individual file watching with debouncing and restart modes
|
||||
- **ConfigHandler**: Loads and manages configuration from npmextra.json
|
||||
- **ConfigHandler**: Loads and manages configuration from .smartconfig.json
|
||||
- **TswatchInit**: Interactive wizard for creating configuration
|
||||
|
||||
### Configuration Structure
|
||||
@@ -63,7 +63,7 @@ tswatch is now a config-driven TypeScript file watcher. Configuration is read fr
|
||||
|
||||
- Uses `@push.rocks/smartwatch` (v6.x) for file watching - class is `Smartwatch`
|
||||
- Uses `@push.rocks/smartfs` (v1.x) for filesystem operations
|
||||
- Uses `@push.rocks/npmextra` for reading npmextra.json config
|
||||
- Uses `@push.rocks/smartconfig` for reading .smartconfig.json config
|
||||
- Uses `@push.rocks/smartinteract` for the init wizard
|
||||
- Uses `@git.zone/tsbundle` for bundling with esbuild
|
||||
- Uses `@api.global/typedserver` `UtilityWebsiteServer` for development server (wraps TypedServer with service worker, PWA manifest, and live reload)
|
||||
|
||||
Reference in New Issue
Block a user