test: migrate from bun to pnpm and vitest

This commit is contained in:
2025-12-06 18:14:01 -05:00
parent 20ad68669c
commit bdac969be9
31 changed files with 228 additions and 2103 deletions

View File

@@ -1,32 +1,27 @@
{
"compilerOptions": {
"types": ["@types/bun"],
"types": ["@cloudflare/workers-types"],
"baseUrl": "./",
"paths": {
"~/*": ["src/*"]
},
// Enable latest features
"lib": ["ESNext"],
"target": "ESNext",
"module": "ESNext",
// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"noEmit": true,
// Best practices
"strict": true,
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,
// Some stricter flags
"noUnusedLocals": true,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": true,
// plugins
"plugins": [
{