diff --git a/next.config.mjs b/next.config.mjs
index fc6a4d2d6c..db1017ae84 100644
--- a/next.config.mjs
+++ b/next.config.mjs
@@ -17,7 +17,18 @@ const nextConfig = {
outputFileTracingExcludes: {
// Planning/task docs are not runtime assets and can break standalone copies
// when broad fs/path tracing pulls the whole repository into the NFT graph.
- "/*": ["./_tasks/**/*"],
+ "/*": [
+ "./.git/**/*",
+ "./_tasks/**/*",
+ "./_references/**/*",
+ "./_ideia/**/*",
+ "./_mono_repo/**/*",
+ "./coverage/**/*",
+ "./test-results/**/*",
+ "./playwright-report/**/*",
+ "./app.__qa_backup/**/*",
+ "./tests/**/*",
+ ],
},
serverExternalPackages: [
"pino",
diff --git a/open-sse/services/payloadRules.ts b/open-sse/services/payloadRules.ts
index 3f3102f69d..4422476b37 100644
--- a/open-sse/services/payloadRules.ts
+++ b/open-sse/services/payloadRules.ts
@@ -135,7 +135,7 @@ function getPayloadRulesPath() {
return (
process.env.OMNIROUTE_PAYLOAD_RULES_PATH ||
process.env.PAYLOAD_RULES_PATH ||
- path.join(process.cwd(), "config", "payloadRules.json")
+ path.join(/* turbopackIgnore: true */ process.cwd(), "config", "payloadRules.json")
);
}
diff --git a/src/app/(dashboard)/dashboard/settings/components/ProxyTab.tsx b/src/app/(dashboard)/dashboard/settings/components/ProxyTab.tsx
index 45641d5265..8fe96b9ac8 100644
--- a/src/app/(dashboard)/dashboard/settings/components/ProxyTab.tsx
+++ b/src/app/(dashboard)/dashboard/settings/components/ProxyTab.tsx
@@ -142,11 +142,7 @@ export default function ProxyTab() {
- updateDebugMode(!debugMode)}
- disabled={loading}
- />
+
diff --git a/src/app/api/openapi/spec/route.ts b/src/app/api/openapi/spec/route.ts
index ca51698fe6..c4798b3a92 100644
--- a/src/app/api/openapi/spec/route.ts
+++ b/src/app/api/openapi/spec/route.ts
@@ -10,8 +10,8 @@ import yaml from "js-yaml";
let cachedSpec: { data: any; mtime: number } | null = null;
const OPENAPI_SPEC_CANDIDATES = [
- path.join(process.cwd(), "docs", "openapi.yaml"),
- path.join(process.cwd(), "app", "docs", "openapi.yaml"),
+ path.join(/* turbopackIgnore: true */ process.cwd(), "docs", "openapi.yaml"),
+ path.join(/* turbopackIgnore: true */ process.cwd(), "app", "docs", "openapi.yaml"),
];
export async function GET() {
diff --git a/src/lib/versionManager/binaryManager.ts b/src/lib/versionManager/binaryManager.ts
index 64522d3230..1b4b86c6de 100644
--- a/src/lib/versionManager/binaryManager.ts
+++ b/src/lib/versionManager/binaryManager.ts
@@ -69,7 +69,9 @@ async function verifyChecksum(filePath: string, expectedSha256: string): Promise
function findBinaryInDir(dir: string): string | null {
const candidates = ["cli-proxy-api", "cli-proxy-api.exe", "CLIProxyAPI", "CLIProxyAPI.exe"];
for (const name of candidates) {
- if (fsSync.existsSync(path.join(dir, name))) return path.join(dir, name);
+ if (fsSync.existsSync(path.join(/* turbopackIgnore: true */ dir, name))) {
+ return path.join(/* turbopackIgnore: true */ dir, name);
+ }
}
return null;
}
@@ -146,7 +148,7 @@ export async function getCurrentBinaryPath(dataDir?: string): Promise
const entries = await fs.readdir(binDir);
return entries
.filter(
- (e) => e.startsWith("cliproxyapi-") && fsSync.statSync(path.join(binDir, e)).isDirectory()
+ (e) =>
+ e.startsWith("cliproxyapi-") &&
+ fsSync.statSync(path.join(/* turbopackIgnore: true */ binDir, e)).isDirectory()
)
.map((e) => e.replace("cliproxyapi-", ""));
} catch {
diff --git a/src/lib/zed-oauth/keychain-reader.ts b/src/lib/zed-oauth/keychain-reader.ts
index aa2b333a2b..1945806757 100644
--- a/src/lib/zed-oauth/keychain-reader.ts
+++ b/src/lib/zed-oauth/keychain-reader.ts
@@ -209,7 +209,7 @@ export async function isZedInstalled(): Promise {
];
for (const configPath of zedConfigPaths) {
- if (fs.existsSync(configPath)) {
+ if (fs.existsSync(/* turbopackIgnore: true */ configPath)) {
return true;
}
}
diff --git a/src/shared/utils/machineId.ts b/src/shared/utils/machineId.ts
index b1b92ac4d1..2033f61967 100644
--- a/src/shared/utils/machineId.ts
+++ b/src/shared/utils/machineId.ts
@@ -18,7 +18,7 @@ function getMachineIdRaw(): string {
}
const sysRoot = process.env.SystemRoot || process.env.windir || "C:\\Windows";
const regPath = `${sysRoot}\\System32\\REG.exe`;
- if (existsSync(regPath)) {
+ if (existsSync(/* turbopackIgnore: true */ regPath)) {
const output = execFileSync(
regPath,
["QUERY", "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography", "/v", "MachineGuid"],
@@ -59,7 +59,9 @@ function getMachineIdRaw(): string {
try {
for (const filePath of ["/etc/machine-id", "/var/lib/dbus/machine-id"]) {
try {
- const content = readFileSync(filePath, "utf8").trim().toLowerCase();
+ const content = readFileSync(/* turbopackIgnore: true */ filePath, "utf8")
+ .trim()
+ .toLowerCase();
if (content.length > 8) return content;
} catch {
// Try the next candidate file