chore: scaffold tsup, biome, vitest, deps

This commit is contained in:
smartass
2026-06-11 23:02:08 +05:00
parent cf52ac9420
commit 80ba44f1ce
9 changed files with 6598 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
projects: [
{
test: {
name: 'unit',
include: ['test/unit/**/*.test.ts']
}
},
{
test: {
name: 'integration',
include: ['test/integration/**/*.test.ts'],
testTimeout: 120_000,
hookTimeout: 240_000
}
}
],
coverage: {
provider: 'v8',
include: ['src/**'],
exclude: ['src/index.ts'],
thresholds: {
lines: 90,
functions: 90
}
}
}
})