workspace-tools 0.19.0 → 0.19.1
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 +16 -1
- package/CHANGELOG.md +10 -2
- package/docs/.nojekyll +1 -0
- package/docs/assets/highlight.css +22 -0
- package/docs/assets/icons.css +1043 -0
- package/docs/assets/icons.png +0 -0
- package/docs/assets/icons@2x.png +0 -0
- package/docs/assets/main.js +52 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1414 -0
- package/docs/assets/widgets.png +0 -0
- package/docs/assets/widgets@2x.png +0 -0
- package/docs/index.html +42 -0
- package/docs/interfaces/NpmLockFile.html +1 -0
- package/docs/interfaces/NpmSymlinkInfo.html +1 -0
- package/docs/interfaces/NpmWorkspacesInfo.html +1 -0
- package/docs/interfaces/PackageInfo.html +1 -0
- package/docs/interfaces/PackageInfos.html +1 -0
- package/docs/interfaces/PnpmLockFile.html +1 -0
- package/docs/modules.html +70 -0
- package/lib/git.js +1 -1
- package/package.json +7 -3
package/lib/git.js
CHANGED
|
@@ -85,7 +85,7 @@ function getUntrackedChanges(cwd) {
|
|
|
85
85
|
if (changes.length == 0) {
|
|
86
86
|
return [];
|
|
87
87
|
}
|
|
88
|
-
const lines = changes.split(
|
|
88
|
+
const lines = changes.split(/[\r\n]+/).filter((line) => line) || [];
|
|
89
89
|
const untracked = [];
|
|
90
90
|
for (let i = 0; i < lines.length; i++) {
|
|
91
91
|
const line = lines[i];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "workspace-tools",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
"types": "lib/index.d.ts",
|
|
11
11
|
"scripts": {
|
|
12
12
|
"build": "tsc",
|
|
13
|
+
"build:docs": "typedoc src/index.ts",
|
|
14
|
+
"release:docs": "typedoc src/index.ts && gh-pages -d docs",
|
|
13
15
|
"change": "beachball change",
|
|
14
16
|
"checkchange": "beachball check",
|
|
15
17
|
"release": "beachball publish -y",
|
|
@@ -23,7 +25,8 @@
|
|
|
23
25
|
"globby": "^11.0.0",
|
|
24
26
|
"jju": "^1.4.0",
|
|
25
27
|
"multimatch": "^4.0.0",
|
|
26
|
-
"read-yaml-file": "^2.0.0"
|
|
28
|
+
"read-yaml-file": "^2.0.0",
|
|
29
|
+
"typedoc": "^0.22.15"
|
|
27
30
|
},
|
|
28
31
|
"devDependencies": {
|
|
29
32
|
"@types/git-url-parse": "^9.0.0",
|
|
@@ -38,6 +41,7 @@
|
|
|
38
41
|
"jest": "^25.0.0",
|
|
39
42
|
"tmp": "^0.2.1",
|
|
40
43
|
"ts-jest": "^25.5.1",
|
|
41
|
-
"typescript": "^4.5.4"
|
|
44
|
+
"typescript": "^4.5.4",
|
|
45
|
+
"gh-pages": "^3.2.3"
|
|
42
46
|
}
|
|
43
47
|
}
|