@iobroker/repochecker 5.17.0 → 5.17.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 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.17.2 (2026-05-30)
29
+
30
+ - (mcm1957) False positive when searching copyright line at README.md fixed.
31
+
32
+ ### 5.17.1 (2026-05-30)
33
+
34
+ - (mcm1957) Disable [E6031] Changelog section in README.md is missing entry/entries.
35
+
28
36
  ### 5.17.0 (2026-05-30)
29
37
 
30
38
  - (mcm1957) jsonConfig component oauth2 added.
@@ -427,15 +427,16 @@ async function checkReadme(context) {
427
427
  context.checks.push(`README.md changelog contains io-package.json version ${currentIoPackageVersion}`);
428
428
  }
429
429
 
430
- const newsVersions = Object.keys(context.ioPackageJson?.common?.news || {}).map(normalizeVersion);
431
- const missingNewsVersions = newsVersions.filter(version => version && !changelogVersions.includes(version));
432
- if (missingNewsVersions.length > 0) {
433
- context.errors.push(
434
- `[E6031] Changelog section in README.md is missing entry/entries for version(s) from io-package.json news: ${missingNewsVersions.join(', ')}.`,
435
- );
436
- } else if (newsVersions.length > 0) {
437
- context.checks.push('README.md changelog contains all versions from io-package.json news');
438
- }
430
+ // some changelogs might be moved into CHANGELOG_OLD already...
431
+ // const newsVersions = Object.keys(context.ioPackageJson?.common?.news || {}).map(normalizeVersion);
432
+ // const missingNewsVersions = newsVersions.filter(version => version && !changelogVersions.includes(version));
433
+ // if (missingNewsVersions.length > 0) {
434
+ // context.errors.push(
435
+ // `[E6031] Changelog section in README.md is missing entry/entries for version(s) from io-package.json news: ${missingNewsVersions.join(', ')}.`,
436
+ // );
437
+ // } else if (newsVersions.length > 0) {
438
+ // context.checks.push('README.md changelog contains all versions from io-package.json news');
439
+ // }
439
440
 
440
441
  if (/\[[^\]]*changelog[^\]]*\]\([^)\n]*changelog\.md[^)\n]*\)/i.test(changelogSection)) {
441
442
  context.warnings.push(
@@ -496,7 +497,7 @@ async function checkReadme(context) {
496
497
  const commitYear = context.lastCommitYear || 0;
497
498
  const readmeYear = getMaxYearFromText(text);
498
499
 
499
- if (!/^Copyright\s+\(c\)\s+\d{4}(?:-\d{4})?\s+.+$/im.test(text)) {
500
+ if (!/^Copyright\s+\(c\)\s+\d{4}(?:-\d{4})?,?\s+.+$/im.test(text)) {
500
501
  context.errors.push(
501
502
  '[E6033] "## License" section in README.md must contain a copyright line like "Copyright (c) 2026 iobroker-community-adapters".',
502
503
  );
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.17.0",
2
+ "version": "5.17.2",
3
3
  "name": "@iobroker/repochecker",
4
4
  "dependencies": {
5
5
  "ajv": "^8.20.0",
@@ -12,8 +12,8 @@
12
12
  "semver": "^7.7.4"
13
13
  },
14
14
  "devDependencies": {
15
- "@alcalzone/release-script": "^5.1.1",
16
- "@iobroker/eslint-config": "^2.2.0",
15
+ "@alcalzone/release-script": "^5.2.0",
16
+ "@iobroker/eslint-config": "^2.3.4",
17
17
  "@tsconfig/node20": "^20.1.9",
18
18
  "@types/node": "^22.19.17",
19
19
  "@types/semver": "^7.7.1"