From fa6970a47862474fddbb5f1cad2b76933d46a107 Mon Sep 17 00:00:00 2001 From: David Abutbul Date: Fri, 27 Feb 2026 20:43:11 +0200 Subject: [PATCH] auto-claude: subtask-1-2 - Create TypeScript configuration - Add tsconfig.json with Node.js ESM configuration - Target ES2022, strict mode enabled - Support .ts, .mts, and .mjs files - Include placeholder lib/types.ts for compilation verification - Configuration ready for phase 2 implementation --- skills/clawsec-analyst/lib/types.ts | 7 +++++++ skills/clawsec-analyst/tsconfig.json | 30 ++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 skills/clawsec-analyst/lib/types.ts create mode 100644 skills/clawsec-analyst/tsconfig.json diff --git a/skills/clawsec-analyst/lib/types.ts b/skills/clawsec-analyst/lib/types.ts new file mode 100644 index 0000000..bc3bfcc --- /dev/null +++ b/skills/clawsec-analyst/lib/types.ts @@ -0,0 +1,7 @@ +/** + * Type definitions for clawsec-analyst skill + * Placeholder - will be populated in phase 2 (subtask-2-1) + */ + +// Ensure this file is treated as a module +export {}; diff --git a/skills/clawsec-analyst/tsconfig.json b/skills/clawsec-analyst/tsconfig.json new file mode 100644 index 0000000..a13fcbb --- /dev/null +++ b/skills/clawsec-analyst/tsconfig.json @@ -0,0 +1,30 @@ +{ + "compilerOptions": { + "target": "ES2022", + "module": "ESNext", + "lib": ["ES2022"], + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "resolveJsonModule": true, + "allowJs": true, + "skipLibCheck": true, + "esModuleInterop": true, + "isolatedModules": true, + "moduleDetection": "force", + "noEmit": true, + "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true, + "types": ["node"] + }, + "include": [ + "**/*.ts", + "**/*.mts", + "**/*.mjs" + ], + "exclude": [ + "node_modules", + "dist" + ] +}