@flatjs/evolve 1.8.1-next.69 → 1.8.1-next.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
package/dist/default-options.js
CHANGED
|
@@ -116,8 +116,8 @@ export const startDynamicBuild = async (projectCwd, earlyCommit, lastCommit, ove
|
|
|
116
116
|
logger.warn(`No build entries providered!`);
|
|
117
117
|
return [];
|
|
118
118
|
}
|
|
119
|
-
logger.info(`Start dynamic build:\n${JSON.stringify({ buildEntries: buildEntryKeys }, null, 2)}`);
|
|
120
119
|
const workerSize = getMaxProcessTasks(buildEntryKeys.length, newEvolveOptions.maxProcesses);
|
|
120
|
+
logger.info(`Start dynamic build with (${chalk(['magenta'])(String(workerSize))}) workers:\n${JSON.stringify({ buildEntries: buildEntryKeys }, null, 2)}`);
|
|
121
121
|
const workerPath = pathToFileURL(getDirname(import.meta.url, './start-build-worker.js')).toString();
|
|
122
122
|
const worker = await createThreadPool(workerPath, {
|
|
123
123
|
size: workerSize,
|
package/dist/main/start-build.js
CHANGED
|
@@ -21,8 +21,8 @@ export const startBuild = async (projectCwd, buildModules, overrideEvolveOptions
|
|
|
21
21
|
logger.warn(`No build entries providered!`);
|
|
22
22
|
return [];
|
|
23
23
|
}
|
|
24
|
-
logger.info(`Start standard build:\n${JSON.stringify({ buildEntries: buildEntryKeys }, null, 2)}`);
|
|
25
24
|
const workerSize = getMaxProcessTasks(buildEntryKeys.length, newEvolveOptions.maxProcesses);
|
|
25
|
+
logger.info(`Start standard build with (${chalk(['magenta'])(String(workerSize))}) workers:\n${JSON.stringify({ buildEntries: buildEntryKeys }, null, 2)}`);
|
|
26
26
|
const workerPath = pathToFileURL(getDirname(import.meta.url, './start-build-worker.js')).toString();
|
|
27
27
|
const worker = await createThreadPool(workerPath, {
|
|
28
28
|
size: workerSize,
|
|
@@ -102,7 +102,7 @@ export interface FlatEvolveOptions {
|
|
|
102
102
|
*
|
|
103
103
|
* If undefined, then all build processes will start in parallel.
|
|
104
104
|
* Setting this value to 1 will achieve sequential running.
|
|
105
|
-
* @default `
|
|
105
|
+
* @default `50%`
|
|
106
106
|
*/
|
|
107
107
|
maxProcesses?: number | string;
|
|
108
108
|
/**
|