test: add Node test suite and pre-commit hook

This commit is contained in:
David Ibia
2026-01-12 13:50:43 +01:00
parent 090822ef6c
commit b2b0b9b0fa
9 changed files with 277 additions and 9 deletions

11
tsconfig.test.json Normal file
View File

@@ -0,0 +1,11 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"noEmit": false,
"outDir": "dist-test",
"declaration": false,
"declarationMap": false,
"sourceMap": true
},
"include": ["index.ts", ".opencode/plugin/**/*.ts", "test/**/*.ts"]
}