@lage-run/cli 0.4.36 → 0.5.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,37 @@
2
2
  "name": "@lage-run/cli",
3
3
  "entries": [
4
4
  {
5
- "date": "Wed, 16 Nov 2022 17:12:13 GMT",
5
+ "date": "Thu, 17 Nov 2022 19:29:43 GMT",
6
+ "tag": "@lage-run/cli_v0.5.0",
7
+ "version": "0.5.0",
8
+ "comments": {
9
+ "minor": [
10
+ {
11
+ "author": "kchau@microsoft.com",
12
+ "package": "@lage-run/cli",
13
+ "commit": "240efb10733a9daac53475fa1000ddfc5ae81a42",
14
+ "comment": "support \"to\" flag"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Wed, 16 Nov 2022 20:07:05 GMT",
21
+ "tag": "@lage-run/cli_v0.4.37",
22
+ "version": "0.4.37",
23
+ "comments": {
24
+ "patch": [
25
+ {
26
+ "author": "beachball",
27
+ "package": "@lage-run/cli",
28
+ "comment": "Bump @lage-run/scheduler to v0.5.14",
29
+ "commit": "04f9c13f6f37c7a14a67ab27acaf253ad09bfbd8"
30
+ }
31
+ ]
32
+ }
33
+ },
34
+ {
35
+ "date": "Wed, 16 Nov 2022 17:12:24 GMT",
6
36
  "tag": "@lage-run/cli_v0.4.36",
7
37
  "version": "0.4.36",
8
38
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,28 @@
1
1
  # Change Log - @lage-run/cli
2
2
 
3
- This log was last generated on Wed, 16 Nov 2022 17:12:13 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 17 Nov 2022 19:29:43 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 0.5.0
8
+
9
+ Thu, 17 Nov 2022 19:29:43 GMT
10
+
11
+ ### Minor changes
12
+
13
+ - support "to" flag (kchau@microsoft.com)
14
+
15
+ ## 0.4.37
16
+
17
+ Wed, 16 Nov 2022 20:07:05 GMT
18
+
19
+ ### Patches
20
+
21
+ - Bump @lage-run/scheduler to v0.5.14
22
+
7
23
  ## 0.4.36
8
24
 
9
- Wed, 16 Nov 2022 17:12:13 GMT
25
+ Wed, 16 Nov 2022 17:12:24 GMT
10
26
 
11
27
  ### Patches
12
28
 
@@ -6,6 +6,7 @@ interface RunOptions extends ReporterInitOptions {
6
6
  dependencies: boolean;
7
7
  dependents: boolean;
8
8
  since: string;
9
+ to: string[];
9
10
  scope: string[];
10
11
  skipLocalCache: boolean;
11
12
  continue: boolean;
@@ -8,6 +8,7 @@ interface RunOptions extends ReporterInitOptions {
8
8
  dependents: boolean;
9
9
  since: string;
10
10
  scope: string[];
11
+ to: string[];
11
12
  skipLocalCache: boolean;
12
13
  continue: boolean;
13
14
  cache: boolean;
@@ -41,11 +41,11 @@ async function runAction(options, command) {
41
41
  logger,
42
42
  root,
43
43
  dependencies: options.dependencies,
44
- dependents: options.dependents,
44
+ dependents: options.dependents && !options.to,
45
45
  ignore: options.ignore.concat(config.ignore),
46
46
  pipeline: config.pipeline,
47
47
  repoWideChanges: config.repoWideChanges,
48
- scope: options.scope,
48
+ scope: (options.scope ?? []).concat(options.to ?? []),
49
49
  since: options.since,
50
50
  outputs: config.cacheOptions.outputGlob,
51
51
  tasks,
@@ -8,6 +8,7 @@ interface RunOptions extends ReporterInitOptions {
8
8
  dependents: boolean;
9
9
  since: string;
10
10
  scope: string[];
11
+ to: string[];
11
12
  skipLocalCache: boolean;
12
13
  continue: boolean;
13
14
  cache: boolean;
@@ -75,11 +75,11 @@ async function watchAction(options, command) {
75
75
  logger,
76
76
  root,
77
77
  dependencies: options.dependencies,
78
- dependents: options.dependents,
78
+ dependents: options.dependents && !options.to,
79
79
  ignore: options.ignore.concat(config.ignore),
80
80
  pipeline: config.pipeline,
81
81
  repoWideChanges: config.repoWideChanges,
82
- scope: options.scope,
82
+ scope: (options.scope ?? []).concat(options.to ?? []),
83
83
  since: options.since,
84
84
  outputs: config.cacheOptions.outputGlob,
85
85
  tasks,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lage-run/cli",
3
- "version": "0.4.36",
3
+ "version": "0.5.0",
4
4
  "description": "Command Line Interface for Lage",
5
5
  "repository": {
6
6
  "url": "https://github.com/microsoft/lage"
@@ -20,7 +20,7 @@
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.5.13",
23
+ "@lage-run/scheduler": "^0.5.14",
24
24
  "@lage-run/scheduler-types": "^0.2.8",
25
25
  "@lage-run/target-graph": "^0.6.1",
26
26
  "@lage-run/cache": "^0.2.2",