@lage-run/cli 0.8.2 → 0.8.3

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.json CHANGED
@@ -2,7 +2,52 @@
2
2
  "name": "@lage-run/cli",
3
3
  "entries": [
4
4
  {
5
- "date": "Tue, 07 Feb 2023 23:52:38 GMT",
5
+ "date": "Wed, 15 Feb 2023 16:46:37 GMT",
6
+ "tag": "@lage-run/cli_v0.8.3",
7
+ "version": "0.8.3",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "kchau@microsoft.com",
12
+ "package": "@lage-run/cli",
13
+ "commit": "d66a3b4811f36290a0499d9199948c84c8049728",
14
+ "comment": "bumping workspace-tools to latest to support yarn 3"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@lage-run/cli",
19
+ "comment": "Bump @lage-run/scheduler to v0.8.4",
20
+ "commit": "d66a3b4811f36290a0499d9199948c84c8049728"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@lage-run/cli",
25
+ "comment": "Bump @lage-run/scheduler-types to v0.3.1",
26
+ "commit": "d66a3b4811f36290a0499d9199948c84c8049728"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@lage-run/cli",
31
+ "comment": "Bump @lage-run/target-graph to v0.6.2",
32
+ "commit": "d66a3b4811f36290a0499d9199948c84c8049728"
33
+ },
34
+ {
35
+ "author": "beachball",
36
+ "package": "@lage-run/cli",
37
+ "comment": "Bump @lage-run/cache to v0.2.4",
38
+ "commit": "d66a3b4811f36290a0499d9199948c84c8049728"
39
+ },
40
+ {
41
+ "author": "beachball",
42
+ "package": "@lage-run/cli",
43
+ "comment": "Bump @lage-run/reporters to v1.0.1",
44
+ "commit": "d66a3b4811f36290a0499d9199948c84c8049728"
45
+ }
46
+ ]
47
+ }
48
+ },
49
+ {
50
+ "date": "Tue, 07 Feb 2023 23:52:48 GMT",
6
51
  "tag": "@lage-run/cli_v0.8.2",
7
52
  "version": "0.8.2",
8
53
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,25 @@
1
1
  # Change Log - @lage-run/cli
2
2
 
3
- This log was last generated on Tue, 07 Feb 2023 23:52:38 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 15 Feb 2023 16:46:37 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 0.8.3
8
+
9
+ Wed, 15 Feb 2023 16:46:37 GMT
10
+
11
+ ### Patches
12
+
13
+ - bumping workspace-tools to latest to support yarn 3 (kchau@microsoft.com)
14
+ - Bump @lage-run/scheduler to v0.8.4
15
+ - Bump @lage-run/scheduler-types to v0.3.1
16
+ - Bump @lage-run/target-graph to v0.6.2
17
+ - Bump @lage-run/cache to v0.2.4
18
+ - Bump @lage-run/reporters to v1.0.1
19
+
7
20
  ## 0.8.2
8
21
 
9
- Tue, 07 Feb 2023 23:52:38 GMT
22
+ Tue, 07 Feb 2023 23:52:48 GMT
10
23
 
11
24
  ### Patches
12
25
 
@@ -44,10 +44,10 @@ function getMaxWorkersPerTask(pipelineConfig, concurrency) {
44
44
  // try to adjust the maxWorkersPerTask to fit the concurrency
45
45
  if (grandTotal > concurrency) {
46
46
  let newTotal = 0;
47
- for (const [task1, maxWorkers1] of maxWorkersPerTask.entries()){
48
- const newMaxWorkers = Math.max(1, Math.floor(maxWorkers1 / grandTotal * concurrency));
47
+ for (const [task, maxWorkers] of maxWorkersPerTask.entries()){
48
+ const newMaxWorkers = Math.max(1, Math.floor(maxWorkers / grandTotal * concurrency));
49
49
  newTotal += newMaxWorkers;
50
- maxWorkersPerTask.set(task1, newMaxWorkers);
50
+ maxWorkersPerTask.set(task, newMaxWorkers);
51
51
  }
52
52
  if (newTotal > concurrency) {
53
53
  throw new Error("Could not adjust maxWorkers per task to fit the concurrency, try reducing the maxWorkers, or increasing the --concurrency CLI argument, or separate the tasks to be run");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lage-run/cli",
3
- "version": "0.8.2",
3
+ "version": "0.8.3",
4
4
  "description": "Command Line Interface for Lage",
5
5
  "repository": {
6
6
  "url": "https://github.com/microsoft/lage"
@@ -20,13 +20,13 @@
20
20
  "dependencies": {
21
21
  "@lage-run/find-npm-client": "^0.1.4",
22
22
  "@lage-run/logger": "^1.2.2",
23
- "@lage-run/scheduler": "^0.8.3",
24
- "@lage-run/scheduler-types": "^0.3.0",
25
- "@lage-run/target-graph": "^0.6.1",
26
- "@lage-run/cache": "^0.2.3",
27
- "@lage-run/reporters": "^1.0.0",
23
+ "@lage-run/scheduler": "^0.8.4",
24
+ "@lage-run/scheduler-types": "^0.3.1",
25
+ "@lage-run/target-graph": "^0.6.2",
26
+ "@lage-run/cache": "^0.2.4",
27
+ "@lage-run/reporters": "^1.0.1",
28
28
  "commander": "^9.4.0",
29
- "workspace-tools": "^0.29.0",
29
+ "workspace-tools": "^0.30.0",
30
30
  "chokidar": "3.5.3",
31
31
  "fast-glob": "^3.2.11",
32
32
  "cosmiconfig": "^7.0.0"