@flatjs/evolve 1.8.1-next.68 → 1.8.1-next.69

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
@@ -1,5 +1,13 @@
1
1
  # @flatjs/evolve
2
2
 
3
+ ## 1.8.1-next.69
4
+
5
+ ### Patch Changes
6
+
7
+ - 1595ad5: change default maxProcessort to 60%
8
+ - Updated dependencies [63f4598]
9
+ - @flatjs/mock@1.8.1-next.57
10
+
3
11
  ## 1.8.1-next.68
4
12
 
5
13
  ### Patch Changes
@@ -69,7 +69,7 @@ export const defaultEvolveOptions = {
69
69
  throwError: false,
70
70
  showAllInstalledGraph: true,
71
71
  },
72
- maxProcesses: '80%',
72
+ maxProcesses: '60%',
73
73
  /**
74
74
  * CI default configurations.
75
75
  */
@@ -3,5 +3,5 @@ export const getMaxProcessTasks = (totalTasks, maxProcesses) => {
3
3
  const maxCpu = Math.max(1, typeof maxProcesses === 'string' && maxProcesses.endsWith('%')
4
4
  ? Math.round((cpus().length * Number(maxProcesses.slice(0, -1))) / 100)
5
5
  : Number(maxProcesses));
6
- return totalTasks > maxCpu ? maxCpu : totalTasks;
6
+ return totalTasks > maxCpu ? maxCpu : Math.max(1, totalTasks);
7
7
  };
@@ -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 `50%`
105
+ * @default `60%`
106
106
  */
107
107
  maxProcesses?: number | string;
108
108
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flatjs/evolve",
3
- "version": "1.8.1-next.68",
3
+ "version": "1.8.1-next.69",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -46,7 +46,7 @@
46
46
  "@flatjs/evolve-preset-babel": "1.8.1-next.15",
47
47
  "@flatjs/forge-postcss-plugin-pixel": "1.8.1-next.30",
48
48
  "@flatjs/graph": "1.8.1-next.36",
49
- "@flatjs/mock": "1.8.1-next.56",
49
+ "@flatjs/mock": "1.8.1-next.57",
50
50
  "@pmmmwh/react-refresh-webpack-plugin": "0.5.10",
51
51
  "@types/babel__core": "7.20.1",
52
52
  "babel-loader": "9.1.2",