@iobroker/repochecker 5.11.0 → 5.12.0
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 +127 -5
- package/index.js +4 -0
- package/lib/M0000_PackageJson.js +83 -2
- package/lib/M1000_IOPackageJson.js +39 -0
- package/lib/M3000_Testing.js +518 -13
- package/lib/M5000_Code.js +77 -5
- package/lib/M6000_Readme.js +19 -0
- package/lib/M8900__Dependabot.js +166 -0
- package/lib/config.js +23 -0
- package/lib/postprocessing.js +6 -3
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -25,24 +25,58 @@ Example:
|
|
|
25
25
|
Placeholder for the next version (at the beginning of the line):
|
|
26
26
|
### **WORK IN PROGRESS**
|
|
27
27
|
-->
|
|
28
|
+
### 5.12.0 (2026-05-20)
|
|
29
|
+
|
|
30
|
+
- (@copilot) Added `[S6022]`: suggest adding a link to `CHANGELOG_OLD.md` in `README.md` when the file exists but no reference to it is found in the readme.
|
|
31
|
+
- (@copilot) Extended `@types/node` version checks (`W0066`, `S0067`, `E0068`) to cover all dependency types (`dependencies`, `devDependencies`, `optionalDependencies`), not just `devDependencies`. Defaults to Node.js 20 when no `engines` clause is present. Fixed `context.error.push` typo bug and `0;` no-op in `S0065` check. Related to #855.
|
|
32
|
+
- (@copilot) Added workflow run tagging checks in `M3000_Testing.js`: validates latest `test-and-release.yml` run status, verifies GitHub tags for current/package and npm (`latest` and newest) releases, and checks tag-triggered workflow run outcomes with clickable run links.
|
|
33
|
+
- (@copilot) Extended testing workflow checks to use configurable required action versions (`ioBroker/testing-action-check`, `ioBroker/testing-action-adapter`, `ioBroker/testing-action-deploy`) and warn when lower action versions are used.
|
|
34
|
+
- (@copilot) Split non-matrix node.js minimum/recommended thresholds into dedicated values for `check-and-lint` and `deploy` workflow jobs.
|
|
35
|
+
- (@copilot) Changed deploy trusted-publishing permission check from warning `W3018` to suggestion `S3018`.
|
|
36
|
+
- (@copilot) Added node.js version checks for `check-and-lint` (E3020, S3021) and `deploy` (E3022, S3023) jobs in `test-and-release.yml`, raising an error if below minimum and a suggestion if below recommended version. Minimum/recommended values are adjusted upward if the adapter's `engines:node` clause requires a higher version.
|
|
37
|
+
- (@copilot) Added checks for `adapter-tests` matrix: warns (W3024) about non-recommended node versions, errors (E3025) when required node versions are missing, warns (W3026) when recommended node versions are absent, and warns (W3027) when OS entries (`ubuntu-latest`, `windows-latest`, `macos-latest`) are missing from the matrix.
|
|
38
|
+
- (@copilot) Added `testingNodeJs` constants to `lib/config.js` for configuring node.js version requirements and OS requirements for `test-and-release.yml` checks.
|
|
39
|
+
- (@copilot) Added `[W1116]`: warn when the sentry plugin is configured in `common.plugins` of io-package.json but `@sentry/*` packages are listed as `dependencies` in package.json (explicit sentry dependencies are not needed when using the sentry plugin).
|
|
40
|
+
- (@copilot) Added `[S5051]`: suggest using `this.delay()` instead of custom `sleep`/`wait` function implementations found in adapter source files.
|
|
41
|
+
- (@mcm1957) Require node.js 20 and recommedn node.js 22 now
|
|
42
|
+
- (@copilot) Fixed `GLOBAL ERROR: TypeError: Cannot read properties of undefined (reading 'includes')` in `checkCode` when running in local mode (`--local`).
|
|
43
|
+
- (@copilot) CLI now exits with code `1` when errors are found, enabling use in command chains like `npx @iobroker/repochecker repo --local && npm run release`.
|
|
44
|
+
- (@copilot) Added `[W8918]`: warn when any workflow in `.github/workflows/` references an action from `iobroker`, `iobroker-community-adapters`, or `iobroker-bot-orga` without a versioned tag (e.g. `@main` or `@master`). [#851]
|
|
45
|
+
- (@copilot) Added `[S0065]`/`[W0066]`/`[S0067]`: check `@types/node` devDependency against the minimum Node.js version from the `engines` clause in package.json. Suggests adding it if missing, warns if it allows a higher major version, and suggests updating if it only covers lower versions.
|
|
46
|
+
- (@copilot) Fixed `[W0066]` `@types/node` semver check to correctly detect ranges that allow any higher major version (e.g. `^24.10.1` with min Node.js 20 now raises the warning as expected).
|
|
47
|
+
- (@copilot) Added [E5049]/[W5049]: scan source files for `process.env` usage. Reports an error when `common.compact` is `true` or not defined (compact mode incompatible), and a warning when `common.compact` is explicitly `false`.
|
|
48
|
+
- (@copilot) Added [E5050]/[W5050]: scan source files for `process.exit()` calls. Reports an error when `common.compact` is `true` or not defined (incompatible with compact mode), and a warning when `common.compact` is explicitly `false`.
|
|
49
|
+
- (@copilot) Warn when dependabot npm root entries do not ignore major or minor @types/node updates.
|
|
50
|
+
- (@copilot) Added `[W6021]`: warn when `## License` is not the last section in README.md.
|
|
51
|
+
- (@copilot) Added `[W1115]`: warn when a plugin listed in `common.plugins` of io-package.json is missing its corresponding `@iobroker/plugin-<name>` dependency in package.json.
|
|
52
|
+
|
|
53
|
+
### 5.11.1 (2026-04-25)
|
|
54
|
+
|
|
55
|
+
- (@ticaki) Local mode has been fixed.
|
|
56
|
+
|
|
28
57
|
### 5.11.0 (2026-04-21)
|
|
58
|
+
|
|
29
59
|
- (@copilot) Added `[W2007]`: warn when the npm `latest` dist-tag points to an alpha/pre-release version, as such releases will be ignored by repository updates.
|
|
30
60
|
- (@copilot) Added `lib/postprocessing.js` module: new adapters (where `isNewAdapter` is set) now have selected warnings and suggestions promoted to errors or warnings according to a configurable severity-remap table, making the checker stricter for new adapter submissions.
|
|
31
61
|
- (@copilot) Fixed adapter detection to ensure the `isNewAdapter` flag is set before configuration logging. Added a new `getLatestRepo` preprocessing step so that the flag is correctly visible in the environment log output.
|
|
32
62
|
- (@copilot) Added German translation of OBJECTDUMP.md as OBJECTDUMP_de.md.
|
|
33
63
|
|
|
34
64
|
### 5.10.4 (2026-04-12)
|
|
65
|
+
|
|
35
66
|
- (@copilot) Enhanced E6013 check: detects additional discouraged installation methods in README.md, including `iobroker`/`iob` npm install and url commands, and `npm install`/`npm i` with `owner/iobroker.adaptername` GitHub shorthand. Updated error message to mention "directly from GitHub, directly from npm or using npm commands".
|
|
36
67
|
|
|
37
68
|
### 5.10.3 (2026-04-11)
|
|
69
|
+
|
|
38
70
|
- (@copilot) Fixed false positive W5042 for TypeScript type-only imports: `import type { Foo } from 'pkg'` no longer registers `pkg` as a required runtime dependency. Related to [#833]
|
|
39
71
|
|
|
40
72
|
### 5.10.2 (2026-04-11)
|
|
73
|
+
|
|
41
74
|
- (@copilot) Fixed false positive `[E9507]` for i18n directories inside source directories (`src-rules`, `rules-src`, `src-editor`, `src-widgets`, `admin/src`, etc.) by expanding the ignored source directory list and checking the full parent path instead of only the top-level segment. Related to [#828].
|
|
42
75
|
- (@copilot) Added adapter-specific exceptions to E0050 blacklist: `@iobroker/plugin-sentry` is now allowed as a dependency for `ioBroker.javascript`.
|
|
43
76
|
- (@copilot) Added system-provided packages ignore list for W5042: `@iobroker/plugin-sentry` will no longer raise "dependency might be missing" warnings as it is provided by js-controller.
|
|
44
77
|
|
|
45
78
|
### 5.10.1 (2026-04-10)
|
|
79
|
+
|
|
46
80
|
- (@copilot) Fixed `TypeError: minimatch is not a function` in `checkNpmIgnore` by correctly destructuring `minimatch` from the `minimatch` v10+ package export.
|
|
47
81
|
- (@copilot) Added `minimatch` as an explicit dependency in `package.json` (used by `M9000_GitNpmIgnore.js` for glob pattern matching).
|
|
48
82
|
- (@copilot) Fixed false positives in `[E9507]` when i18n directories are covered by glob patterns in `package.json` `"files"` field.
|
|
@@ -51,23 +85,28 @@ Example:
|
|
|
51
85
|
- (@copilot) Added `[E9507]`: error when an i18n directory is present in the repository but not covered by the `"files"` field in `package.json`, which would cause translations to be missing from the npm package.
|
|
52
86
|
|
|
53
87
|
### 5.9.1 (2026-04-08)
|
|
88
|
+
|
|
54
89
|
- (@copilot) Added `isNewAdapter` flag: set to `true` when adapter is not listed in the latest repository, with an info log when set.
|
|
55
90
|
- (@copilot) Added `--strict` command line option: when active, outputs an info log "running in strict mode".
|
|
56
91
|
- (@copilot) `[S6020]` suggestion to add `CHANGELOG_OLD.md` is now only shown when `isNewAdapter` is set or strict mode is active.
|
|
57
92
|
|
|
58
93
|
### 5.9.0 (2026-04-08)
|
|
94
|
+
|
|
59
95
|
- (@copilot) Added checks W1114/S1114: warn when `common.schedule` is set to a non-empty value for daemon adapters (not supported), and suggest removal when `common.schedule` is an empty string for daemon adapters (unused). Related to [#806].
|
|
60
96
|
- (@copilot) Added checks to help maintain organized changelog files: warns when CHANGELOG.md is present (changelog belongs in README.md), when both CHANGELOG.md and CHANGELOG_OLD.md coexist, when the README changelog exceeds 20 entries without a CHANGELOG_OLD.md, and suggests adding CHANGELOG_OLD.md when no such file exists. [W6017, W6018, W6019, S6020]
|
|
61
97
|
|
|
62
98
|
### 5.8.0 (2026-04-07)
|
|
99
|
+
|
|
63
100
|
- (@copilot) Limit the listing of `allowedValues` in schema validation errors (E1105, W5512) to 5 values, appending `...` when there are more possibilities.
|
|
64
101
|
- (@copilot) [W5046] Added warning when `admin/jsonConfig.json` or `admin/jsonConfig.json5` is present but `common.adminUI.config` is not set to `"json"` in `io-package.json`.
|
|
65
102
|
- (@copilot) [W5047] Added warning listing obsolete files (`admin/index.html`, `admin/index_m.html`, `admin/style.css`) when jsonConfig is used.
|
|
66
103
|
|
|
67
104
|
### 5.7.1 (2026-04-07)
|
|
105
|
+
|
|
68
106
|
- (mcm1957) Improve jsonConfig schema validation messages.
|
|
69
107
|
|
|
70
108
|
### 5.7.0 (2026-04-06)
|
|
109
|
+
|
|
71
110
|
- (@copilot) [S8913] automerge suggestion is no longer shown when dependabot is not configured ([S8901]).
|
|
72
111
|
- (@copilot) Language detection: `GERMAN_WORDS` and `ENGLISH_WORDS` arrays sorted alphabetically; chapters titled "Haftungsausschluss" in README.md are now ignored when checking for German text.
|
|
73
112
|
- (@copilot) Added [W8915]: warn when a dependabot npm entry has no cooldown or a cooldown of less than 5 days configured, recommending at least 7 days to reduce supply chain risk.
|
|
@@ -76,18 +115,23 @@ Example:
|
|
|
76
115
|
- (@copilot) Added schema validation for all present jsonConfig files (`admin/jsonConfig.json`, `admin/jsonCustom.json`, `admin/jsonTab.json` and their `.json5` variants) against the official jsonConfig JSON schema; errors reported as E5512, schema download failures as W5513, and exceptions as E5514. [#803]
|
|
77
116
|
|
|
78
117
|
### 5.6.9 (2026-04-02)
|
|
118
|
+
|
|
79
119
|
- (mcm1957) Ignore "widgets" directory when scanning for imported packages.
|
|
80
120
|
|
|
81
121
|
### 5.6.7 (2026-04-02)
|
|
122
|
+
|
|
82
123
|
- (@copilot) Fixed false positive package detection in `extractImports`: dynamic imports like `import("pkg")` no longer incorrectly trigger the `import ... from ...` pattern, preventing values in log strings (e.g. `from 'force_full'`) from being mistaken for package names.
|
|
83
124
|
|
|
84
125
|
### 5.6.6 (2026-03-29)
|
|
126
|
+
|
|
85
127
|
- (mcm1957) Severity for [S3010] has been corrected.
|
|
86
128
|
|
|
87
129
|
### 5.6.5 (2026-03-27)
|
|
130
|
+
|
|
88
131
|
- (@copilot) Exclude `gulpfile.js` and `lib/tools.js` from W5042/S5043 dependency scanning; added easy-to-extend `excludedSourceFiles` and `excludedSourceRelPaths` Sets for future exclusions.
|
|
89
132
|
|
|
90
133
|
### 5.6.2 (2026-03-27)
|
|
134
|
+
|
|
91
135
|
- (@copilot) Suppress unwanted npm E404 error output when checking adapters that are not published on npm.
|
|
92
136
|
- (@copilot) Added E2006 error when an npm package has no published versions available, instead of silently skipping version checks.
|
|
93
137
|
- (@copilot) Handle unpublished npm packages: detect "Unpublished on ..." response from npm registry and report a specific E2000 error instead of the generic "not found" message; suppress raw npm error logs for unpublished packages in README/LICENSE year checks. [#766]
|
|
@@ -95,20 +139,25 @@ Example:
|
|
|
95
139
|
- (@copilot) Added W5042 and S5043 checks: source files (`*.js`, `*.mjs`, `*.cjs`, `*.ts`) are now scanned for `require`/`import` statements (excluding `admin/`, `doc/`, `src-admin/`, `test/` directories and `*.test.*`/`*.config.*` files). W5042 warns when an imported package is not listed in `dependencies` of `package.json`. S5043 suggests using the `node:` prefix when importing known Node.js built-in modules without it.
|
|
96
140
|
|
|
97
141
|
### 5.5.5 (2026-03-24)
|
|
142
|
+
|
|
98
143
|
- (mcm1957) remove '[S6014] README.md section "## Installation" should be removed unless the adapter requires special installation handling.'
|
|
99
144
|
|
|
100
145
|
### 5.5.4 (2026-03-22)
|
|
146
|
+
|
|
101
147
|
- (@copilot) Fixed E6015/W6016 false positives: German (and English) language detection now ignores fenced code blocks, inline code, blockquote lines, link URLs, and image markup before analyzing the README text.
|
|
102
148
|
|
|
103
149
|
### 5.5.3 (2026-03-19)
|
|
150
|
+
|
|
104
151
|
- (@copilot) Fixed E3016 false positive: transitive `needs` dependencies are now considered, so `deploy` depending on `adapter-tests` which already depends on `check-and-lint` is correctly accepted. Related to [#756].
|
|
105
152
|
- (@copilot) W5041 warning now includes the list of languages that contain the example keys (e.g. `languages: en, de, ru`).
|
|
106
153
|
|
|
107
154
|
### 5.5.2 (2026-03-17)
|
|
155
|
+
|
|
108
156
|
- (@copilot) E5040 and W5041 messages now include the specific detected key(s) (e.g. `option1`, `option2`, or both) instead of the generic `option1/option2` placeholder. Only one issue is raised even when multiple keys are detected.
|
|
109
157
|
- (@copilot) Fixed E1111/W1111 checks: E1111 and W1111 are now renamed to E5040 and W5041 (correct numbering range for M5000_Code module). Both checks now correctly exempt adapters where `option1`/`option2` keys are genuinely used in `admin/index.html`, `admin/index_m.html`, or as keys in `admin/jsonConfig.json`/`admin/jsonConfig.json5`. Related to [#746].
|
|
110
158
|
|
|
111
159
|
### 5.5.1 (2026-03-17)
|
|
160
|
+
|
|
112
161
|
- (@copilot) Added W5039 check: warns when `admin/words.js` exists but is not referenced anywhere in the codebase for adapters using jsonConfig. The file seems to be outdated and should be removed [#745].
|
|
113
162
|
- (@copilot) Added W3018 and W3019 checks: when deploy job uses `ioBroker/testing-action-deploy@v1`, warns if job-level permissions (`contents: write`, `id-token: write`) are missing (W3018) or if the `npm-token` parameter is specified (W3019), as trusted publishing will not work in either case. Related to [#742].
|
|
114
163
|
- (@copilot) Added W1113 check: warns when `native` config object contains properties but `common.adminUI.config` is set to `"none"`, as the native config will not be used without an admin UI config.
|
|
@@ -123,12 +172,15 @@ Example:
|
|
|
123
172
|
- (@copilot) Extended E6013 check: now also triggers on "Install the adapter via ioBroker Admin as a ZIP file" and "Install from own URL" phrases (case-insensitive). Related to [#727].
|
|
124
173
|
|
|
125
174
|
### 5.4.1 (2026-03-13)
|
|
175
|
+
|
|
126
176
|
- (mcm197) E3008 has been fixed
|
|
127
177
|
|
|
128
178
|
### 5.4.0 (2026-03-11)
|
|
179
|
+
|
|
129
180
|
- (@copilot) OnlyWWW adapters no longer require testing dependencies or adapter test workflows (skips E3000, E3011, and W3015 checks for adapters with `common.onlyWWW = true`).
|
|
130
181
|
|
|
131
182
|
### 5.3.0 (2026-03-11)
|
|
183
|
+
|
|
132
184
|
- (@copilot) Added validation for dependabot configuration: checks for required ecosystems (github-actions, npm), schedule settings, open-pull-requests-limit, and automerge workflow configuration (checks S8901–S8914).
|
|
133
185
|
- (@copilot) Extended W5034 check to also warn when `.ts` and `.js`/`.cjs`/`.mjs` versions of the same file exist in the same directory.
|
|
134
186
|
- (@copilot) E3003 YAML parse error for workflow files now logs only the first line (without the file excerpt).
|
|
@@ -136,25 +188,29 @@ Example:
|
|
|
136
188
|
- (@copilot) Extended testing checks (M3000_Testing.js): added checks for testing devDependency, test-and-release.yml workflow file presence, validity and required configuration.
|
|
137
189
|
|
|
138
190
|
### 5.2.3 (2026-02-26)
|
|
191
|
+
|
|
139
192
|
- (@copilot) Fixed crash when `devDependencies` is missing from package.json. [#675]
|
|
140
193
|
|
|
141
194
|
### 5.2.2 (2026-02-25)
|
|
195
|
+
|
|
142
196
|
- (mcm1957) Add warning if fa-icon entry still exists.
|
|
143
197
|
- (@copilot) Added W6011/W7004 checks: warn when copyright lines in README.md or LICENSE are separated by an empty line instead of trailing two spaces.
|
|
144
198
|
- (@copilot) Fixed false positive W6009/W7003: warning for non-consecutive copyright lines (separated by other text or empty lines) is no longer issued. [#672]
|
|
145
199
|
- (@copilot) Fixed false positive S0048/S0047 for npm alias dependencies (e.g. `"npm:real-package@^1.2.3"`). [#667]
|
|
146
200
|
- (@copilot) Added jsonConfig components `iframe` and `iframeSendTo` with minAdmin 7.7.28.
|
|
147
201
|
- (@copilot) Added jsonConfig component `yamlEditor` with minAdmin 7.7.31. [#660]
|
|
148
|
-
- (@copilot) Restructured `validComponents` entries in
|
|
202
|
+
- (@copilot) Restructured `validComponents` entries in M5500\_\_JsonConfig.js to objects with `function` and `minAdmin` properties.
|
|
149
203
|
- (@copilot) Added `checkDocker` and `infoBox` as known jsonConfig components to fix false-positive E5504 errors; set minAdmin 7.7.31 for `checkDocker`. [#663]
|
|
150
204
|
- (mcm1957) require js-controlelr 6 and admin 7 now. [#641] [#589]
|
|
151
205
|
- (mcm1957) required and suggested releases of standard packages have been updated.
|
|
152
206
|
- (mcm1957) Dependencies to packages named 'admin' and 'iobroker' have been disallowed. [#617]
|
|
153
207
|
|
|
154
208
|
### 5.1.1 (2025-12-01)
|
|
209
|
+
|
|
155
210
|
- (@copilot) Updated repository URLs from http://repo.iobroker.live to https://download.iobroker.net
|
|
156
211
|
|
|
157
212
|
### 5.1.0 (2025-11-25)
|
|
213
|
+
|
|
158
214
|
- (@copilot) Added check for conflicting JSON/JSON5 files with same base name in same directory (E5038) [#169]
|
|
159
215
|
- (@copilot) Added .releaseconfig.json verification to check plugins listed match installed devDependencies (E5036, W5037)
|
|
160
216
|
- (@copilot) Added YAML file validation check (E5035) to verify .yml and .yaml files are well-structured [#618]
|
|
@@ -167,12 +223,15 @@ Example:
|
|
|
167
223
|
- (mcm1957) Pathc information has been added to error E5509. [#394]
|
|
168
224
|
|
|
169
225
|
### 5.0.2 (2025-10-03)
|
|
226
|
+
|
|
170
227
|
- (mcm1957) Some debug log has been removed.
|
|
171
228
|
|
|
172
229
|
### 5.0.1 (2025-10-03)
|
|
230
|
+
|
|
173
231
|
- (mcm1957) A crash at adapters which do not contain news entry at io-package.json has been fixed. [#572]
|
|
174
232
|
|
|
175
233
|
### 5.0.0 (2025-10-02)
|
|
234
|
+
|
|
176
235
|
- (mcm1957) Suppress W6010 if adapter not yet published at npm. [#567]
|
|
177
236
|
- (@copilot) Added check for deprecated common.jsonConfig property - warns if adminUI exists (W1109), errors if adminUI missing (E1109)
|
|
178
237
|
- (@copilot) Added check (W0063) for unneeded devDependencies when @iobroker/testing >= 5.1.1 is installed
|
|
@@ -197,6 +256,7 @@ Example:
|
|
|
197
256
|
- (@copilot) Fixed deprecated function checking for adapter methods called outside class context
|
|
198
257
|
|
|
199
258
|
### 4.2.0 (2025-09-20)
|
|
259
|
+
|
|
200
260
|
- (mcm1957) 'Request' replacement text changed to suggest 'node:fetch' [#498].
|
|
201
261
|
- (@copilot) Fixed false positive W533 warnings for deprecated adapter methods when called on local functions with same names [#520].
|
|
202
262
|
- (mcm1957) '[W438] .vscode/settings.json file missing "json.schemas" property' has been converted to suggestion [#516].
|
|
@@ -206,7 +266,7 @@ Example:
|
|
|
206
266
|
- (copilot) Added check for outdated lib/tools.js file usage (W532) [#432].
|
|
207
267
|
- (copilot) Added VS Code schema definitions checker for .vscode/settings.json - validates json.schemas for io-package.json and jsonConfig files [#336].
|
|
208
268
|
- (copilot) Change W510 to E510: Convert missing admin i18n files from warning to error [#400].
|
|
209
|
-
- (copilot) Renumbered all issues in
|
|
269
|
+
- (copilot) Renumbered all issues in M500\_\_JsonConfig.js from 500-511 range to 550-561 range [#481].
|
|
210
270
|
- (copilot) Added check for .commitinfo file - error if present (E905), warning if not in .gitignore (W906) [#467].
|
|
211
271
|
- (copilot) Added check for allowInit attribute [#181].
|
|
212
272
|
- (copilot) Added detection for empty dependency objects in io-package.json (E200, E201) [#422].
|
|
@@ -215,6 +275,7 @@ Example:
|
|
|
215
275
|
- (copilot) Fixed W195 warning for array elements - add W203 warning for unsupported array encryption [#399].
|
|
216
276
|
|
|
217
277
|
### 4.1.0 (2025-09-11)
|
|
278
|
+
|
|
218
279
|
- (mcm1957) eslint-config and testing suggestions have been updated.
|
|
219
280
|
- (mcm1957) adapter-core suggestions has been updated.
|
|
220
281
|
- (mcm1957) URGENT and IMPORTANT issued are watched now.
|
|
@@ -223,13 +284,15 @@ Example:
|
|
|
223
284
|
- (mcm1957) Text for S191 has been extended [#393].
|
|
224
285
|
- (mcm1957) Text for S052 has been corrected [#434].
|
|
225
286
|
- (mcm1957) Formatting if W174 has been improved [#408].
|
|
226
|
-
- (mcm1957) @types
|
|
287
|
+
- (mcm1957) @types/\* as dependency now raise a warning [#421].
|
|
227
288
|
- (mcm1957) Dependencies have been updated.
|
|
228
289
|
|
|
229
290
|
### 4.0.2 (2025-08-12)
|
|
291
|
+
|
|
230
292
|
- (mcm1957) js-controller 6.0.11 recommended now.
|
|
231
293
|
|
|
232
294
|
### 4.0.1 (2025-08-11)
|
|
295
|
+
|
|
233
296
|
- (mcm1957) Wrong suggestion to add admin dependency has been corrected [#452].
|
|
234
297
|
- (mcm1957) Text for E952 has been corrected [#446].
|
|
235
298
|
- (mcm1957) Adapt wording at W098 / E029 [#448].
|
|
@@ -238,30 +301,37 @@ Example:
|
|
|
238
301
|
- (mcm1957) jsonConfig expertMode flag added [#386].
|
|
239
302
|
|
|
240
303
|
### 4.0.0 (2025-08-05)
|
|
304
|
+
|
|
241
305
|
- (mcm1957) use jsdelivr.com to retrive files from github.
|
|
242
306
|
- (mcm1957) Dependencies have been updated.
|
|
243
307
|
|
|
244
308
|
### 3.5.8 (2025-05-17)
|
|
309
|
+
|
|
245
310
|
- (mcm1957) add authorization for github using OWN_GITHUB_TOKEN.
|
|
246
311
|
|
|
247
312
|
### 3.5.5 (2025-04-28)
|
|
313
|
+
|
|
248
314
|
- (mcm1957) Node.js 20 is suggested now.
|
|
249
315
|
- (mcm1957) Suggested release for several packages has been encreased.
|
|
250
316
|
- (mcm1957) Do not raise E186 if E190 is raised anyway. [#387]
|
|
251
317
|
- (mcm1957) Dependencies have been updated.0
|
|
252
318
|
|
|
253
319
|
### 3.5.4 (2025-03-03)
|
|
320
|
+
|
|
254
321
|
- (mcm1957) Ignore boolean paramters when checking protectedNative/encryptedNative. [#395]
|
|
255
322
|
|
|
256
323
|
### 3.5.3 (2025-02-21)
|
|
324
|
+
|
|
257
325
|
- (mcm1957) Crash has been fixed if protectedNative/encryptedNative is not an array. [#385]
|
|
258
326
|
|
|
259
327
|
### 3.5.2 (2025-02-19)
|
|
328
|
+
|
|
260
329
|
- (mcm1957) Incorrect admin suggestion for very olf html adapters corrected. [#383]
|
|
261
330
|
- (mcm1957) Errors during parsing if icon improved. [#381]
|
|
262
331
|
- (mcm1957) Crash if protectedNative or encryptedNative is missing. [#382]
|
|
263
332
|
|
|
264
333
|
### 3.5.0 (2025-02-18)
|
|
334
|
+
|
|
265
335
|
- (mcm1957) Fixed dependency warning ([W174]) has been reduces to suggestion. [#374]
|
|
266
336
|
- (mcm1957) Some changes to jsonConfig check have been implemented.
|
|
267
337
|
- (mcm1957) common.supportCustoms check has been added. [#379]
|
|
@@ -269,21 +339,25 @@ Example:
|
|
|
269
339
|
- (mcm1957) Check that key listed at encryptedNative is listed at protectedNative too. [#342]
|
|
270
340
|
- (mcm1957) Check that extension adapters require web adapter. [#311]
|
|
271
341
|
- (mcm1957) List of suspicious keys to protect has been extended. [#358]
|
|
272
|
-
- (mcm1957) checking of 'admin'
|
|
342
|
+
- (mcm1957) checking of 'admin' globalDependency has been added.
|
|
273
343
|
- (mcm1957) checking of 'publishConfig.registry' has been added.
|
|
274
344
|
- (mcm1957) New commandline option --noinfo added.
|
|
275
345
|
- (mcm1957) Logging has been adapted.
|
|
276
346
|
|
|
277
347
|
### 3.4.4 (2025-02-12)
|
|
348
|
+
|
|
278
349
|
- (mcm1957) Some external attributes added to valid package.json attributes.
|
|
279
350
|
|
|
280
351
|
### 3.4.2 (2025-02-12)
|
|
352
|
+
|
|
281
353
|
- (mcm1957) 'type' and 'types' added to valid package.json attributes.
|
|
282
354
|
|
|
283
355
|
### 3.4.1 (2025-02-11)
|
|
356
|
+
|
|
284
357
|
- (mcm1957) Add 'publishConfig' to valid package.json attributes.
|
|
285
358
|
|
|
286
359
|
### 3.4.0 (2025-02-11)
|
|
360
|
+
|
|
287
361
|
- (mcm1957) Do not suggest to migrate to adapter-dev if only gulpfile.js exists. (#334).
|
|
288
362
|
- (mcm1957) Warn if onlyWWW adapter uses adapter-core (#251).
|
|
289
363
|
- (mcm1957) Singleton checks have been reduced to suggestion level.
|
|
@@ -300,12 +374,15 @@ Example:
|
|
|
300
374
|
- (mcm1957) Adapt copyright year advisory.
|
|
301
375
|
|
|
302
376
|
### 3.3.2 (2025-01-20)
|
|
377
|
+
|
|
303
378
|
- (mcm1957) Avoid crash if some file cannot be downloaded.
|
|
304
379
|
|
|
305
380
|
### 3.3.1 (2025-01-19)
|
|
381
|
+
|
|
306
382
|
- (mcm1957) Report malformed semver specifications has been fixed.
|
|
307
383
|
|
|
308
384
|
### 3.3.0 (2025-01-19)
|
|
385
|
+
|
|
309
386
|
- (mcm1957) "common.singleton" causes a warning now for non-onlyWWW Adapters.
|
|
310
387
|
- (mcm1957) "$schema" has been blacklisted at io-package.json.
|
|
311
388
|
- (mcm1957) Warn if 'common.nondeletable' flag is detected.
|
|
@@ -316,27 +393,33 @@ Example:
|
|
|
316
393
|
- (mcm1957) Releaseinfo has been added to "checks" log.
|
|
317
394
|
|
|
318
395
|
### 3.2.4 (2025-01-16)
|
|
396
|
+
|
|
319
397
|
- (mcm1957) Suggested release of testing and adapter-core increased.
|
|
320
398
|
|
|
321
399
|
### 3.2.3 (2025-01-11)
|
|
400
|
+
|
|
322
401
|
- (mcm1957) An error is issued if js-controller dependency is missing.
|
|
323
402
|
- (mcm1957) Required js-controller has been increased to 5.0.19.
|
|
324
403
|
- (mcm1957) Recommended js-controller version is omitted if identical to required one.
|
|
325
404
|
|
|
326
405
|
### 3.2.2 (2024-11-01)
|
|
406
|
+
|
|
327
407
|
- (mcm1957) Link to open issues has been corrected.
|
|
328
408
|
- (mcm1957) Component name added to responsive check issues.
|
|
329
409
|
|
|
330
410
|
### 3.2.1 (2024-11-01)
|
|
411
|
+
|
|
331
412
|
- (mcm1957) Size checking for "divider" and "staticImage" suspended.
|
|
332
413
|
|
|
333
414
|
### 3.2.0 (2024-11-01)
|
|
415
|
+
|
|
334
416
|
- (oweitman) Script has been extended to use optionally local data for checking.
|
|
335
417
|
- (mcm1957) Warning if i18n is not used has been fixed [#324].
|
|
336
418
|
- (mcm1957) Check for importent issues has been added.
|
|
337
419
|
- (mcm1957) Checking of jsonConfig (initially) added.
|
|
338
420
|
|
|
339
421
|
### 3.1.4 (2024-10-26)
|
|
422
|
+
|
|
340
423
|
- (mcm1957) linter has been activated and issues reported have been fixed.
|
|
341
424
|
- (mcm1957) Blacklist for package/dependencies has been extended.
|
|
342
425
|
- (mcm1957) Recommend adapter-core 3.2.2 now.
|
|
@@ -344,12 +427,15 @@ Example:
|
|
|
344
427
|
- (mcm1957) Abort processing if iobroker.live not reachable. [#321]
|
|
345
428
|
|
|
346
429
|
### 3.1.3 (2024-10-11)
|
|
430
|
+
|
|
347
431
|
- (mcm1957) Checker no longer crash id no npm package exists.
|
|
348
432
|
|
|
349
433
|
### 3.1.2 (2024-10-04)
|
|
434
|
+
|
|
350
435
|
- (mcm1957) Require node 18 minimum as engines clause.
|
|
351
436
|
|
|
352
437
|
### 3.1.1 (2024-10-04)
|
|
438
|
+
|
|
353
439
|
- (mcm1957) "[E166] 'common.mode: extension' is unknown" has been fixed [#308]
|
|
354
440
|
- (mcm1957) "[E904] file iob_npm.done found in repository, but not found in .gitignore" removed as covered by [E503]. [#309]
|
|
355
441
|
- (mcm1957) "[E500] node_modules found" has been retricted to adapetr root. [#297]
|
|
@@ -357,22 +443,27 @@ Example:
|
|
|
357
443
|
- (mcm1957) Change "[W113] Adapter should support compact mode" text and honor common.compact set to false. [#300]
|
|
358
444
|
|
|
359
445
|
### 3.1.0 (2024-09-29)
|
|
446
|
+
|
|
360
447
|
- (mcm1957) "@iobroker/plugin-sentry" blacklisted as dependency [#301]
|
|
361
448
|
- (mcm1957) Accept .ts files as main file too. [#303]
|
|
362
449
|
- (mcm1957) [E405] and [E426] incorrect path has been corrected. [#299]
|
|
363
450
|
|
|
364
451
|
### 3.0.7 (2024-09-19)
|
|
452
|
+
|
|
365
453
|
- (mcm1957) "[W523] 'package-lock.json"'not found in repo!" reduced to suggestion. [#298]
|
|
366
454
|
|
|
367
455
|
### 3.0.6 (2024-09-13)
|
|
456
|
+
|
|
368
457
|
- (mcm1957) "[E124] Main file not found" no longer raised if `common.nogit` is set
|
|
369
458
|
- (mcm1957) 'Text of "common.main" is deprecated' has been adapted. [#266]
|
|
370
459
|
- (mcm1957) Ignore errors caused by complex .gitignor/.npmignore. [#288]
|
|
371
460
|
|
|
372
461
|
### 3.0.5 (2024-09-13)
|
|
462
|
+
|
|
373
463
|
- (mcm1957) '@iobroker/dev-server' is valid as dev-dependency. [#260]
|
|
374
464
|
|
|
375
465
|
### 3.0.4 (2024-09-12)
|
|
466
|
+
|
|
376
467
|
- (mcm1957) Abort with incorrect dependency definition fixed [#287]
|
|
377
468
|
- (mcm1957) Improve handling of malformed dependency definitions [#284]
|
|
378
469
|
- (mcm1957) Improve handling of malformed .releaseconfig.json files [#283]
|
|
@@ -382,28 +473,34 @@ Example:
|
|
|
382
473
|
- (mcm1957) Do no longer require a js-controller dependency for wwwOnly adapters. [#250]
|
|
383
474
|
|
|
384
475
|
### 3.0.3 (2024-09-12)
|
|
476
|
+
|
|
385
477
|
- (mcm1957) Check for iob_npm.done at `.npmignore` has been removed [#294]
|
|
386
478
|
|
|
387
479
|
### 3.0.2 (2024-09-11)
|
|
480
|
+
|
|
388
481
|
- (mcm1957) Handling of a missing LICENSE file corrected. [#282]
|
|
389
482
|
- (mcm1957) [W126] Missing mandatory translation is an error now. [#293]
|
|
390
483
|
- (mcm1957) Record repochcker version used for tests.
|
|
391
484
|
- (mcm1957) Record GitHub commit-sha of last commit used for tests.
|
|
392
485
|
|
|
393
486
|
### 3.0.0 (2024-09-10)
|
|
487
|
+
|
|
394
488
|
- (mcm1957) Error and warning numbering has been reviewed and duplicates removed.
|
|
395
489
|
- (mcm1957) index.js has been split into seperated modules.
|
|
396
490
|
|
|
397
491
|
### 2.10.0 (2024-08-19)
|
|
492
|
+
|
|
398
493
|
- (mcm1957) Suggestions ([Sxxx] have been added).
|
|
399
494
|
|
|
400
495
|
### 2.9.1 (2024-08-12)
|
|
496
|
+
|
|
401
497
|
- (mcm1957) E162 - correct dependency check for js-controller. [#267].
|
|
402
498
|
- (mcm1957) E605 - copyright year range including whitespaces is now accepted. [#269].
|
|
403
499
|
- (mcm1957) E016 - missing vaiable expansion has been added. [#263].
|
|
404
500
|
- (mcm1957) E114 - typo at error message has been fixed [#261].
|
|
405
501
|
|
|
406
502
|
### 2.9.0 (2024-07-29)
|
|
503
|
+
|
|
407
504
|
- (mcm1957) Adapt text if sources-dist(-stable).json need a correction [#97].
|
|
408
505
|
- (mcm1957) Missing "common.mode" error text corrected [#249].
|
|
409
506
|
- (mcm1957) Files "iob" and "iobroker" are disallowed now [#248].
|
|
@@ -411,10 +508,12 @@ Example:
|
|
|
411
508
|
- (mcm1957) Text of E114 (missing adminUI) adapted.
|
|
412
509
|
|
|
413
510
|
### 2.8.1 (2024-07-28)
|
|
511
|
+
|
|
414
512
|
- (mcm1957) Check of js-controller version has been corrected [#247].
|
|
415
513
|
- (mcm1957) Honor '>' at dependency checks too [#246].
|
|
416
514
|
|
|
417
515
|
### 2.8.0 (2024-07-28)
|
|
516
|
+
|
|
418
517
|
- (mcm1957) Copyright year check has been fixed for single year entries.
|
|
419
518
|
- (mcm1957) js-controller version check added [#233].
|
|
420
519
|
- (mcm1957) Check for fixed version dependencies and for github dependencies [#233].
|
|
@@ -424,12 +523,15 @@ Example:
|
|
|
424
523
|
- (mcm1957) "common.noConfig" must match "common.adminUI" setting [#170].
|
|
425
524
|
|
|
426
525
|
### 2.7.2 (2024-07-26)
|
|
526
|
+
|
|
427
527
|
- (mcm1957) package-lock.json check fixed.
|
|
428
528
|
|
|
429
529
|
### 2.7.1 (2024-07-26)
|
|
530
|
+
|
|
430
531
|
- (mcm1957) Reduce setTimeout/setInterval error to warning temporary.
|
|
431
532
|
|
|
432
533
|
### 2.7.0 (2024-07-26)
|
|
534
|
+
|
|
433
535
|
- (mcm1957) Some non trivial keywords related to adapter are enforced now [#234].
|
|
434
536
|
- (mcm1957) Severity if [E105] / [W105] has been corrected [#204].
|
|
435
537
|
- (mcm1957) Disallow 'globalDependencies' at package.json [#204].
|
|
@@ -443,29 +545,36 @@ Example:
|
|
|
443
545
|
- (mcm1957) Copyright year now honors commit year and npm publish year too [#237].
|
|
444
546
|
|
|
445
547
|
### 2.6.1 (2024-06-24)
|
|
548
|
+
|
|
446
549
|
- (mcm1957) Check "[W156] Adapter should support admin 5 UI (jsonConfig)" checks for reactUi now.
|
|
447
550
|
|
|
448
551
|
### 2.6.0 (2024-06-24)
|
|
552
|
+
|
|
449
553
|
- (mcm1957) Check has been aded to ensure keywords and common.keywords are present. [#200]
|
|
450
554
|
- (mcm1957) Detection of react has been added, gulpfile.js is accepted for react based UIs now. [#223]
|
|
451
555
|
|
|
452
556
|
### 2.5.1 (2024-06-24)
|
|
557
|
+
|
|
453
558
|
- (mcm1957) Suggestion to update dependencies to recommended version added.
|
|
454
559
|
- (mcm1957) Adapter-core recommended set to 3.1.6 [#220]
|
|
455
560
|
|
|
456
561
|
### 2.5.0 (2024-05-30)
|
|
562
|
+
|
|
457
563
|
- (mcm1957) Check to ensure that dependency revisions are available at repository added. [#180]
|
|
458
564
|
|
|
459
565
|
### 2.4.0 (2024-05-30)
|
|
566
|
+
|
|
460
567
|
- (mcm1957) Add check to protect sensitive data. [#195]
|
|
461
568
|
- (mcm1957) Add check to verify that dependencies and globalDepencies are of type array. [#90]
|
|
462
569
|
|
|
463
570
|
### 2.3.1 (2024-05-07)
|
|
571
|
+
|
|
464
572
|
- (mcm1957) Reduce number of missing translation warnings.
|
|
465
573
|
- (mcm1957) Seperate between required and recommended translations.
|
|
466
574
|
- (mcm1957) Log missing translations in detail.
|
|
467
575
|
|
|
468
576
|
### 2.3.0 (2024-05-07)
|
|
577
|
+
|
|
469
578
|
- (mcm1957) Elements marked as deprectaed added to blacklist.
|
|
470
579
|
- (mcm1957) Blacklist added to block elements at package.json and io-package.json.
|
|
471
580
|
- (mcm1957) Error [E000] will be raised now if repository cannot be accessed at all [#194].
|
|
@@ -474,13 +583,16 @@ Example:
|
|
|
474
583
|
- (mcm1957) Raise an error if version at package.json is lower than latest release at npmjs [#192]
|
|
475
584
|
|
|
476
585
|
### 2.2.3 (2024-03-29)
|
|
586
|
+
|
|
477
587
|
- (mcm1957) Checking of license has been improved
|
|
478
588
|
|
|
479
589
|
### 2.2.2 (2024-03-29)
|
|
590
|
+
|
|
480
591
|
- (mcm1957) Checking of adapter-core has been fixed
|
|
481
592
|
- (mcm1957) Load all potential interesting files, fixes [#149]
|
|
482
593
|
|
|
483
594
|
### 2.2.1 (2024-03-26)
|
|
595
|
+
|
|
484
596
|
- (mcm1957) Added check that own adapter is not listed at common.restartAdapters
|
|
485
597
|
- (mcm1957) Added check of version strings at common.news
|
|
486
598
|
- (mcm1957) Added check for recommended node version (node 18 for now)
|
|
@@ -489,40 +601,51 @@ Example:
|
|
|
489
601
|
- (mcm1957) Added check for adapter-core version (>= 3.0.6)
|
|
490
602
|
|
|
491
603
|
### 2.2.0 (2024-03-24)
|
|
604
|
+
|
|
492
605
|
- (klein0r) Added check for licenseInformation
|
|
493
606
|
- (klein0r) Added check for deprecated license
|
|
494
607
|
- (klein0r) Added check for required attribute common.tier
|
|
495
608
|
- (klein0r) Added check for disallowed attribute common.automaticUpgrade
|
|
496
609
|
|
|
497
610
|
### 2.1.13 (2024-01-02)
|
|
611
|
+
|
|
498
612
|
- (bluefox) Corrected rule W156: adminUI.config === 'none' is allowed
|
|
499
613
|
|
|
500
614
|
### 2.1.12 (2023-09-21)
|
|
615
|
+
|
|
501
616
|
- (bluefox) Added check of using '\_' in adapter name
|
|
502
617
|
|
|
503
618
|
### 2.1.11 (2023-09-05)
|
|
619
|
+
|
|
504
620
|
- (bluefox) Added check of iobroker.js-controller in dependencies
|
|
505
621
|
|
|
506
622
|
### 2.1.7 (2023-08-14)
|
|
623
|
+
|
|
507
624
|
- (mcm57) Update index.js - fix typo in error message (packet.json)
|
|
508
625
|
- (mcm57) Update index.js - renumber E504/1 to 519 - fixes #112
|
|
509
626
|
|
|
510
627
|
### 2.1.6 (2022-12-08)
|
|
628
|
+
|
|
511
629
|
- (bluefox) added better error logging
|
|
512
630
|
|
|
513
631
|
### 2.1.5 (2022-12-07)
|
|
632
|
+
|
|
514
633
|
- (bluefox) added check of `.releaseconfig.json` file
|
|
515
634
|
|
|
516
635
|
### 2.1.4 (2022-08-19)
|
|
636
|
+
|
|
517
637
|
- (bluefox) Added check for adapter name: it may not start with '\_'
|
|
518
638
|
|
|
519
639
|
### 2.1.2 (2022-07-14)
|
|
640
|
+
|
|
520
641
|
- (bluefox) Fixed some errors
|
|
521
642
|
|
|
522
643
|
### 2.1.0 (2022-05-26)
|
|
644
|
+
|
|
523
645
|
- (bluefox) Added support for jsonConfig.json5 and jsonCustom.json5
|
|
524
646
|
|
|
525
647
|
### 2.0.5 (2022-05-22)
|
|
648
|
+
|
|
526
649
|
- (bluefox) Made it possible to run with npx
|
|
527
650
|
|
|
528
651
|
## License
|
|
@@ -548,5 +671,4 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
548
671
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
549
672
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
550
673
|
|
|
551
|
-
|
|
552
674
|
THE SOFTWARE.
|
package/index.js
CHANGED
|
@@ -338,6 +338,10 @@ if (typeof module !== 'undefined' && module.parent) {
|
|
|
338
338
|
console.log('\n\nNO suggestions encountered.');
|
|
339
339
|
}
|
|
340
340
|
console.log(`\ncreated by repochecker ${context.version} based on commit ${context.lastCommitSha}`);
|
|
341
|
+
|
|
342
|
+
if (common.isLocal() && context.errors.length) {
|
|
343
|
+
process.exit(1);
|
|
344
|
+
}
|
|
341
345
|
},
|
|
342
346
|
);
|
|
343
347
|
}
|