setup: initialize project with package.json, tsconfig, tsup, vitest, src skeleton, and test placeholders

This commit is contained in:
2026-05-21 20:46:10 +00:00
parent a61f6aead7
commit 5fbf7a75bc
45 changed files with 3384 additions and 0 deletions

19
vitest.config.ts Normal file
View File

@@ -0,0 +1,19 @@
import { defineConfig } from 'vitest/config';
import path from 'node:path';
export default defineConfig({
resolve: {
alias: {
'@': path.resolve(__dirname, 'src'),
},
},
test: {
globals: true,
include: ['test/**/*.test.ts'],
coverage: {
provider: 'v8',
include: ['src/**/*.ts'],
exclude: ['src/**/index.ts'],
},
},
});