@iobroker/repochecker 5.22.14 → 5.22.16

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
@@ -56,6 +56,12 @@ 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.16 (2026-10-13)
60
+ * (@mcm1957) Fixed false positive [E6025] when README.md contains `#` headings inside fenced code blocks.
61
+
62
+ ### 5.22.15 (2026-10-12)
63
+ * (mcm1957) src-blockly added to source directories excluded from E9507 / E9506 (missing i18n files) check
64
+
59
65
  ### 5.22.14 (2026-10-12)
60
66
  * (mcm1957) E2004 (news version not on NPM) downgraded to W2004 with updated message
61
67
 
@@ -375,7 +375,10 @@ async function checkReadme(context) {
375
375
  context.errors.push('[E6001] No README.md found');
376
376
  } else {
377
377
  context.checks.push('README.md found');
378
- const h1Headers = [...data.matchAll(MARKDOWN_H1_REGEX)];
378
+ // Strip fenced code blocks (``` ... ```) before counting H1 headers to avoid false positives
379
+ // from lines like "# heading" inside code examples.
380
+ const dataWithoutCodeBlocks = data.replace(/^`{3,}[\s\S]*?^`{3,}/gm, '');
381
+ const h1Headers = [...dataWithoutCodeBlocks.matchAll(MARKDOWN_H1_REGEX)];
379
382
  if (h1Headers.length !== 1) {
380
383
  context.errors.push(
381
384
  `[E6025] README.md must contain exactly one H1 heading, but found ${h1Headers.length}.`,
@@ -33,6 +33,7 @@ const SRC_DIRS_TO_IGNORE = [
33
33
  'src-widgets',
34
34
  'src-chart',
35
35
  'src-preview',
36
+ 'src-blockly', // javascript adapter blockly editor
36
37
  'admin-src',
37
38
  'rules-src',
38
39
  'admin/src',
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.22.14",
2
+ "version": "5.22.16",
3
3
  "name": "@iobroker/repochecker",
4
4
  "dependencies": {
5
5
  "ajv": "^8.20.0",