- Add SqliteDatabase.exec() using better-sqlite3 exec() so the migrator can run multi-statement SQL files (prepare() rejected 001_initial.sql) - Migrator now uses exec() for migration file content - Fix tests/helpers/db.ts: replace CJS require() with ESM import - Add unit tests for SqliteDatabase (query/get/execute/transaction/exec, WAL & foreign_keys pragmas) and Migrator (ordering, idempotency, rollback, real 001_initial.sql applies) - Restore .gitignore steering exclusion; remove stale steering files
58 lines
609 B
Plaintext
58 lines
609 B
Plaintext
# Temporary files
|
|
tmp/
|
|
|
|
# Node.js
|
|
node_modules/
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
|
|
# Build outputs
|
|
dist/
|
|
build/
|
|
.next/
|
|
*.tsbuildinfo
|
|
|
|
# App data (SQLite DB + uploads)
|
|
data/
|
|
|
|
# Backups
|
|
backups/
|
|
|
|
# Playwright
|
|
test-results/
|
|
playwright-report/
|
|
|
|
# Environment variables
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
|
|
# Logs
|
|
logs/
|
|
*.log
|
|
|
|
# OS files
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# IDE
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# Testing
|
|
coverage/
|
|
.nyc_output/
|
|
|
|
# Steering files (task management - temporary)
|
|
.steering/*
|
|
!.steering/.gitkeep
|
|
|
|
# Lock files (keep package-lock.json for consistency)
|
|
# yarn.lock
|
|
|
|
.opencode/opencode.local.json
|