@iobroker/repochecker 5.19.6 → 5.19.8

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 CHANGED
@@ -25,6 +25,14 @@ Example:
25
25
  Placeholder for the next version (at the beginning of the line):
26
26
  ### **WORK IN PROGRESS**
27
27
  -->
28
+ ### 5.19.8 (2026-07-04)
29
+
30
+ - (mcm1957) more check for package.json lifecycle scripts
31
+
32
+ ### 5.19.7 (2026-07-04)
33
+
34
+ - (mcm1957) workflow logs have been fixed
35
+
28
36
  ### 5.19.6 (2026-07-01)
29
37
 
30
38
  - (mcm1957) false positive related to workflow logs has been fixed
@@ -924,9 +924,12 @@ async function checkPackageJson(context) {
924
924
  context.checks.push('"lint" script found in package.json');
925
925
  }
926
926
  if (context.packageJson.scripts && typeof context.packageJson.scripts === 'object') {
927
- if (Object.prototype.hasOwnProperty.call(context.packageJson.scripts, 'preinstall')) {
927
+ const warningInstallScripts = ['prepare', 'preinstall'].filter(scriptName =>
928
+ Object.prototype.hasOwnProperty.call(context.packageJson.scripts, scriptName),
929
+ );
930
+ if (warningInstallScripts.length) {
928
931
  context.warnings.push(
929
- '[W0092] "preinstall" script found in package.json. Usage of npm install lifecycle scripts should be avoided.',
932
+ `[W0092] Script(s) ${warningInstallScripts.map(scriptName => `"${scriptName}"`).join(', ')} found in package.json. Usage of npm install lifecycle scripts should be avoided.`,
930
933
  );
931
934
  }
932
935
 
@@ -54,6 +54,7 @@ const mapSeverity4New = {
54
54
  W0063: 'E', // [W0063] "@types/mocha, mocha, @types/sinon, sinon"
55
55
  W0028: 'E', // [W0028] Minimum node.js version 22 recommended.
56
56
  W0040: 'E', // [W0040] "keywords" within package.json should contain "ioBroker"
57
+ W0092: 'E', // [W0092] Script(s) "prepare" found in package.json. Usage of npm install lifecycle scripts should be avoided.
57
58
  W1027: 'E', // [W1027] Missing suggested translation into ru,pt,nl,fr,it,es,pl,uk,zh-cn of "common.titleLang"
58
59
  W1032: 'E', // [W1032] Many "common.news" found in io-package.json
59
60
  W1034: 'E', // [W1034] Missing suggested translation into ru,pt,nl,fr,it,es,pl,uk,zh-cn of "common.desc"
@@ -67,7 +68,9 @@ const mapSeverity4New = {
67
68
  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.
68
69
  W3027: 'E', // [W3027] Workflow "test-and-release.yml": job "adapter-tests" OS matrix is missing: windows-latest, macos-latest. Consider adding tests for all of: ubuntu-latest, windows-latest, macos-latest
69
70
  W3049: 'E', // [W3049] Workflow "test-and-release.yml": job "adapter-tests" step using "ioBroker/testing-action-adapter" specifies "integration-test-command". This command should not be changed; the default value should be used.
71
+ S3051: 'E', // [S3051] "test-and-release.yml": "testing-action-check" in run #344 does not log the expected defaults for "npm run test:package". Please check the log
70
72
  S3053: 'E', // [S3053] "test-and-release.yml": "testing-action-adapter" job "adapter-tests (22.x, macos-latest)" in [run #333](https://github.com/mosandlt/ioBroker.bosch-smart-home-camera/actions/runs/28146512000) does not log the expected defaults for "npm run test:integration". Please check the [log](https://github.com/mosandlt/ioBroker.bosch-smart-home-camera/actions/runs/28146512000/job/83354759586).
73
+ W3051: 'E', // [S3051] "test-and-release.yml": "testing-action-check" in run #344 does not log the expected defaults for "npm run test:package". Please check the log
71
74
  W3053: 'E', // [S3053] "test-and-release.yml": "testing-action-adapter" job "adapter-tests (22.x, macos-latest)" in [run #333](https://github.com/mosandlt/ioBroker.bosch-smart-home-camera/actions/runs/28146512000) does not log the expected defaults for "npm run test:integration". Please check the [log](https://github.com/mosandlt/ioBroker.bosch-smart-home-camera/actions/runs/28146512000/job/83354759586).
72
75
  W5018: 'E', // [W5018] "@alcalzone/release-script" (>=3.0.0) is used, but ".releaseconfig.json" not found. Please create.',
73
76
  W5512: 'E', // [W5512] admin/jsonConfig.json schema validation error: ...
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
- "version": "5.19.6",
2
+ "version": "5.19.8",
3
3
  "name": "@iobroker/repochecker",
4
4
  "dependencies": {
5
5
  "ajv": "^8.20.0",
6
- "axios": "^1.16.0",
6
+ "axios": "^1.18.1",
7
7
  "compare-versions": "^6.1.1",
8
8
  "image-size": "^1.2.0",
9
9
  "js-yaml": "^4.1.1",