# v0.4.44 (2026-05-15)
## Features - Add Blackbox provider with `bb` alias (#1143) - Add Xiaomi token plan provider - Enhance model select modal UX + modal traffic lights (#1111) - Default Usage dashboard period to Today (#1141) ## Fixes - Fix Cowork model selection and Windows CLI packaging (#1129) - Update provider name retrieval for compatibility provider (#1135) - Update JWT_SECRET handling
This commit is contained in:
parent
75904b8c27
commit
a28c5ec98b
9 changed files with 58 additions and 23 deletions
|
|
@ -12,14 +12,6 @@ const buildHomeDir = path.join(cliDir, ".build-home");
|
|||
const buildDistDirName = ".next-cli-build";
|
||||
const buildDistDir = path.join(appDir, buildDistDirName);
|
||||
|
||||
function shouldUseWorkspaceTracingRoot() {
|
||||
const appNodeModules = path.join(appDir, "node_modules");
|
||||
const rootNodeModules = path.join(rootDir, "node_modules");
|
||||
|
||||
// Only widen tracing when dependencies are actually hoisted above appDir.
|
||||
return !fs.existsSync(appNodeModules) && fs.existsSync(rootNodeModules);
|
||||
}
|
||||
|
||||
// Exclude patterns for files/folders we don't want to copy
|
||||
const EXCLUDE_PATTERNS = [
|
||||
"@img", // Sharp image processing (not needed with unoptimized images)
|
||||
|
|
@ -122,7 +114,7 @@ try {
|
|||
APPDATA: path.join(buildHomeDir, "AppData", "Roaming"),
|
||||
LOCALAPPDATA: path.join(buildHomeDir, "AppData", "Local"),
|
||||
NEXT_DIST_DIR: buildDistDirName,
|
||||
NEXT_TRACING_ROOT_MODE: shouldUseWorkspaceTracingRoot() ? "workspace" : "project",
|
||||
NEXT_TRACING_ROOT_MODE: "workspace",
|
||||
}
|
||||
});
|
||||
console.log("✅ Next.js build completed\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue