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": { "compilerOptions": {
"module": "nodenext", "module": "nodenext",
"moduleResolution": "nodenext", "moduleResolution": "nodenext",
"resolvePackageJsonExports": true, "resolvePackageJsonExports": true,
"esModuleInterop": true, "esModuleInterop": true,
"isolatedModules": true, "isolatedModules": true,
"declaration": true, "declaration": true,
"removeComments": true, "removeComments": true,
"emitDecoratorMetadata": true, "emitDecoratorMetadata": true,
"experimentalDecorators": true, "experimentalDecorators": true,
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"target": "ES2023", "target": "ES2023",
"sourceMap": true, "sourceMap": true,
"incremental": true, "incremental": true,
"skipLibCheck": true, "skipLibCheck": true,
"strictNullChecks": true, "strictNullChecks": true,
"forceConsistentCasingInFileNames": true, "forceConsistentCasingInFileNames": true,
"noImplicitAny": false, "noImplicitAny": false,
"strictBindCallApply": false, "strictBindCallApply": false,
"noFallthroughCasesInSwitch": false, "noFallthroughCasesInSwitch": false,
"jsx": "react", "jsx": "react",
"jsxFactory": "React.createElement", "jsxFactory": "React.createElement",
"jsxFragmentFactory": "React.Fragment" "jsxFragmentFactory": "React.Fragment"
} }
} }

View File

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