@iobroker/repochecker 3.5.4 → 3.5.6
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 +12 -0
- package/lib/M000_PackageJson.js +3 -3
- package/lib/M100_IOPackageJson.js +3 -5
- package/lib/common.js +1 -0
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -33,7 +33,19 @@ npx @iobroker/repochecker https://github.com/ioBroker/ioBroker.javascript --loca
|
|
|
33
33
|
-->
|
|
34
34
|
|
|
35
35
|
## Changelog
|
|
36
|
+
### 3.5.6 (2025-05-17)
|
|
37
|
+
|
|
38
|
+
- (mcm1957) add authorization for github using OWN_GITHUB_TOKEN.
|
|
39
|
+
|
|
40
|
+
### 3.5.5 (2025-04-28)
|
|
41
|
+
|
|
42
|
+
- (mcm1957) Node.js 20 is suggested now.
|
|
43
|
+
- (mcm1957) Suggested release for several packages has been encreased.
|
|
44
|
+
- (mcm1957) Do not raise E186 if E190 is raised anyway. [#387]
|
|
45
|
+
- (mcm1957) Dependencies have been updated.
|
|
46
|
+
|
|
36
47
|
### 3.5.4 (2025-03-03)
|
|
48
|
+
|
|
37
49
|
- (mcm1957) Ignore boolean paramters when checking protectedNative/encryptedNative. [#395]
|
|
38
50
|
|
|
39
51
|
### 3.5.3 (2025-02-21)
|
package/lib/M000_PackageJson.js
CHANGED
|
@@ -16,7 +16,7 @@ const common = require('./common.js');
|
|
|
16
16
|
|
|
17
17
|
// node.js versions required and recommended
|
|
18
18
|
// Note: node version specify rules for engines clause and do NOT reflect the recommended node version for users
|
|
19
|
-
const recommendedNodeVersion = '
|
|
19
|
+
const recommendedNodeVersion = '20'; // This is the minimum node version that should be required at engines clause
|
|
20
20
|
const requiredNodeVersion = '18'; // This is the minimum node version that must be required at engines clause
|
|
21
21
|
|
|
22
22
|
// packages which must or should be required as dependencies
|
|
@@ -32,7 +32,7 @@ const dependenciesPackageJson = {
|
|
|
32
32
|
const devDependenciesPackageJson = {
|
|
33
33
|
'@iobroker/adapter-dev': {
|
|
34
34
|
required: '1.3.0',
|
|
35
|
-
recommended: '1.
|
|
35
|
+
recommended: '1.4.0',
|
|
36
36
|
onlyWWW: false,
|
|
37
37
|
optional: true,
|
|
38
38
|
suggested: true,
|
|
@@ -45,7 +45,7 @@ const devDependenciesPackageJson = {
|
|
|
45
45
|
},
|
|
46
46
|
'@iobroker/testing': {
|
|
47
47
|
required: '4.1.3',
|
|
48
|
-
recommended: '5.0.
|
|
48
|
+
recommended: '5.0.4',
|
|
49
49
|
onlyWWW: false,
|
|
50
50
|
alternatives: ['@iobroker/legacy-testing'],
|
|
51
51
|
},
|
|
@@ -172,12 +172,12 @@ async function checkIOPackageJson(context) {
|
|
|
172
172
|
if (context.ioPackageJson.encryptedNative && !Array.isArray(context.ioPackageJson.encryptedNative)) {
|
|
173
173
|
context.errors.push(`[E198] "encryptedNative" must be an array at io-package.json`);
|
|
174
174
|
valid = false;
|
|
175
|
-
}
|
|
175
|
+
}
|
|
176
176
|
|
|
177
177
|
if (context.ioPackageJson.protectedNative && !Array.isArray(context.ioPackageJson.protectedNative)) {
|
|
178
178
|
context.errors.push(`[E199] "protectedNative" must be an array at io-package.json`);
|
|
179
179
|
valid = false;
|
|
180
|
-
}
|
|
180
|
+
}
|
|
181
181
|
|
|
182
182
|
if (valid) {
|
|
183
183
|
for (const key of context.ioPackageJson.encryptedNative || []) {
|
|
@@ -189,7 +189,6 @@ async function checkIOPackageJson(context) {
|
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
for (const key of context.ioPackageJson.protectedNative || []) {
|
|
192
|
-
console.log('juhu2a');
|
|
193
192
|
if (!(context.ioPackageJson.encryptedNative && context.ioPackageJson.encryptedNative.includes(key))) {
|
|
194
193
|
context.warnings.push(
|
|
195
194
|
`[S194] Consider adding protected native "${key}" to "encryptedNative" in io-package.json`,
|
|
@@ -867,7 +866,7 @@ async function checkIOPackageJson(context) {
|
|
|
867
866
|
}
|
|
868
867
|
} else {
|
|
869
868
|
if (requireAdmin) {
|
|
870
|
-
context.errors.push(`[E186] "common.globalDependencies" must be an array at io-package.json`);
|
|
869
|
+
// context.errors.push(`[E186] "common.globalDependencies" must be an array at io-package.json`);
|
|
871
870
|
if (requiredAdminVersion !== recommendedAdminVersion) {
|
|
872
871
|
context.errors.push(
|
|
873
872
|
`[E190] admin dependency missing. admin ${requiredAdminVersion} is required as minimum, ${recommendedAdminVersion} is recommended. Please add to dependencies at io-package.json.`,
|
|
@@ -1167,4 +1166,3 @@ exports.checkIOPackageJson = checkIOPackageJson;
|
|
|
1167
1166
|
// [197] External icon ${context.ioPackageJson.common.extIcon} cannot be parsed
|
|
1168
1167
|
// [198] "common.encryptedNative" must be an array at io-package.json
|
|
1169
1168
|
// [199] "common.protectedNative" must be an array at io-package.json
|
|
1170
|
-
|
package/lib/common.js
CHANGED
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "3.5.
|
|
2
|
+
"version": "3.5.6",
|
|
3
3
|
"name": "@iobroker/repochecker",
|
|
4
|
-
"devDependencies": {
|
|
5
|
-
"@alcalzone/release-script": "^3.8.0",
|
|
6
|
-
"@iobroker/eslint-config": "^1.0.0",
|
|
7
|
-
"@tsconfig/node20": "^20.1.4",
|
|
8
|
-
"@types/node": "^22.13.7",
|
|
9
|
-
"@types/semver": "^7.5.8"
|
|
10
|
-
},
|
|
11
4
|
"dependencies": {
|
|
12
|
-
"axios": "^1.
|
|
5
|
+
"axios": "^1.8.4",
|
|
13
6
|
"compare-versions": "^6.1.1",
|
|
14
7
|
"image-size": "^1.2.0",
|
|
15
8
|
"json5": "^2.2.3",
|
|
16
9
|
"semver": "^7.7.1",
|
|
17
10
|
"unzipper": "^0.12.3"
|
|
18
11
|
},
|
|
12
|
+
"devDependencies": {
|
|
13
|
+
"@alcalzone/release-script": "^3.8.0",
|
|
14
|
+
"@iobroker/eslint-config": "^2.0.1",
|
|
15
|
+
"@tsconfig/node20": "^20.1.5",
|
|
16
|
+
"@types/node": "^22.15.3",
|
|
17
|
+
"@types/semver": "^7.7.0"
|
|
18
|
+
},
|
|
19
19
|
"publishConfig": {
|
|
20
20
|
"access": "public"
|
|
21
21
|
},
|