@iobroker/repochecker 5.13.1 → 5.13.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 +5 -0
- package/lib/M1000_IOPackageJson.js +19 -3
- package/lib/postprocessing.js +6 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -25,6 +25,11 @@ Example:
|
|
|
25
25
|
Placeholder for the next version (at the beginning of the line):
|
|
26
26
|
### **WORK IN PROGRESS**
|
|
27
27
|
-->
|
|
28
|
+
### 5.13.2 (2026-05-26)
|
|
29
|
+
|
|
30
|
+
- (mcm1957) Adapter some severities for new adapters.
|
|
31
|
+
- (mcm1957) Missing state common attributes added.
|
|
32
|
+
|
|
28
33
|
### 5.13.1 (2026-05-24)
|
|
29
34
|
|
|
30
35
|
- (mcm1957) Some flase positives have been fixed.
|
|
@@ -999,13 +999,16 @@ async function checkIOPackageJson(context) {
|
|
|
999
999
|
'desc',
|
|
1000
1000
|
'read',
|
|
1001
1001
|
'write',
|
|
1002
|
-
'role',
|
|
1002
|
+
'role', // string
|
|
1003
1003
|
'states',
|
|
1004
1004
|
'workingID',
|
|
1005
1005
|
'custom',
|
|
1006
1006
|
'type',
|
|
1007
|
-
'name',
|
|
1008
|
-
'expert',
|
|
1007
|
+
'name', // StringOrTranslated
|
|
1008
|
+
'expert', // boolean
|
|
1009
|
+
'dontDelete', // boolean
|
|
1010
|
+
'color', // string
|
|
1011
|
+
'icon', // string
|
|
1009
1012
|
]);
|
|
1010
1013
|
|
|
1011
1014
|
instanceObjects.forEach((instanceObject, index) => {
|
|
@@ -1177,6 +1180,19 @@ async function checkIOPackageJson(context) {
|
|
|
1177
1180
|
);
|
|
1178
1181
|
}
|
|
1179
1182
|
}
|
|
1183
|
+
|
|
1184
|
+
if (instanceObject.common.color !== undefined && typeof instanceObject.common.color !== 'string') {
|
|
1185
|
+
context.warnings.push(
|
|
1186
|
+
`[W1136] io-package.json: instanceObject "${instanceObject._id || index}" common.color must be a string`,
|
|
1187
|
+
);
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
if (instanceObject.common.icon !== undefined && typeof instanceObject.common.icon !== 'string') {
|
|
1191
|
+
context.warnings.push(
|
|
1192
|
+
`[W1136] io-package.json: instanceObject "${instanceObject._id || index}" common.icon must be a string`,
|
|
1193
|
+
);
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1180
1196
|
});
|
|
1181
1197
|
}
|
|
1182
1198
|
}
|
package/lib/postprocessing.js
CHANGED
|
@@ -29,17 +29,23 @@ const mapSeverity4New = {
|
|
|
29
29
|
W1027: 'E', // [W1027] Missing suggested translation into ru,pt,nl,fr,it,es,pl,uk,zh-cn of "common.titleLang"
|
|
30
30
|
W1032: 'E', // [W1032] Many "common.news" found in io-package.json
|
|
31
31
|
W1034: 'E', // [W1034] Missing suggested translation into ru,pt,nl,fr,it,es,pl,uk,zh-cn of "common.desc"
|
|
32
|
+
W1054: 'E', // [W1054] Missing suggested translation into ru,pt,nl,fr,it,es,pl,uk,zh-cn of some "common.news" in io-package.json.
|
|
32
33
|
W1056: 'E', // [W1056] admin 7.6.17 listed as dependency but 7.6.20 is reW1commended.
|
|
33
34
|
W1084: 'E', // [W1084] "common.title" is deprecated and replaced by "common.titleLang".
|
|
34
35
|
W2007: 'E', // [W2007] Version 0.7.0-beta.2 is tagged as "latest" at npm
|
|
35
36
|
W3009: 'E', // [W3009] Workflow "test-and-release.yml" is missing recommended concurrency configuration.
|
|
37
|
+
W3019: 'E', // [W3019] Workflow "test-and-release.yml": job "deploy" step using "ioBroker/testing-action-deploy@v1" has "npm-token" parameter specified. Trusted publishing will not work while "npm-token" is set.
|
|
36
38
|
W5512: 'E', // [W5512] admin/jsonConfig.json schema validation error: ...
|
|
39
|
+
W6020: 'E', // [W6020] Consider adding a CHANGELOG_OLD.md file to store older changelog entries.
|
|
37
40
|
W6021: 'E', // [W6021] "## License" is not the last section in README.md.
|
|
38
41
|
W8915: 'E', // [W8915] Dependabot npm entry (directory: "/") has no "cooldown" configured.
|
|
39
42
|
W8916: 'E', // [W8916] Dependabot configuration "/.github/dependabot.yml" has no entry with "package-ecosystem: github-actions".
|
|
40
43
|
W8917: 'E', // [W8917] At least major versions of @types/node should not be updated by dependabot.
|
|
41
44
|
S0062: 'W', // [S0062] Consider adding and using package "@alcalzone/release-script".
|
|
42
45
|
S3012: 'E', // [S3012] Workflow "test-and-release.yml": job "deploy" is not defined.
|
|
46
|
+
S5022: 'W', // [S5022] Please consider migrating to admin 5 UI (jsonConfig) or react based UI.
|
|
47
|
+
S5043: 'E', // [S5043] Package "xx" is a built-in Node.js module. Please use "node:fs" instead.
|
|
48
|
+
S5051: 'W', // [S5051] Custom sleep/wait function(s) found in source files (src/lib/adsb.ts).
|
|
43
49
|
S6008: 'E', // [S6008] Changelog for version 0.7.0-beta.19 should be added to README.md
|
|
44
50
|
S6020: 'W', // [S6020] Consider adding a CHANGELOG_OLD.md file to store older changelog entries. This is supported by @alcalzone/releasescript.
|
|
45
51
|
S8901: 'W', // [S8901] Dependabot configuration file ".github/dependabot.yml" not found. Consider adding dependabot to keep dependencies up to date.
|
package/package.json
CHANGED