@iobroker/repochecker 4.1.0-alpha.0 → 4.1.0-alpha.2
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 +6 -2
- package/lib/M000_PackageJson.js +0 -4
- package/lib/M800_Github.js +19 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -33,12 +33,16 @@ npx @iobroker/repochecker https://github.com/ioBroker/ioBroker.javascript --loca
|
|
|
33
33
|
-->
|
|
34
34
|
|
|
35
35
|
## Changelog
|
|
36
|
-
### 4.1.0-alpha.
|
|
36
|
+
### 4.1.0-alpha.2 (2025-08-17)
|
|
37
|
+
- (mcm1957) URGENT and IMPORTANT issued are watched now.
|
|
38
|
+
|
|
39
|
+
### 4.1.0-alpha.1 (2025-08-13)
|
|
37
40
|
- (mcm1957) Using @iobroker/eslint-config is suggested now.
|
|
38
41
|
- (mcm1957) Adding @iobroker/testing to dependencies is logged as error now [#447].
|
|
39
42
|
- (mcm1957) Text for S191 has been extended [#393].
|
|
40
43
|
- (mcm1957) Text for S052 has been corrected [#434].
|
|
41
|
-
- (mcm1957) Formatting if W174 has been improved [#408].
|
|
44
|
+
- (mcm1957) Formatting if W174 has been improved [#408].
|
|
45
|
+
- (mcm1957) @types/* as dependency now raise a warning [#421].
|
|
42
46
|
|
|
43
47
|
### 4.0.2 (2025-08-12)
|
|
44
48
|
- (mcm1957) js-controller 6.0.11 recommended now.
|
package/lib/M000_PackageJson.js
CHANGED
|
@@ -86,10 +86,6 @@ const blacklistedAllDependenciesPackageJson = {
|
|
|
86
86
|
msg: "'request' package is deprecated and no longer maintained. Please consider migrating to package 'axios'.",
|
|
87
87
|
err: false,
|
|
88
88
|
},
|
|
89
|
-
axios: {
|
|
90
|
-
msg: "TEST TEST TEST '${dependency}' package detected.",
|
|
91
|
-
err: false,
|
|
92
|
-
},
|
|
93
89
|
};
|
|
94
90
|
|
|
95
91
|
// packages which must NOT be listed as dependencies
|
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