@iobroker/repochecker 5.3.2 → 5.4.1

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,7 +25,10 @@ Example:
25
25
  Placeholder for the next version (at the beginning of the line):
26
26
  ### **WORK IN PROGRESS**
27
27
  -->
28
- ### 5.3.2 (2026-03-11)
28
+ ### 5.4.1 (2026-03-13)
29
+ - (mcm197) E3008 has been fixed
30
+
31
+ ### 5.4.0 (2026-03-11)
29
32
  - (@copilot) OnlyWWW adapters no longer require testing dependencies or adapter test workflows (skips E3000, E3011, and W3015 checks for adapters with `common.onlyWWW = true`).
30
33
 
31
34
  ### 5.3.0 (2026-03-11)
@@ -147,7 +147,7 @@ const blacklistedDependenciesPackageJson = {
147
147
  ...blacklistedAllDependenciesPackageJson,
148
148
 
149
149
  '@iobroker/adapter-core': {
150
- msg: "'@iobroker/adapter-core' seems to be obsolete as dependency at package.json as 'common.onlyWWW' is set to true.",
150
+ msg: "'dependency @iobroker/adapter-core' seems to be obsolete as 'common.onlyWWW' is set to true.",
151
151
  err: false,
152
152
  onlyWWW: true,
153
153
  },
@@ -1094,7 +1094,7 @@ async function checkPackageJson(context) {
1094
1094
  } else if (optional) {
1095
1095
  context.checks.push(`devDependency ${dependency} is optional`);
1096
1096
  if (suggested) {
1097
- context.warnings.push(`[S0062] Consider adding package "${dependency}".`);
1097
+ context.warnings.push(`[S0062] Consider adding and using package "${dependency}".`);
1098
1098
  }
1099
1099
  } else {
1100
1100
  context.errors.push(
@@ -180,7 +180,7 @@ async function checkTests(context) {
180
180
  }
181
181
 
182
182
  // E3008: check push tags
183
- const tags = pushConfig.tags.map( tag => tag.replaceAll('v?', 'v'));
183
+ const tags = pushConfig.tags;
184
184
  const requiredTagPatterns = ['v[0-9]+.[0-9]+.[0-9]+', 'v[0-9]+.[0-9]+.[0-9]+-**'];
185
185
  if (!tags || !Array.isArray(tags)) {
186
186
  context.errors.push(
@@ -188,7 +188,8 @@ async function checkTests(context) {
188
188
  `Required tag patterns: ${requiredTagPatterns.join(', ')}`,
189
189
  );
190
190
  } else {
191
- const missingPatterns = requiredTagPatterns.filter(pat => !tags.includes(pat));
191
+ const cleanedTags = pushConfig.tags.map( tag => tag.replaceAll('v?', 'v'));
192
+ const missingPatterns = requiredTagPatterns.filter(pat => !cleanedTags.includes(pat));
192
193
  if (missingPatterns.length > 0) {
193
194
  context.errors.push(
194
195
  `[E3008] Workflow "${WORKFLOW_FILE}": "push" trigger "tags" is missing required pattern(s): ${missingPatterns.join(', ')}`,
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.3.2",
2
+ "version": "5.4.1",
3
3
  "name": "@iobroker/repochecker",
4
4
  "dependencies": {
5
5
  "ajv": "^8.18.0",