feat: initialize TypeScript configuration and Vitest setup

- Add pnpm workspace configuration to specify built dependencies.
- Create tsconfig.json for TypeScript compiler options and module resolution.
- Add tsconfig.build.json for build-specific TypeScript settings.
- Set up Vitest configuration with path aliasing for testing.
This commit is contained in:
2026-02-19 23:24:52 -05:00
parent 19276dff4d
commit 19ef9042ce
9 changed files with 1541 additions and 3 deletions

40
tsconfig.json Normal file
View File

@@ -0,0 +1,40 @@
{
"compilerOptions": {
"target": "es2020",
"module": "nodenext",
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"rootDir": "./",
"outDir": "./dist",
"moduleResolution": "nodenext",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"noUnusedLocals": true,
"noFallthroughCasesInSwitch": true,
"moduleDetection": "force",
"isolatedModules": true,
"removeComments": true,
"skipLibCheck": true,
"baseUrl": "./",
"paths": {
"@/*": [
"./src/*"
]
},
"plugins": [
{
"transform": "typescript-transform-paths"
},
{
"transform": "typescript-transform-paths",
"afterDeclarations": true
}
]
},
"include": [
"src/**/*",
"tests/**/*",
],
}