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
20 lines
480 B
JSON
20 lines
480 B
JSON
{
|
|
"name": "obsidian-voice-note",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "node esbuild.config.mjs",
|
|
"build": "npm run typecheck && node esbuild.config.mjs production",
|
|
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.core.json",
|
|
"test": "vitest run"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "26.6.3",
|
|
"esbuild": "0.28.2",
|
|
"obsidian": "1.13.1",
|
|
"typescript": "7.0.2",
|
|
"vitest": "5.0.2"
|
|
}
|
|
}
|