@iobroker/repochecker 4.1.0-alpha.1 → 4.1.0-alpha.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/README.md +7 -0
- package/lib/M000_PackageJson.js +1 -1
- package/lib/M800_Github.js +19 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -33,6 +33,13 @@ npx @iobroker/repochecker https://github.com/ioBroker/ioBroker.javascript --loca
|
|
|
33
33
|
-->
|
|
34
34
|
|
|
35
35
|
## Changelog
|
|
36
|
+
### 4.1.0-alpha.3 (2025-08-23)
|
|
37
|
+
- (mcm1957) adapter-core suggestions has been updated.
|
|
38
|
+
- (mcm1957) Dependencies have been updated.
|
|
39
|
+
|
|
40
|
+
### 4.1.0-alpha.2 (2025-08-17)
|
|
41
|
+
- (mcm1957) URGENT and IMPORTANT issued are watched now.
|
|
42
|
+
|
|
36
43
|
### 4.1.0-alpha.1 (2025-08-13)
|
|
37
44
|
- (mcm1957) Using @iobroker/eslint-config is suggested now.
|
|
38
45
|
- (mcm1957) Adding @iobroker/testing to dependencies is logged as error now [#447].
|
package/lib/M000_PackageJson.js
CHANGED
package/lib/M800_Github.js
CHANGED
|
@@ -8,13 +8,18 @@
|
|
|
8
8
|
*/
|
|
9
9
|
const axios = require('axios');
|
|
10
10
|
|
|
11
|
-
const
|
|
11
|
+
const issuesToWatchAsError = [
|
|
12
12
|
'IMPORTANT: Update of dependency @iobroker/adapter-core is required as soon as possible',
|
|
13
|
+
'Compatibility check and testing for node.js 24',
|
|
13
14
|
'Compatibility check and testing for node.js 22',
|
|
14
15
|
'Compatibility check and testing for Responsive Design (jsonConfig)',
|
|
15
16
|
'Compatibility check and testing for Responsive Design (materialize)',
|
|
16
17
|
];
|
|
17
18
|
|
|
19
|
+
const issuesToWatchAsWarning = [
|
|
20
|
+
'Migration to ESLint 9 and @iobroker/eslint-config',
|
|
21
|
+
];
|
|
22
|
+
|
|
18
23
|
// disable axios caching
|
|
19
24
|
axios.defaults.headers.common = {
|
|
20
25
|
'Cache-Control': 'no-cache',
|
|
@@ -89,10 +94,22 @@ async function checkGithubRepo(context) {
|
|
|
89
94
|
if (issue.pull_request) {
|
|
90
95
|
continue;
|
|
91
96
|
}
|
|
92
|
-
if (
|
|
97
|
+
if (issuesToWatchAsError.includes(issue.title)) {
|
|
93
98
|
context.errors.push(
|
|
94
99
|
`[E804] Please process issue [[#${issue.number}] "${issue.title}"](${context.githubUrlOriginal}/issues/${issue.number})`,
|
|
95
100
|
);
|
|
101
|
+
} else if (issuesToWatchAsWarning.includes(issue.title)) {
|
|
102
|
+
context.warnings.push(
|
|
103
|
+
`[W804] Please process issue [[#${issue.number}] "${issue.title}"](${context.githubUrlOriginal}/issues/${issue.number})`,
|
|
104
|
+
);
|
|
105
|
+
} else if (issue.title.startsWith('URGENT:')) {
|
|
106
|
+
context.errors.push(
|
|
107
|
+
`[E804] Please process issue [[#${issue.number}] "${issue.title}"](${context.githubUrlOriginal}/issues/${issue.number})`,
|
|
108
|
+
);
|
|
109
|
+
} else if (issue.title.startsWith('IMPORTANT:')) {
|
|
110
|
+
context.warnings.push(
|
|
111
|
+
`[W804] Please process issue [[#${issue.number}] "${issue.title}"](${context.githubUrlOriginal}/issues/${issue.number})`,
|
|
112
|
+
);
|
|
96
113
|
}
|
|
97
114
|
}
|
|
98
115
|
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "4.1.0-alpha.
|
|
2
|
+
"version": "4.1.0-alpha.3",
|
|
3
3
|
"name": "@iobroker/repochecker",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"axios": "^1.11.0",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"@alcalzone/release-script": "^3.8.0",
|
|
13
13
|
"@iobroker/eslint-config": "^2.0.3",
|
|
14
14
|
"@tsconfig/node20": "^20.1.6",
|
|
15
|
-
"@types/node": "^24.
|
|
15
|
+
"@types/node": "^24.3.0",
|
|
16
16
|
"@types/semver": "^7.7.0"
|
|
17
17
|
},
|
|
18
18
|
"publishConfig": {
|