From 959d84918f3a36b797aad4057e1aa5fe2184bf65 Mon Sep 17 00:00:00 2001 From: imfozilbek Date: Mon, 24 Nov 2025 02:55:00 +0500 Subject: [PATCH] chore: update TypeScript configuration Update TypeScript configuration for guardian package. Adjust paths and settings for monorepo structure. --- tsconfig.base.json | 48 +++++++++++++++++++++++----------------------- tsconfig.json | 40 ++++++++++++++++++++++++-------------- 2 files changed, 50 insertions(+), 38 deletions(-) diff --git a/tsconfig.base.json b/tsconfig.base.json index d5c01cf..4101b80 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -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" + } } diff --git a/tsconfig.json b/tsconfig.json index a81a40a..7db2973 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -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": [] }