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:
altair823
2026-04-25 11:52:57 +09:00
parent 82137a5ce1
commit 5abec8e7d9
8 changed files with 4227 additions and 4 deletions

40
package.json Normal file
View File

@@ -0,0 +1,40 @@
{
"name": "inkling",
"version": "0.2.0",
"private": true,
"type": "module",
"main": "out/main/index.js",
"scripts": {
"dev": "electron-vite dev",
"build": "electron-vite build",
"start": "electron-vite preview",
"test": "vitest run",
"test:watch": "vitest",
"test:integration": "INKLING_INTEGRATION=1 vitest run tests/integration",
"test:e2e": "playwright test",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"better-sqlite3": "12.9.0",
"electron": "41.3.0",
"electron-log": "5.2.0",
"react": "19.2.5",
"react-dom": "19.2.5",
"uuid": "11.0.3",
"zod": "4.3.6",
"zustand": "5.0.12"
},
"devDependencies": {
"@playwright/test": "1.59.1",
"@types/better-sqlite3": "7.6.11",
"@types/node": "24.0.0",
"@types/react": "19.0.0",
"@types/react-dom": "19.0.0",
"@vitejs/plugin-react": "5.1.4",
"electron-vite": "5.0.0",
"typescript": "6.0.3",
"undici": "8.1.0",
"vite": "7.3.2",
"vitest": "4.1.5"
}
}