@darksheep/eslint-formatter-github 0.1.0 โ 2.0.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.md +56 -0
- package/package.json +5 -5
- package/src/index.js +4 -1
package/CHANGELOG.md
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
## [2.0.1](https://github.com/DarkSheepSoftware/node-packages/compare/eslint-formatter-github-v2.0.0...eslint-formatter-github-v2.0.1) (2024-06-07)
|
4
|
+
|
5
|
+
|
6
|
+
### ๐ฆ Dependencies
|
7
|
+
|
8
|
+
* **dev:** update dependency @types/node to v20.14.1 ([#207](https://github.com/DarkSheepSoftware/node-packages/issues/207)) ([5ad7a75](https://github.com/DarkSheepSoftware/node-packages/commit/5ad7a75b29cf1fe8710a70f4179027ff7f156611))
|
9
|
+
|
10
|
+
|
11
|
+
### Dependencies
|
12
|
+
|
13
|
+
* The following workspace dependencies were updated
|
14
|
+
* dependencies
|
15
|
+
* @darksheep/github-actions bumped from 2.0.0 to 2.0.1
|
16
|
+
* @darksheep/package.json bumped from 2.0.0 to 2.0.1
|
17
|
+
|
18
|
+
## [2.0.0](https://github.com/DarkSheepSoftware/node-packages/compare/eslint-formatter-github-v1.0.0...eslint-formatter-github-v2.0.0) (2024-05-31)
|
19
|
+
|
20
|
+
|
21
|
+
### โ BREAKING CHANGES
|
22
|
+
|
23
|
+
* Drop node@^18
|
24
|
+
|
25
|
+
### ๐ก Features
|
26
|
+
|
27
|
+
* Bump to latest node lts versions ([#196](https://github.com/DarkSheepSoftware/node-packages/issues/196)) ([60a95cc](https://github.com/DarkSheepSoftware/node-packages/commit/60a95cc41b22c39428d35814c0d5e85830052a14))
|
28
|
+
* Drop node@^18 ([5f809a6](https://github.com/DarkSheepSoftware/node-packages/commit/5f809a6b2737db425cde55d58c22375ebcded687))
|
29
|
+
|
30
|
+
|
31
|
+
### ๐ฆ Dependencies
|
32
|
+
|
33
|
+
* **dev:** update dependency eslint to v9 ([#139](https://github.com/DarkSheepSoftware/node-packages/issues/139)) ([a01a119](https://github.com/DarkSheepSoftware/node-packages/commit/a01a119642704615386e37f2092801e08cf2f1b7))
|
34
|
+
|
35
|
+
|
36
|
+
### Dependencies
|
37
|
+
|
38
|
+
* The following workspace dependencies were updated
|
39
|
+
* dependencies
|
40
|
+
* @darksheep/github-actions bumped from 1.0.0 to 2.0.0
|
41
|
+
* @darksheep/package.json bumped from 1.0.0 to 2.0.0
|
42
|
+
|
43
|
+
## 1.0.0 (2024-04-22)
|
44
|
+
|
45
|
+
|
46
|
+
### ๐งน Miscellaneous Chores
|
47
|
+
|
48
|
+
* Move all packages to the packages directory ([6bc5f93](https://github.com/DarkSheepSoftware/node-packages/commit/6bc5f9395c80d8f7f1721c88a4923b7bc133e9c2))
|
49
|
+
|
50
|
+
|
51
|
+
### Dependencies
|
52
|
+
|
53
|
+
* The following workspace dependencies were updated
|
54
|
+
* dependencies
|
55
|
+
* @darksheep/github-actions bumped to 1.0.0
|
56
|
+
* @darksheep/package.json bumped to 1.0.0
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@darksheep/eslint-formatter-github",
|
3
|
-
"version": "0.1
|
3
|
+
"version": "2.0.1",
|
4
4
|
"description": "ESLint + Github actions",
|
5
5
|
"license": "UNLICENCED",
|
6
6
|
"type": "commonjs",
|
@@ -16,16 +16,16 @@
|
|
16
16
|
"prepack": "tsc"
|
17
17
|
},
|
18
18
|
"dependencies": {
|
19
|
-
"@darksheep/github-actions": "
|
20
|
-
"@darksheep/package.json": "
|
19
|
+
"@darksheep/github-actions": "2.0.1",
|
20
|
+
"@darksheep/package.json": "2.0.1"
|
21
21
|
},
|
22
22
|
"devDependencies": {
|
23
23
|
"@darksheep/eslint": "~4.4.0",
|
24
|
-
"@types/node": "~20.
|
24
|
+
"@types/node": "~20.14.0",
|
25
25
|
"eslint": "~8.57.0",
|
26
26
|
"typescript": "~5.4.0"
|
27
27
|
},
|
28
28
|
"engines": {
|
29
|
-
"node": "^
|
29
|
+
"node": "^20.13.1 || ^22.2.0"
|
30
30
|
}
|
31
31
|
}
|
package/src/index.js
CHANGED
@@ -127,7 +127,10 @@ function formatter(fileResults) {
|
|
127
127
|
lines.push(endGroup());
|
128
128
|
}
|
129
129
|
|
130
|
-
process.exitCode
|
130
|
+
if (typeof process.exitCode !== 'number') {
|
131
|
+
process.exitCode = 0;
|
132
|
+
}
|
133
|
+
|
131
134
|
process.exitCode += errorCount;
|
132
135
|
|
133
136
|
return lines.join('\n');
|