obsidian-voice-note/tsconfig.json
Andrey Epifancev aecab7627c fix: typecheck src/core without Node types; pin exact dependency versions (T1.1, O-2)
T1.1: tsconfig.core.json (types: []) covers src/core; typecheck runs both
passes, so process/Buffer in core fail compilation. tests/core-types.test.ts
compiles a fixture with Node globals under both configs and rejects config
errors as false positives. The fixture is excluded from the root tsconfig.

O-2: devDependencies pinned to the locked versions, .npmrc save-exact=true.
Lock updated only in the root specifiers: npm install on macOS would prune
optional rolldown binaries for other platforms.

Refs #3

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QKHeGuAYh4W1jNdjMConZa
2026-09-27 20:08:57 +04:00

17 lines
409 B
JSON

{
"compilerOptions": {
"target": "ES2020",
"module": "ESNext",
"moduleResolution": "bundler",
"lib": ["ES2022", "DOM"],
"types": ["node"],
"strict": true,
"noEmit": true,
"isolatedModules": true,
"skipLibCheck": true,
"noImplicitOverride": true
},
"include": ["src/**/*.ts", "tests/**/*.ts", "vitest.config.ts"],
"exclude": ["tests/fixtures/core-globals/**"]
}