chore: bootstrap inkling project (Task 1)
Adds package.json, tsconfig.json, tsconfig.node.json, electron.vite.config.ts, vitest.config.ts, .gitignore, and package-lock.json. Verified Node 24.15.0 + npm 11.12.1 via Volta. better-sqlite3 12.9.0 native build succeeded against VS 2022 + Python 3.12. Plan v0.4 had two install pin issues; adjusted live and logged in plan Task 1 Step 2: - electron-vite@2.3.0 + vite@6.0.3 ERESOLVE (peer ^4||^5). Promoted build-tool chain: electron-vite 5.0.0, vite 7.3.2, @vitejs/plugin-react 5.1.4 (vite@7 is the compatible overlap; vitest@4.1.5 also accepts vite@7). - @types/uuid@11.0.0 deprecated stub (uuid@11 ships own types); removed from devDependencies. Other deps installed at the planned exact pins. Step 8 sanity: TypeScript 6.0.3, Vitest 4.1.5, Electron 41.3.0 (npm ls). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
18
vitest.config.ts
Normal file
18
vitest.config.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import { defineConfig } from 'vitest/config';
|
||||
import { resolve } from 'node:path';
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
environment: 'node',
|
||||
globals: false,
|
||||
include: ['tests/unit/**/*.test.ts'],
|
||||
exclude: ['tests/integration/**', 'tests/e2e/**'],
|
||||
coverage: { reporter: ['text', 'html'] }
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
'@shared': resolve(__dirname, 'src/shared'),
|
||||
'@main': resolve(__dirname, 'src/main')
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user