chore: env doğrulama, Vitest, Prettier ve editör ayarları

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-05 01:08:10 +03:00
parent 7f69f4019d
commit 54d83cc6b9
13 changed files with 192 additions and 1 deletions
+14
View File
@@ -0,0 +1,14 @@
import { fileURLToPath } from "node:url";
import { defineConfig } from "vitest/config";
export default defineConfig({
resolve: {
alias: { "@": fileURLToPath(new URL("./src", import.meta.url)) },
},
test: {
environment: "node",
include: ["src/**/*.test.ts", "scripts/**/*.test.ts"],
// "server-only" paketi test ortamında hata fırlatmasın.
server: { deps: { inline: ["server-only"] } },
},
});