THIS IS A HOTFIX TO THE CURRENT STATE TO FIX SOME DOCKER AND STABILITY RELATED ISSUES. ALSO TO REMOVE SOME DEAD CODE.
A PROPER VERSION OF "V2" IS BEING WORKED ON!

- Migrated configuration files from JSONC to JSON
- Removed deprecated setup scripts
- Updated dependencies in package.json and package-lock.json
- Updated README with expanded setup, configuration, and feature documentation
This commit is contained in:
TheNetsky
2025-11-10 10:56:57 +01:00
parent bd96aeb20c
commit 2738c85030
24 changed files with 855 additions and 1556 deletions

View File

@@ -15,7 +15,7 @@ export interface ValidationResult {
}
/**
* ConfigValidator performs intelligent validation of config.jsonc and accounts.json
* ConfigValidator performs intelligent validation of config.json and accounts.json
* before execution to catch common mistakes, conflicts, and security issues.
*/
export class ConfigValidator {
@@ -400,7 +400,6 @@ export class ConfigValidator {
const configRaw = fs.readFileSync(configPath, 'utf-8')
const accountsRaw = fs.readFileSync(accountsPath, 'utf-8')
// Remove JSONC comments (basic approach)
const configJson = configRaw.replace(/\/\*[\s\S]*?\*\/|\/\/.*/g, '')
const config: Config = JSON.parse(configJson)
const accounts: Account[] = JSON.parse(accountsRaw)