feat: add @tm/cli package and start refactoring old code into the new code

This commit is contained in:
Ralph Khreish
2025-08-22 13:55:23 +02:00
parent cf6533207f
commit d5c2acc8bf
40 changed files with 3724 additions and 740 deletions

33
tsconfig.json Normal file
View File

@@ -0,0 +1,33 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "bundler",
"allowJs": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true,
"noEmit": true,
"baseUrl": ".",
"paths": {
"@tm/core": ["packages/tm-core/src/index.ts"],
"@tm/core/*": ["packages/tm-core/src/*"],
"@tm/cli": ["apps/cli/src/index.ts"],
"@tm/cli/*": ["apps/cli/src/*"]
}
},
"tsx": {
"tsconfig": {
"allowImportingTsExtensions": false
}
},
"include": [
"bin/**/*",
"scripts/**/*",
"packages/*/src/**/*",
"apps/*/src/**/*"
],
"exclude": ["node_modules", "dist", "**/dist"]
}