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

View File

@@ -151,10 +151,9 @@ npm install --save-exact --save-dev \
@types/node@24.0.0 \
@types/react@19.0.0 @types/react-dom@19.0.0 \
@types/better-sqlite3@7.6.11 \
@types/uuid@11.0.0 \
electron-vite@2.3.0 \
vite@6.0.3 \
@vitejs/plugin-react@4.3.4 \
electron-vite@5.0.0 \
vite@7.3.2 \
@vitejs/plugin-react@5.1.4 \
vitest@4.1.5 \
undici@8.1.0 \
@playwright/test@1.59.1
@@ -162,6 +161,8 @@ npm install --save-exact --save-dev \
If a version is not yet published, run `npm view <pkg> version` and use the latest stable; update spec §7.2 in the same PR.
> **Resolution log (2026-04-25 install):** v0.4 had `electron-vite@2.3.0` (peer `vite@^4||^5`) conflicting with `vite@6.0.3`. Resolved by promoting the build-tool chain to `electron-vite@5.0.0` + `vite@7.3.2` + `@vitejs/plugin-react@5.1.4` (all share `vite@^7` as the compatible overlap; vitest@4.1.5 also accepts vite@7). `@types/uuid` line removed: uuid@11 ships its own type definitions, so `@types/uuid@11.0.0` is a deprecated stub.
- [ ] **Step 3: `tsconfig.json`**
```json