Skip to content

Commit 09cd834

Browse files
akamecoclaude
andcommitted
Replace @akameco/tsconfig with modern TypeScript configuration
- Remove @akameco/tsconfig dependency - Create comprehensive modern tsconfig.json with: - ES2022 target for Node.js 20+ compatibility - Node16 module resolution for ESM support - Strict type checking with all recommended rules - Declaration and source map generation - Proper include/exclude patterns - All builds, tests, and linting passing with new configuration - Better type safety and development experience 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 804414c commit 09cd834

File tree

3 files changed

+55
-19
lines changed

3 files changed

+55
-19
lines changed

package-lock.json

Lines changed: 0 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
"write-json-file": "^4.3.0"
5959
},
6060
"devDependencies": {
61-
"@akameco/tsconfig": "^0.4.0",
6261
"@babel/plugin-proposal-class-properties": "^7.18.6",
6362
"@babel/preset-env": "^7.28.3",
6463
"@babel/preset-flow": "^7.27.1",

tsconfig.json

Lines changed: 55 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,60 @@
11
{
2-
"extends": "@akameco/tsconfig",
32
"compilerOptions": {
4-
"outDir": "dist",
5-
"skipLibCheck": true,
3+
/* Language and Environment */
4+
"target": "ES2022",
5+
"lib": ["ES2022", "DOM"],
66
"module": "Node16",
7-
"target": "ES2020",
8-
"moduleResolution": "node16",
9-
"isolatedModules": true
7+
"moduleResolution": "Node16",
8+
9+
/* Modules */
10+
"allowImportingTsExtensions": false,
11+
"resolveJsonModule": true,
12+
"allowSyntheticDefaultImports": true,
13+
"esModuleInterop": true,
14+
"forceConsistentCasingInFileNames": true,
15+
"isolatedModules": true,
16+
17+
/* Emit */
18+
"declaration": true,
19+
"declarationMap": true,
20+
"sourceMap": true,
21+
"outDir": "dist",
22+
"removeComments": false,
23+
"importHelpers": false,
24+
"downlevelIteration": false,
25+
26+
/* Interop Constraints */
27+
"allowJs": false,
28+
"checkJs": false,
29+
30+
/* Type Checking */
31+
"strict": true,
32+
"noImplicitAny": true,
33+
"strictNullChecks": true,
34+
"strictFunctionTypes": true,
35+
"strictBindCallApply": true,
36+
"strictPropertyInitialization": true,
37+
"noImplicitThis": true,
38+
"useUnknownInCatchVariables": true,
39+
"alwaysStrict": true,
40+
"noUnusedLocals": true,
41+
"noUnusedParameters": true,
42+
"exactOptionalPropertyTypes": false,
43+
"noImplicitReturns": true,
44+
"noFallthroughCasesInSwitch": true,
45+
"noUncheckedIndexedAccess": false,
46+
"noImplicitOverride": true,
47+
"noPropertyAccessFromIndexSignature": false,
48+
49+
/* Completeness */
50+
"skipLibCheck": true
1051
},
11-
"include": ["src"],
12-
"exclude": ["node_modules", "**/test.*", "dist"]
52+
"include": ["src/**/*"],
53+
"exclude": [
54+
"node_modules",
55+
"dist",
56+
"**/*.test.ts",
57+
"**/*.spec.ts",
58+
"**/test.*"
59+
]
1360
}

0 commit comments

Comments
 (0)