@lage-run/cli 0.3.8 → 0.3.10

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,76 @@
2
2
  "name": "@lage-run/cli",
3
3
  "entries": [
4
4
  {
5
- "date": "Mon, 19 Sep 2022 05:03:37 GMT",
5
+ "date": "Thu, 29 Sep 2022 21:54:28 GMT",
6
+ "tag": "@lage-run/cli_v0.3.10",
7
+ "version": "0.3.10",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "email not defined",
12
+ "package": "@lage-run/cli",
13
+ "commit": "96f43fa9da1e4e8d43e3e1d213b25e344bd35de6",
14
+ "comment": "Update dependency workspace-tools to ^0.28.0"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@lage-run/cli",
19
+ "comment": "Bump @lage-run/scheduler to v0.3.6",
20
+ "commit": "96f43fa9da1e4e8d43e3e1d213b25e344bd35de6"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@lage-run/cli",
25
+ "comment": "Bump @lage-run/target-graph to v0.3.4",
26
+ "commit": "96f43fa9da1e4e8d43e3e1d213b25e344bd35de6"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@lage-run/cli",
31
+ "comment": "Bump @lage-run/cache to v0.1.12",
32
+ "commit": "96f43fa9da1e4e8d43e3e1d213b25e344bd35de6"
33
+ },
34
+ {
35
+ "author": "beachball",
36
+ "package": "@lage-run/cli",
37
+ "comment": "Bump @lage-run/reporters to v0.2.7",
38
+ "commit": "96f43fa9da1e4e8d43e3e1d213b25e344bd35de6"
39
+ }
40
+ ]
41
+ }
42
+ },
43
+ {
44
+ "date": "Wed, 21 Sep 2022 23:32:29 GMT",
45
+ "tag": "@lage-run/cli_v0.3.9",
46
+ "version": "0.3.9",
47
+ "comments": {
48
+ "patch": [
49
+ {
50
+ "author": "email not defined",
51
+ "package": "@lage-run/cli",
52
+ "commit": "ef51d07b2b21e766dc45cfcc3184c3cafcfeaf8a",
53
+ "comment": "\u0016Making these corrections so that the dependencies and --no-dependents (dependents option) are correctly parsed and used in the program."
54
+ }
55
+ ]
56
+ }
57
+ },
58
+ {
59
+ "date": "Tue, 20 Sep 2022 02:32:14 GMT",
60
+ "tag": "@lage-run/cli_v0.3.8",
61
+ "version": "0.3.8",
62
+ "comments": {
63
+ "none": [
64
+ {
65
+ "author": "elcraig@microsoft.com",
66
+ "package": "@lage-run/cli",
67
+ "commit": "8193ad27df772d312844bfc4cc3ea43297e18098",
68
+ "comment": "Hoist widely-used devDependencies to the repo root"
69
+ }
70
+ ]
71
+ }
72
+ },
73
+ {
74
+ "date": "Mon, 19 Sep 2022 05:03:56 GMT",
6
75
  "tag": "@lage-run/cli_v0.3.8",
7
76
  "version": "0.3.8",
8
77
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,32 @@
1
1
  # Change Log - @lage-run/cli
2
2
 
3
- This log was last generated on Mon, 19 Sep 2022 05:03:37 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 29 Sep 2022 21:54:28 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 0.3.10
8
+
9
+ Thu, 29 Sep 2022 21:54:28 GMT
10
+
11
+ ### Patches
12
+
13
+ - Update dependency workspace-tools to ^0.28.0 (email not defined)
14
+ - Bump @lage-run/scheduler to v0.3.6
15
+ - Bump @lage-run/target-graph to v0.3.4
16
+ - Bump @lage-run/cache to v0.1.12
17
+ - Bump @lage-run/reporters to v0.2.7
18
+
19
+ ## 0.3.9
20
+
21
+ Wed, 21 Sep 2022 23:32:29 GMT
22
+
23
+ ### Patches
24
+
25
+ - Making these corrections so that the dependencies and --no-dependents (dependents option) are correctly parsed and used in the program. (email not defined)
26
+
7
27
  ## 0.3.8
8
28
 
9
- Mon, 19 Sep 2022 05:03:37 GMT
29
+ Mon, 19 Sep 2022 05:03:56 GMT
10
30
 
11
31
  ### Patches
12
32
 
@@ -23,8 +23,8 @@ exports.runCommand = runCommand;
23
23
  }, os_1.default.cpus().length - 1)
24
24
  // Common Options
25
25
  .option("--scope <scope...>", "scopes the run to a subset of packages (by default, includes the dependencies and dependents as well)")
26
- .option("--no-dependents|--no-deps", "disables running any dependents of the scoped packages")
27
- .option("--dependencies|--include-dependencies", 'adds the scoped packages dependencies as the "entry points" for the target graph run')
26
+ .option("--no-deps|--no-dependents", "disables running any dependents of the scoped packages")
27
+ .option("--include-dependencies|--dependencies", 'adds the scoped packages dependencies as the "entry points" for the target graph run')
28
28
  .option("--since <since>", "only runs packages that have changed since the given commit, tag, or branch")
29
29
  .option("--to <scope...>", "runs up to a package (shorthand for --scope=<scope...> --no-dependents)")
30
30
  // Run Command Options
@@ -108,6 +108,7 @@ function filterPackages(options) {
108
108
  }
109
109
  // adds dependencies of all filtered package thus far
110
110
  if (includeDependencies) {
111
+ logger.verbose(`filterPackages running with dependencies`);
111
112
  filtered = filtered.concat((0, workspace_tools_1.getTransitiveDependencies)(filtered, packageInfos));
112
113
  }
113
114
  const unique = new Set(filtered);
@@ -1 +1 @@
1
- {"version":3,"file":"getFilteredPackages.js","sourceRoot":"","sources":["../../src/filter/getFilteredPackages.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAOyB;AACzB,8CAAgC;AAGhC,SAAgB,mBAAmB,CAAC,OAUnC;IACC,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,gBAAgB,EAAE,eAAe,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,EAAE,YAAY,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC;IAExI,4CAA4C;IAC5C,MAAM,SAAS,GAAG,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC;IAC3D,IAAI,cAAc,GAAyB,SAAS,CAAC;IACrD,IAAI,SAAS,EAAE;QACb,cAAc,GAAG,IAAA,mCAAiB,EAAC,KAA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CAAC;AACrB,CAAC;AA/CD,wCA+CC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lage-run/cli",
3
- "version": "0.3.8",
3
+ "version": "0.3.10",
4
4
  "description": "Command Line Interface for Lage",
5
5
  "repository": {
6
6
  "url": "https://github.com/microsoft/lage"
@@ -18,20 +18,15 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "@lage-run/logger": "^1.2.0",
21
- "@lage-run/scheduler": "^0.3.5",
22
- "@lage-run/target-graph": "^0.3.3",
23
- "@lage-run/cache": "^0.1.11",
24
- "@lage-run/reporters": "^0.2.6",
21
+ "@lage-run/scheduler": "^0.3.6",
22
+ "@lage-run/target-graph": "^0.3.4",
23
+ "@lage-run/cache": "^0.1.12",
24
+ "@lage-run/reporters": "^0.2.7",
25
25
  "commander": "^9.4.0",
26
- "workspace-tools": "^0.27.0"
26
+ "workspace-tools": "^0.28.0"
27
27
  },
28
28
  "devDependencies": {
29
- "@types/jest": "29.0.3",
30
- "@types/node": "14.18.29",
31
- "@lage-run/monorepo-fixture": "^0.1.0",
32
- "jest": "29.0.3",
33
- "ts-jest": "29.0.1",
34
- "typescript": "4.6.4"
29
+ "@lage-run/monorepo-fixture": "*"
35
30
  },
36
31
  "publishConfig": {
37
32
  "access": "public"