Initial commit of massive v2 rewrite

This commit is contained in:
Caileb 2025-08-02 14:26:52 -05:00
parent 1025f3b523
commit dc120fe78a
55 changed files with 21733 additions and 0 deletions

80
tsconfig.json Normal file
View file

@ -0,0 +1,80 @@
{
"compilerOptions": {
// Target modern JavaScript
"target": "ES2022",
"module": "ESNext",
"lib": ["ES2022", "DOM"],
"downlevelIteration": true,
// Enable ES modules
"moduleResolution": "node",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
// Output settings - clean separation of source and build
"outDir": "./dist",
"rootDir": "./src",
"preserveConstEnums": true,
"removeComments": false,
// Type checking
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"strictPropertyInitialization": true,
"noImplicitThis": true,
"alwaysStrict": true,
// Additional checks
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
// Interop with JavaScript
"allowJs": false,
"checkJs": false,
"maxNodeModuleJsDepth": 0,
// Emit - minimal output for cleaner project
"declaration": false,
"declarationMap": false,
"sourceMap": false,
"inlineSources": false,
// Advanced
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"isolatedModules": true,
// Path mapping for source files
"baseUrl": "./src",
"paths": {
"@utils/*": ["utils/*"],
"@plugins/*": ["plugins/*"],
"@types/*": ["types/*"]
}
},
"include": [
"src/**/*.ts"
],
"exclude": [
"node_modules",
"dist",
".tests",
"pages",
"data",
"db",
"config",
"**/*.js"
],
"ts-node": {
"esm": true,
"experimentalSpecifierResolution": "node"
}
}