@lage-run/cli 0.16.6 → 0.17.0

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,70 @@
2
2
  "name": "@lage-run/cli",
3
3
  "entries": [
4
4
  {
5
- "date": "Mon, 26 Feb 2024 16:18:42 GMT",
5
+ "date": "Tue, 23 Apr 2024 22:21:17 GMT",
6
+ "version": "0.17.0",
7
+ "tag": "@lage-run/cli_v0.17.0",
8
+ "comments": {
9
+ "minor": [
10
+ {
11
+ "author": "elcraig@microsoft.com",
12
+ "package": "@lage-run/cli",
13
+ "commit": "f324cccc43c32e2edf1767ccf7d7d72294421715",
14
+ "comment": "Set shell: true when spawning npm commands, due to Node security fix. Also remove custom npm client resolution logic, which should be handled based on the PATH in the shell."
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@lage-run/cli",
19
+ "comment": "Bump @lage-run/scheduler to v1.2.0",
20
+ "commit": "not available"
21
+ }
22
+ ]
23
+ }
24
+ },
25
+ {
26
+ "date": "Wed, 17 Apr 2024 23:20:47 GMT",
27
+ "version": "0.16.7",
28
+ "tag": "@lage-run/cli_v0.16.7",
29
+ "comments": {
30
+ "none": [
31
+ {
32
+ "author": "elcraig@microsoft.com",
33
+ "package": "@lage-run/cli",
34
+ "commit": "fb4fcb8419cc778210104d7d04102fc95df13d5b",
35
+ "comment": "Update formatting"
36
+ }
37
+ ]
38
+ }
39
+ },
40
+ {
41
+ "date": "Fri, 15 Mar 2024 04:35:11 GMT",
42
+ "version": "0.16.7",
43
+ "tag": "@lage-run/cli_v0.16.7",
44
+ "comments": {
45
+ "patch": [
46
+ {
47
+ "author": "kchau@microsoft.com",
48
+ "package": "@lage-run/cli",
49
+ "commit": "71283d4af8888454c953e5228c97bfbb471c15ba",
50
+ "comment": "perf optimizations"
51
+ },
52
+ {
53
+ "author": "beachball",
54
+ "package": "@lage-run/cli",
55
+ "comment": "Bump @lage-run/hasher to v1.1.0",
56
+ "commit": "not available"
57
+ },
58
+ {
59
+ "author": "beachball",
60
+ "package": "@lage-run/cli",
61
+ "comment": "Bump @lage-run/scheduler to v1.1.13",
62
+ "commit": "not available"
63
+ }
64
+ ]
65
+ }
66
+ },
67
+ {
68
+ "date": "Mon, 26 Feb 2024 16:18:50 GMT",
6
69
  "version": "0.16.6",
7
70
  "tag": "@lage-run/cli_v0.16.6",
8
71
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,31 @@
1
1
  # Change Log - @lage-run/cli
2
2
 
3
- This log was last generated on Mon, 26 Feb 2024 16:18:42 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 23 Apr 2024 22:21:17 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 0.17.0
8
+
9
+ Tue, 23 Apr 2024 22:21:17 GMT
10
+
11
+ ### Minor changes
12
+
13
+ - Set shell: true when spawning npm commands, due to Node security fix. Also remove custom npm client resolution logic, which should be handled based on the PATH in the shell. (elcraig@microsoft.com)
14
+ - Bump @lage-run/scheduler to v1.2.0
15
+
16
+ ## 0.16.7
17
+
18
+ Fri, 15 Mar 2024 04:35:11 GMT
19
+
20
+ ### Patches
21
+
22
+ - perf optimizations (kchau@microsoft.com)
23
+ - Bump @lage-run/hasher to v1.1.0
24
+ - Bump @lage-run/scheduler to v1.1.13
25
+
7
26
  ## 0.16.6
8
27
 
9
- Mon, 26 Feb 2024 16:18:42 GMT
28
+ Mon, 26 Feb 2024 16:18:50 GMT
10
29
 
11
30
  ### Patches
12
31
 
@@ -30,7 +30,7 @@ async function infoAction(options, command) {
30
30
  options.reporter = options.reporter ?? "json";
31
31
  (0, _initializeReporters.initializeReporters)(logger, options);
32
32
  const root = (0, _workspacetools.getWorkspaceRoot)(cwd);
33
- const packageInfos = await (0, _workspacetools.getPackageInfosAsync)(root);
33
+ const packageInfos = (0, _workspacetools.getPackageInfos)(root);
34
34
  const targetGraph = prepareAndCreateTargetGraph(config, logger, root, options, packageInfos, command);
35
35
  const scope = prepareAndGetFilteredPackages(config, logger, root, options, packageInfos);
36
36
  const packageTasks = processTargets(targetGraph.targets, packageInfos, config);
@@ -99,7 +99,8 @@ async function installLage(cwd, workspaceManager, pipeline) {
99
99
  await (0, _execa.default)(workspaceManager, [
100
100
  "install"
101
101
  ], {
102
- stdio: "inherit"
102
+ stdio: "inherit",
103
+ shell: true
103
104
  });
104
105
  }
105
106
  }
@@ -11,7 +11,6 @@ Object.defineProperty(exports, "runAction", {
11
11
  const _createTargetGraph = require("./createTargetGraph.js");
12
12
  const _filterArgsForTasks = require("./filterArgsForTasks.js");
13
13
  const _filterPipelineDefinitions = require("./filterPipelineDefinitions.js");
14
- const _findnpmclient = require("@lage-run/find-npm-client");
15
14
  const _config = require("@lage-run/config");
16
15
  const _workspacetools = require("workspace-tools");
17
16
  const _initializeReporters = require("../initializeReporters.js");
@@ -38,7 +37,7 @@ async function runAction(options, command) {
38
37
  });
39
38
  // Build Target Graph
40
39
  const root = (0, _workspacetools.getWorkspaceRoot)(process.cwd());
41
- const packageInfos = await (0, _workspacetools.getPackageInfosAsync)(root);
40
+ const packageInfos = (0, _workspacetools.getPackageInfos)(root);
42
41
  const { tasks , taskArgs } = (0, _filterArgsForTasks.filterArgsForTasks)(command.args);
43
42
  const targetGraph = (0, _createTargetGraph.createTargetGraph)({
44
43
  logger,
@@ -82,7 +81,7 @@ async function runAction(options, command) {
82
81
  options: {
83
82
  nodeArg: options.nodeArg,
84
83
  taskArgs,
85
- npmCmd: (0, _findnpmclient.findNpmClient)(config.npmClient)
84
+ npmCmd: config.npmClient
86
85
  }
87
86
  },
88
87
  worker: {
@@ -10,7 +10,6 @@ Object.defineProperty(exports, "watchAction", {
10
10
  });
11
11
  const _createTargetGraph = require("./createTargetGraph.js");
12
12
  const _filterArgsForTasks = require("./filterArgsForTasks.js");
13
- const _findnpmclient = require("@lage-run/find-npm-client");
14
13
  const _config = require("@lage-run/config");
15
14
  const _workspacetools = require("workspace-tools");
16
15
  const _filterPipelineDefinitions = require("./filterPipelineDefinitions.js");
@@ -112,7 +111,7 @@ async function watchAction(options, command) {
112
111
  options: {
113
112
  nodeArg: options.nodeArg,
114
113
  taskArgs,
115
- npmCmd: (0, _findnpmclient.findNpmClient)(config.npmClient)
114
+ npmCmd: config.npmClient
116
115
  }
117
116
  },
118
117
  worker: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lage-run/cli",
3
- "version": "0.16.6",
3
+ "version": "0.17.0",
4
4
  "description": "Command Line Interface for Lage",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,11 +22,10 @@
22
22
  "dependencies": {
23
23
  "@lage-run/cache": "^1.1.5",
24
24
  "@lage-run/config": "^0.3.5",
25
- "@lage-run/find-npm-client": "^0.1.4",
26
- "@lage-run/hasher": "^1.0.7",
25
+ "@lage-run/hasher": "^1.1.0",
27
26
  "@lage-run/logger": "^1.3.0",
28
27
  "@lage-run/reporters": "^1.2.7",
29
- "@lage-run/scheduler": "^1.1.12",
28
+ "@lage-run/scheduler": "^1.2.0",
30
29
  "@lage-run/scheduler-types": "^0.3.13",
31
30
  "@lage-run/target-graph": "^0.8.9",
32
31
  "chokidar": "3.5.3",