@lage-run/cli 0.8.2 → 0.8.4

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,73 @@
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:50:52 GMT",
6
+ "tag": "@lage-run/cli_v0.8.4",
7
+ "version": "0.8.4",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "beachball",
12
+ "package": "@lage-run/cli",
13
+ "comment": "Bump @lage-run/scheduler to v0.8.5",
14
+ "commit": "b8e0ead727b1e7f7065f853e0a1ae677f4455a5b"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@lage-run/cli",
19
+ "comment": "Bump @lage-run/cache to v0.2.5",
20
+ "commit": "b8e0ead727b1e7f7065f853e0a1ae677f4455a5b"
21
+ }
22
+ ]
23
+ }
24
+ },
25
+ {
26
+ "date": "Wed, 15 Feb 2023 16:47:12 GMT",
27
+ "tag": "@lage-run/cli_v0.8.3",
28
+ "version": "0.8.3",
29
+ "comments": {
30
+ "patch": [
31
+ {
32
+ "author": "kchau@microsoft.com",
33
+ "package": "@lage-run/cli",
34
+ "commit": "d66a3b4811f36290a0499d9199948c84c8049728",
35
+ "comment": "bumping workspace-tools to latest to support yarn 3"
36
+ },
37
+ {
38
+ "author": "beachball",
39
+ "package": "@lage-run/cli",
40
+ "comment": "Bump @lage-run/scheduler to v0.8.4",
41
+ "commit": "d66a3b4811f36290a0499d9199948c84c8049728"
42
+ },
43
+ {
44
+ "author": "beachball",
45
+ "package": "@lage-run/cli",
46
+ "comment": "Bump @lage-run/scheduler-types to v0.3.1",
47
+ "commit": "d66a3b4811f36290a0499d9199948c84c8049728"
48
+ },
49
+ {
50
+ "author": "beachball",
51
+ "package": "@lage-run/cli",
52
+ "comment": "Bump @lage-run/target-graph to v0.6.2",
53
+ "commit": "d66a3b4811f36290a0499d9199948c84c8049728"
54
+ },
55
+ {
56
+ "author": "beachball",
57
+ "package": "@lage-run/cli",
58
+ "comment": "Bump @lage-run/cache to v0.2.4",
59
+ "commit": "d66a3b4811f36290a0499d9199948c84c8049728"
60
+ },
61
+ {
62
+ "author": "beachball",
63
+ "package": "@lage-run/cli",
64
+ "comment": "Bump @lage-run/reporters to v1.0.1",
65
+ "commit": "d66a3b4811f36290a0499d9199948c84c8049728"
66
+ }
67
+ ]
68
+ }
69
+ },
70
+ {
71
+ "date": "Tue, 07 Feb 2023 23:52:48 GMT",
6
72
  "tag": "@lage-run/cli_v0.8.2",
7
73
  "version": "0.8.2",
8
74
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,34 @@
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:50:52 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 0.8.4
8
+
9
+ Wed, 15 Feb 2023 16:50:52 GMT
10
+
11
+ ### Patches
12
+
13
+ - Bump @lage-run/scheduler to v0.8.5
14
+ - Bump @lage-run/cache to v0.2.5
15
+
16
+ ## 0.8.3
17
+
18
+ Wed, 15 Feb 2023 16:47:12 GMT
19
+
20
+ ### Patches
21
+
22
+ - bumping workspace-tools to latest to support yarn 3 (kchau@microsoft.com)
23
+ - Bump @lage-run/scheduler to v0.8.4
24
+ - Bump @lage-run/scheduler-types to v0.3.1
25
+ - Bump @lage-run/target-graph to v0.6.2
26
+ - Bump @lage-run/cache to v0.2.4
27
+ - Bump @lage-run/reporters to v1.0.1
28
+
7
29
  ## 0.8.2
8
30
 
9
- Tue, 07 Feb 2023 23:52:38 GMT
31
+ Tue, 07 Feb 2023 23:52:48 GMT
10
32
 
11
33
  ### Patches
12
34
 
@@ -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.4",
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.5",
24
+ "@lage-run/scheduler-types": "^0.3.1",
25
+ "@lage-run/target-graph": "^0.6.2",
26
+ "@lage-run/cache": "^0.2.5",
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"