beachball
Advanced tools
Comparing version 2.44.1 to 2.45.0
@@ -13,3 +13,4 @@ export declare const env: Readonly<{ | ||
workspaceToolsGitMaxBuffer: number | undefined; | ||
npmConcurrency: number | undefined; | ||
}>; | ||
//# sourceMappingURL=env.d.ts.map |
@@ -19,3 +19,5 @@ "use strict"; | ||
workspaceToolsGitMaxBuffer: (process.env.GIT_MAX_BUFFER && parseInt(process.env.GIT_MAX_BUFFER, 10)) || undefined, | ||
// Override default NPM_CONCURRENCY | ||
npmConcurrency: (process.env.NPM_CONCURRENCY && parseInt(process.env.NPM_CONCURRENCY)) || undefined | ||
}); | ||
//# sourceMappingURL=env.js.map |
@@ -12,3 +12,3 @@ "use strict"; | ||
let packageVersionsCache = {}; | ||
const NPM_CONCURRENCY = env_1.env.isJest ? 2 : 5; | ||
const NPM_CONCURRENCY = env_1.env.npmConcurrency ?? (env_1.env.isJest ? 2 : 5); | ||
function _clearPackageVersionsCache() { | ||
@@ -15,0 +15,0 @@ packageVersionsCache = {}; |
{ | ||
"name": "beachball", | ||
"version": "2.44.1", | ||
"version": "2.45.0", | ||
"description": "The Sunniest Semantic Version Bumper", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -82,2 +82,6 @@ <!-- | ||
## Overriding Concurrency | ||
In large monorepos, the Beachball sync process can be time-consuming due to the high number of packages. To optimize performance, you can override the default concurrency (typically set to 2 or 5) by setting the NPM_CONCURRENCY environment variable to a value that best suits your needs | ||
## Examples | ||
@@ -84,0 +88,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
377333
4759
99