From da3b3794c95374d861972fa7097c4c2c3e4d2b60 Mon Sep 17 00:00:00 2001 From: Kevin Li Date: Thu, 1 Oct 2026 14:28:23 +0800 Subject: [PATCH] chore(everything): exclude compiled tests and vitest config from dist The build tsconfig had no exclude, so tsc emitted __tests__/** and vitest.config into dist/ and "files": ["dist"] published them. Align the exclude with src/filesystem's tsconfig so the tarball ships only the server and its docs, like the other three TS servers. Fixes #4930 Signed-off-by: Kevin Li --- src/everything/tsconfig.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/everything/tsconfig.json b/src/everything/tsconfig.json index 829d52d66b..b17fe7e938 100644 --- a/src/everything/tsconfig.json +++ b/src/everything/tsconfig.json @@ -4,5 +4,11 @@ "outDir": "./dist", "rootDir": "." }, - "include": ["./**/*.ts"] + "include": ["./**/*.ts"], + "exclude": [ + "**/__tests__/**", + "**/*.test.ts", + "**/*.spec.ts", + "vitest.config.ts" + ] }