@iobroker/repochecker 5.22.8 → 5.22.10
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 -7
- package/lib/M5000_Code.js +1 -0
- package/lib/config.js +2 -2
- package/package.json +3 -3
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.22.10 (2026-10-04)
|
|
60
|
+
|
|
61
|
+
* (mcm1957) src-devices directory is now excluded from source code checks like src-admin
|
|
62
|
+
|
|
63
|
+
### 5.22.9 (2026-10-02)
|
|
64
|
+
|
|
65
|
+
* (mcm1957) drop node 20
|
|
66
|
+
|
|
59
67
|
### 5.22.8 (2026-09-28)
|
|
60
68
|
|
|
61
69
|
* (mcm1957) adapt older changelog titles
|
package/lib/M0000_PackageJson.js
CHANGED
|
@@ -21,8 +21,8 @@ const specialAdapters = [
|
|
|
21
21
|
/*'admin', 'backitup', 'javascript', 'js-controller'*/
|
|
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
|
-
let requiredNodeVersion = '
|
|
25
|
-
const minimumNodeVersion = '
|
|
24
|
+
let requiredNodeVersion = '22'; // This is the minimum node version that must be required at engines clause
|
|
25
|
+
const minimumNodeVersion = '22'; // 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: '6.2.1',
|
|
126
126
|
recommended: '6.2.2',
|
|
127
|
-
actual: '6.
|
|
127
|
+
actual: '6.3.0',
|
|
128
128
|
onlyWWW: false,
|
|
129
129
|
alternatives: ['@iobroker/legacy-testing'],
|
|
130
130
|
},
|
|
@@ -1264,7 +1264,7 @@ async function checkPackageJson(context) {
|
|
|
1264
1264
|
|
|
1265
1265
|
// Default to Node.js 20 if no engines clause was found for non-WWW adapters
|
|
1266
1266
|
if (minimumNodeJsSupported === null && !context.cfg.onlyWWW) {
|
|
1267
|
-
minimumNodeJsSupported = '
|
|
1267
|
+
minimumNodeJsSupported = '22.0.0'; // ensure valid semver
|
|
1268
1268
|
}
|
|
1269
1269
|
|
|
1270
1270
|
// Apply conditional requirements based on dependencies present in package.json
|
|
@@ -1538,7 +1538,7 @@ async function checkPackageJson(context) {
|
|
|
1538
1538
|
if (!extendsMatch || !extendsMatch.groups.extendsPath) {
|
|
1539
1539
|
if (context.cfg.isNewAdapter) {
|
|
1540
1540
|
context.warnings.push(
|
|
1541
|
-
'[S0088] "/tsconfig.json" should contain an extends clause like "extends": "@tsconfig/
|
|
1541
|
+
'[S0088] "/tsconfig.json" should contain an extends clause like "extends": "@tsconfig/node22/tsconfig.json" (see ioBroker.examples).',
|
|
1542
1542
|
);
|
|
1543
1543
|
}
|
|
1544
1544
|
} else {
|
|
@@ -1547,7 +1547,7 @@ async function checkPackageJson(context) {
|
|
|
1547
1547
|
if (!extendsTsConfigNodeMatch) {
|
|
1548
1548
|
if (context.cfg.isNewAdapter) {
|
|
1549
1549
|
context.warnings.push(
|
|
1550
|
-
'[S0088] "/tsconfig.json" should use an extends clause like "extends": "@tsconfig/
|
|
1550
|
+
'[S0088] "/tsconfig.json" should use an extends clause like "extends": "@tsconfig/node22/tsconfig.json" (see ioBroker.examples).',
|
|
1551
1551
|
);
|
|
1552
1552
|
}
|
|
1553
1553
|
} else {
|
|
@@ -2154,7 +2154,7 @@ exports.validateReleaseFormat = validateReleaseFormat;
|
|
|
2154
2154
|
// [S0085] No devDependency "@tsconfig/nodeXX" found. Consider adding one for proper type checking (see ioBroker.examples for examples).
|
|
2155
2155
|
// [W0086] "${tsConfigNodeDevDependencyName}" should match the major node.js version from package.json engines.node (>=${minMajor}). Please update @tsconfig/nodeXX at package.json.
|
|
2156
2156
|
// [S0087] Missing "/tsconfig.json". Consider adding it for proper type checking (see ioBroker.examples for examples).
|
|
2157
|
-
// [S0088] "/tsconfig.json" should use an extends clause like "extends": "@tsconfig/
|
|
2157
|
+
// [S0088] "/tsconfig.json" should use an extends clause like "extends": "@tsconfig/node22/tsconfig.json" (see ioBroker.examples).
|
|
2158
2158
|
// [W0089] "/tsconfig.json" extends "${extendsPath}" but package.json uses "${tsConfigNodeDevDependencyName}". Please update/downgrade the devDependency to match the extends package.
|
|
2159
2159
|
// [W0090] "/tsconfig.json" should be adjusted to match "${tsConfigNodeDevDependencyName}" (for example: "extends": "${tsConfigNodeDevDependencyName}/tsconfig.json").
|
|
2160
2160
|
// [E0091] Could not read "/tsconfig.json": ${e.message || e}
|
package/lib/M5000_Code.js
CHANGED
package/lib/config.js
CHANGED
|
@@ -442,8 +442,8 @@ const testingNodeJs = {
|
|
|
442
442
|
|
|
443
443
|
// Node.js versions for the adapter-tests matrix
|
|
444
444
|
// older versions disallowed by engines clause are removed automatically
|
|
445
|
-
validMatrixNodeVersions: ['
|
|
446
|
-
requiredMatrixNodeVersions: ['
|
|
445
|
+
validMatrixNodeVersions: ['22', '24', '26', '27'], // valid versions to use in testing matrix
|
|
446
|
+
requiredMatrixNodeVersions: ['22', '24', '26'], // versions that MUST be present in testing matrix
|
|
447
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
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "5.22.
|
|
2
|
+
"version": "5.22.10",
|
|
3
3
|
"name": "@iobroker/repochecker",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"ajv": "^8.20.0",
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"compare-versions": "^6.1.1",
|
|
8
8
|
"dotenv": "^17.4.2",
|
|
9
9
|
"image-size": "^1.2.0",
|
|
10
|
-
"js-yaml": "^5.4.
|
|
10
|
+
"js-yaml": "^5.4.2",
|
|
11
11
|
"json5": "^2.2.3",
|
|
12
12
|
"minimatch": "^10.2.6",
|
|
13
13
|
"semver": "^7.8.5"
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"@alcalzone/release-script": "^5.2.1",
|
|
17
17
|
"@iobroker/eslint-config": "^2.3.4",
|
|
18
18
|
"@tsconfig/node20": "^20.1.10",
|
|
19
|
-
"@types/node": "^26.
|
|
19
|
+
"@types/node": "^26.6.3",
|
|
20
20
|
"@types/semver": "^7.8.0"
|
|
21
21
|
},
|
|
22
22
|
"repository": {
|