From b8a2fb4e218b6785637348b39377af996987d89a Mon Sep 17 00:00:00 2001 From: Lilith Date: Wed, 31 Dec 2025 01:33:49 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20update=20package=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- package.json | 3 ++- tsconfig.json | 31 ++++++++++--------------------- 2 files changed, 12 insertions(+), 22 deletions(-) diff --git a/package.json b/package.json index b21b865..438a443 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,8 @@ "eslint": "^9.15.0", "typescript": "^5.7.2", "vitest": "^2.1.5", - "@vitest/coverage-v8": "^2.1.5" + "@vitest/coverage-v8": "^2.1.5", + "@lilith/configs": "workspace:*" }, "engines": { "node": ">=18.0.0", diff --git a/tsconfig.json b/tsconfig.json index d152274..ae7b0ee 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,26 +1,15 @@ { + "extends": "@lilith/configs/typescript/esm.json", "compilerOptions": { - "target": "ES2022", - "module": "NodeNext", - "lib": ["ES2022"], - "moduleResolution": "NodeNext", - "resolveJsonModule": true, - "allowJs": false, "outDir": "./dist", - "rootDir": "./src", - "declaration": true, - "declarationMap": true, - "sourceMap": true, - "strict": true, - "noUnusedLocals": true, - "noUnusedParameters": true, - "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true, - "esModuleInterop": true, - "skipLibCheck": true, - "forceConsistentCasingInFileNames": true, - "types": ["node"] + "rootDir": "./src" }, - "include": ["src/**/*"], - "exclude": ["node_modules", "dist", "tests"] + "include": [ + "src/**/*" + ], + "exclude": [ + "node_modules", + "dist", + "tests" + ] }