build: add TypeScript + ESLint baseline (typecheck/lint/test scripts)

Root package.json (type: module), strict tsconfig with allowJs/checkJs:false for
gradual migration, flat ESLint config scoped to scripts/ + tests/. App untouched.
All three green: lint, typecheck, test 107/107.
This commit is contained in:
tommy0103
2026-07-08 16:42:08 +08:00
parent a32461b2ab
commit 33ec238c0c
4 changed files with 1025 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
{
"name": "obelisk",
"version": "0.1.0",
"private": true,
"type": "module",
"description": "Explicit memory infrastructure for coding agents — a queryable SQLite evidence layer over local Claude Code and Codex history, plus human-approved durable memory.",
"license": "AGPL-3.0",
"scripts": {
"test": "node --test tests/*.test.mjs",
"typecheck": "tsc --noEmit",
"lint": "eslint ."
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/node": "^26.1.1",
"eslint": "^10.6.0",
"globals": "^17.7.0",
"typescript": "^6.0.3"
}
}