@lage-run/cli 0.4.37 → 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,22 @@
2
2
  "name": "@lage-run/cli",
3
3
  "entries": [
4
4
  {
5
- "date": "Wed, 16 Nov 2022 20:06:53 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",
6
21
  "tag": "@lage-run/cli_v0.4.37",
7
22
  "version": "0.4.37",
8
23
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,20 @@
1
1
  # Change Log - @lage-run/cli
2
2
 
3
- This log was last generated on Wed, 16 Nov 2022 20:06:53 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
+
7
15
  ## 0.4.37
8
16
 
9
- Wed, 16 Nov 2022 20:06:53 GMT
17
+ Wed, 16 Nov 2022 20:07:05 GMT
10
18
 
11
19
  ### Patches
12
20
 
@@ -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.37",
3
+ "version": "0.5.0",
4
4
  "description": "Command Line Interface for Lage",
5
5
  "repository": {
6
6
  "url": "https://github.com/microsoft/lage"