@iobroker/repochecker 5.21.0 → 5.21.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 +8 -0
- package/lib/M0000_PackageJson.js +7 -3
- package/lib/config.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -56,6 +56,14 @@ GITHUB_TOKEN=ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
|
56
56
|
Placeholder for the next version (at the beginning of the line):
|
|
57
57
|
### **WORK IN PROGRESS**
|
|
58
58
|
-->
|
|
59
|
+
### 5.21.2 (2026-09-08)
|
|
60
|
+
|
|
61
|
+
* (mcm1957) blacklisted @iobroker/types as dependency
|
|
62
|
+
|
|
63
|
+
### 5.21.1 (2026-09-08)
|
|
64
|
+
|
|
65
|
+
* (mcm1957) minor fixes
|
|
66
|
+
|
|
59
67
|
### 5.21.0 (2026-09-05)
|
|
60
68
|
|
|
61
69
|
* (mcm1957) [E1144] untranslated `common.news` entries are now reported as an error only if the newest release is affected, otherwise a single warning is logged; nothing is reported if only one or two languages are identical to the English text, unless German is identical to English.
|
package/lib/M0000_PackageJson.js
CHANGED
|
@@ -22,7 +22,7 @@ const specialAdapters = [
|
|
|
22
22
|
]; // no special handling required for now
|
|
23
23
|
let recommendedNodeVersion = '22'; // This is the minimum node version that should be required at engines clause
|
|
24
24
|
let requiredNodeVersion = '20'; // This is the minimum node version that must be required at engines clause
|
|
25
|
-
const minimumNodeVersion = '
|
|
25
|
+
const minimumNodeVersion = '20'; // This is the minimum node version that must be required by all adapters at engines clause
|
|
26
26
|
|
|
27
27
|
// packages which must or should be required as dependencies
|
|
28
28
|
const dependenciesPackageJson = {
|
|
@@ -124,7 +124,7 @@ const devDependenciesPackageJson = {
|
|
|
124
124
|
'@iobroker/testing': {
|
|
125
125
|
required: '5.2.2',
|
|
126
126
|
recommended: '5.2.2',
|
|
127
|
-
actual: '
|
|
127
|
+
actual: '6.1.0',
|
|
128
128
|
onlyWWW: false,
|
|
129
129
|
alternatives: ['@iobroker/legacy-testing'],
|
|
130
130
|
},
|
|
@@ -213,6 +213,10 @@ const blacklistedDependenciesPackageJson = {
|
|
|
213
213
|
msg: "'@alcalzone/release-script-plugin-version' must not be listed as dependency at package.json. Please move to devDependencies and create a new release.",
|
|
214
214
|
err: true,
|
|
215
215
|
},
|
|
216
|
+
'@iobroker/types': {
|
|
217
|
+
msg: "Dependency '${dependency}' should most likely be listed as devDependency. Please check.",
|
|
218
|
+
err: false,
|
|
219
|
+
},
|
|
216
220
|
'@types/.*': {
|
|
217
221
|
msg: "Dependency '${dependency}' should most likely be listed as devDependency. Please check.",
|
|
218
222
|
err: false,
|
|
@@ -950,7 +954,7 @@ async function checkPackageJson(context) {
|
|
|
950
954
|
|
|
951
955
|
// react based adapters legitimately use 'publish' and 'prepublish' scripts to build the UI,
|
|
952
956
|
// so these two scripts must not be flagged if the adapter uses react
|
|
953
|
-
const reactAllowedScripts = context.usesReact ? ['
|
|
957
|
+
const reactAllowedScripts = context.usesReact ? ['prepublish', 'prepublishOnly'] : [];
|
|
954
958
|
|
|
955
959
|
discouragedScripts
|
|
956
960
|
.filter(scriptName => !reactAllowedScripts.includes(scriptName))
|
package/lib/config.js
CHANGED
|
@@ -430,7 +430,7 @@ const schemaUrls = {
|
|
|
430
430
|
|
|
431
431
|
const testingNodeJs = {
|
|
432
432
|
// Required minimum action versions
|
|
433
|
-
'ioBroker/testing-action-check': '
|
|
433
|
+
'ioBroker/testing-action-check': 'v2',
|
|
434
434
|
'ioBroker/testing-action-adapter': 'v1',
|
|
435
435
|
'ioBroker/testing-action-deploy': 'v1',
|
|
436
436
|
|
|
@@ -444,7 +444,7 @@ const testingNodeJs = {
|
|
|
444
444
|
// older versions disallowed by engines clause are removed automatically
|
|
445
445
|
validMatrixNodeVersions: ['20', '22', '24', '26', '27'], // valid versions to use in testing matrix
|
|
446
446
|
requiredMatrixNodeVersions: ['20', '22', '24'], // versions that MUST be present in testing matrix
|
|
447
|
-
recommendedMatrixNodeVersions: ['
|
|
447
|
+
recommendedMatrixNodeVersions: ['22', '24', '26'], // recommended versions that SHOULD be added to testing matrix
|
|
448
448
|
|
|
449
449
|
// Required operating systems for the adapter-tests matrix
|
|
450
450
|
requiredOsMatrix: ['ubuntu-latest', 'windows-latest', 'macos-latest'],
|
package/package.json
CHANGED