workspace-tools 0.26.2 → 0.26.3

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,30 @@
2
2
  "name": "workspace-tools",
3
3
  "entries": [
4
4
  {
5
- "date": "Fri, 12 Aug 2022 01:57:23 GMT",
5
+ "date": "Fri, 12 Aug 2022 05:32:08 GMT",
6
+ "tag": "workspace-tools_v0.26.3",
7
+ "version": "0.26.3",
8
+ "comments": {
9
+ "none": [
10
+ {
11
+ "author": "email not defined",
12
+ "package": "workspace-tools",
13
+ "commit": "addac47344c01ba294f18bee28735c7133a00e82",
14
+ "comment": "Update devDependency beachball to v2.30.0"
15
+ }
16
+ ],
17
+ "patch": [
18
+ {
19
+ "author": "elcraig@microsoft.com",
20
+ "package": "workspace-tools",
21
+ "commit": "8fed2362e2531c996d800a8c2aba02ec97508aa2",
22
+ "comment": "Fix listAllTrackedFiles if there are no tracked files'"
23
+ }
24
+ ]
25
+ }
26
+ },
27
+ {
28
+ "date": "Fri, 12 Aug 2022 01:57:26 GMT",
6
29
  "tag": "workspace-tools_v0.26.2",
7
30
  "version": "0.26.2",
8
31
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,20 @@
1
1
  # Change Log - workspace-tools
2
2
 
3
- This log was last generated on Fri, 12 Aug 2022 01:57:23 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 12 Aug 2022 05:32:08 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 0.26.3
8
+
9
+ Fri, 12 Aug 2022 05:32:08 GMT
10
+
11
+ ### Patches
12
+
13
+ - Fix listAllTrackedFiles if there are no tracked files' (elcraig@microsoft.com)
14
+
7
15
  ## 0.26.2
8
16
 
9
- Fri, 12 Aug 2022 01:57:23 GMT
17
+ Fri, 12 Aug 2022 01:57:26 GMT
10
18
 
11
19
  ### Patches
12
20
 
@@ -257,7 +257,7 @@ function getDefaultBranch(cwd) {
257
257
  exports.getDefaultBranch = getDefaultBranch;
258
258
  function listAllTrackedFiles(patterns, cwd) {
259
259
  const results = (0, git_1.git)(["ls-files", ...patterns], { cwd });
260
- return results.success ? results.stdout.split(/\n/) : [];
260
+ return results.success && results.stdout.trim() ? results.stdout.trim().split(/\n/) : [];
261
261
  }
262
262
  exports.listAllTrackedFiles = listAllTrackedFiles;
263
263
  function processGitOutput(output) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "workspace-tools",
3
- "version": "0.26.2",
3
+ "version": "0.26.3",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -40,7 +40,7 @@
40
40
  "@types/node": "14.18.23",
41
41
  "@types/tmp": "0.2.3",
42
42
  "@types/yarnpkg__lockfile": "1.1.5",
43
- "beachball": "2.26.1",
43
+ "beachball": "2.30.0",
44
44
  "fs-extra": "10.1.0",
45
45
  "gh-pages": "4.0.0",
46
46
  "jest": "28.1.3",