Skip to content

Commit 86c51c6

Browse files
npm cache folder
1 parent f45b748 commit 86c51c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli/src/commands/bundle/package-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ export async function downloadPackages(
241241
// Extract package to proper node_modules structure
242242
// Use environment variable for cache location (Docker-friendly)
243243
const cacheDir =
244-
process.env.NPM_CACHE_DIR || path.join(process.cwd(), '.npm-cache');
244+
process.env.NPM_CACHE_DIR || getTmpPath(undefined, 'cache', 'npm');
245245
await withTimeout(
246246
pacote.extract(packageSpec, packageDir, {
247247
// Force npm registry download, prevent workspace resolution

0 commit comments

Comments
 (0)