chore: update TypeScript configuration

Update TypeScript configuration for guardian package.
Adjust paths and settings for monorepo structure.
This commit is contained in:
imfozilbek
2025-11-24 02:55:00 +05:00
parent 4b1af2089a
commit 959d84918f
2 changed files with 50 additions and 38 deletions

View File

@@ -1,26 +1,26 @@
{
"compilerOptions": {
"module": "nodenext",
"moduleResolution": "nodenext",
"resolvePackageJsonExports": true,
"esModuleInterop": true,
"isolatedModules": true,
"declaration": true,
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"target": "ES2023",
"sourceMap": true,
"incremental": true,
"skipLibCheck": true,
"strictNullChecks": true,
"forceConsistentCasingInFileNames": true,
"noImplicitAny": false,
"strictBindCallApply": false,
"noFallthroughCasesInSwitch": false,
"jsx": "react",
"jsxFactory": "React.createElement",
"jsxFragmentFactory": "React.Fragment"
}
"compilerOptions": {
"module": "nodenext",
"moduleResolution": "nodenext",
"resolvePackageJsonExports": true,
"esModuleInterop": true,
"isolatedModules": true,
"declaration": true,
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"target": "ES2023",
"sourceMap": true,
"incremental": true,
"skipLibCheck": true,
"strictNullChecks": true,
"forceConsistentCasingInFileNames": true,
"noImplicitAny": false,
"strictBindCallApply": false,
"noFallthroughCasesInSwitch": false,
"jsx": "react",
"jsxFactory": "React.createElement",
"jsxFragmentFactory": "React.Fragment"
}
}

View File

@@ -1,16 +1,28 @@
{
"extends": "./tsconfig.base.json",
"compilerOptions": {
"outDir": "./dist",
"baseUrl": "./"
},
"references": [
{ "path": "./packages/core" },
{ "path": "./packages/server" },
{ "path": "./packages/cli" },
{ "path": "./packages/sdk" },
{ "path": "./packages/mcp" },
{ "path": "./packages/vscode" }
],
"files": []
"extends": "./tsconfig.base.json",
"compilerOptions": {
"outDir": "./dist",
"baseUrl": "./"
},
"references": [
{
"path": "./packages/guardian"
},
{
"path": "./packages/server"
},
{
"path": "./packages/cli"
},
{
"path": "./packages/sdk"
},
{
"path": "./packages/mcp"
},
{
"path": "./packages/vscode"
}
],
"files": []
}