aboutsummaryrefslogtreecommitdiff
path: root/tsconfig.base.json
diff options
context:
space:
mode:
authoramankumarsingh77 <amankumarsingh7702@gmail.com>2026-07-27 00:13:06 +0530
committerAman Kumar <145339995+amankumarsingh77@users.noreply.github.com>2026-08-02 19:12:46 +0530
commit3607b5523f9d23ec6b9facf8474c7bdf047537e1 (patch)
tree87c433788599b1f414cb248759f2eed6500071e2 /tsconfig.base.json
parent84ebb018f59ab5efe8bc97e8e4b87435d6665b0b (diff)
chore(build): split tsconfig, typecheck tests, add node:test runner
test/ was never type-checked and had no runner. Adds tsconfig.base.json shared by a src project and a test project, an npm test script scoped to non-manual suites, and a CI step. Ports the profile store suite as proof. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'tsconfig.base.json')
-rw-r--r--tsconfig.base.json22
1 files changed, 22 insertions, 0 deletions
diff --git a/tsconfig.base.json b/tsconfig.base.json
new file mode 100644
index 0000000..b0dba19
--- /dev/null
+++ b/tsconfig.base.json
@@ -0,0 +1,22 @@
+{
+ "compilerOptions": {
+ "target": "ES2022",
+ "module": "ESNext",
+ "moduleResolution": "bundler",
+ "strict": true,
+ "noImplicitAny": true,
+ "strictNullChecks": true,
+ "noUnusedLocals": true,
+ "noUnusedParameters": true,
+ "noImplicitReturns": true,
+ "noFallthroughCasesInSwitch": true,
+ "noUncheckedIndexedAccess": true,
+ "exactOptionalPropertyTypes": true,
+ "noPropertyAccessFromIndexSignature": true,
+ "noImplicitOverride": true,
+ "forceConsistentCasingInFileNames": true,
+ "verbatimModuleSyntax": true,
+ "esModuleInterop": true,
+ "skipLibCheck": true
+ }
+}