@iobroker/repochecker 4.0.0-alpha.5 → 4.0.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 +12 -62
- package/lib/M000_PackageJson.js +4 -4
- package/lib/M100_IOPackageJson.js +3 -3
- package/lib/M500__JsonConfig.js +1 -0
- package/lib/M900_GitNpmIgnore.js +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -33,37 +33,39 @@ npx @iobroker/repochecker https://github.com/ioBroker/ioBroker.javascript --loca
|
|
|
33
33
|
-->
|
|
34
34
|
|
|
35
35
|
## Changelog
|
|
36
|
-
### 4.0.
|
|
37
|
-
|
|
38
|
-
- (mcm1957)
|
|
36
|
+
### 4.0.1 (2025-08-11)
|
|
37
|
+
- (mcm1957) Wrong suggestion to add admin dependency has been corrected [#452].
|
|
38
|
+
- (mcm1957) Text for E952 has been corrected [#446].
|
|
39
|
+
- (mcm1957) Adapt wording at W098 / E029 [#448].
|
|
40
|
+
- (mcm1957) Adapter-core 3.3.1 suggestion added [#455].
|
|
41
|
+
- (mcm1957) Admin 7.6.17 recommendation added [#435].
|
|
42
|
+
- (mcm1957) jsonConfig expertMode flag added [#386].
|
|
43
|
+
|
|
44
|
+
### 4.0.0 (2025-08-05)
|
|
45
|
+
- (mcm1957) use jsdelivr.com to retrive files from github.
|
|
46
|
+
- (mcm1957) Dependencies have been updated.
|
|
39
47
|
|
|
40
48
|
### 3.5.8 (2025-05-17)
|
|
41
|
-
|
|
42
49
|
- (mcm1957) add authorization for github using OWN_GITHUB_TOKEN.
|
|
43
50
|
|
|
44
51
|
### 3.5.5 (2025-04-28)
|
|
45
|
-
|
|
46
52
|
- (mcm1957) Node.js 20 is suggested now.
|
|
47
53
|
- (mcm1957) Suggested release for several packages has been encreased.
|
|
48
54
|
- (mcm1957) Do not raise E186 if E190 is raised anyway. [#387]
|
|
49
|
-
- (mcm1957) Dependencies have been updated.
|
|
55
|
+
- (mcm1957) Dependencies have been updated.0
|
|
50
56
|
|
|
51
57
|
### 3.5.4 (2025-03-03)
|
|
52
|
-
|
|
53
58
|
- (mcm1957) Ignore boolean paramters when checking protectedNative/encryptedNative. [#395]
|
|
54
59
|
|
|
55
60
|
### 3.5.3 (2025-02-21)
|
|
56
|
-
|
|
57
61
|
- (mcm1957) Crash has been fixed if protectedNative/encryptedNative is not an array. [#385]
|
|
58
62
|
|
|
59
63
|
### 3.5.2 (2025-02-19)
|
|
60
|
-
|
|
61
64
|
- (mcm1957) Incorrect admin suggestion for very olf html adapters corrected. [#383]
|
|
62
65
|
- (mcm1957) Errors during parsing if icon improved. [#381]
|
|
63
66
|
- (mcm1957) Crash if protectedNative or encryptedNative is missing. [#382]
|
|
64
67
|
|
|
65
68
|
### 3.5.0 (2025-02-18)
|
|
66
|
-
|
|
67
69
|
- (mcm1957) Fixed dependency warning ([W174]) has been reduces to suggestion. [#374]
|
|
68
70
|
- (mcm1957) Some changes to jsonConfig check have been implemented.
|
|
69
71
|
- (mcm1957) common.supportCustoms check has been added. [#379]
|
|
@@ -77,19 +79,15 @@ npx @iobroker/repochecker https://github.com/ioBroker/ioBroker.javascript --loca
|
|
|
77
79
|
- (mcm1957) Logging has been adapted.
|
|
78
80
|
|
|
79
81
|
### 3.4.4 (2025-02-12)
|
|
80
|
-
|
|
81
82
|
- (mcm1957) Some external attributes added to valid package.json attributes.
|
|
82
83
|
|
|
83
84
|
### 3.4.2 (2025-02-12)
|
|
84
|
-
|
|
85
85
|
- (mcm1957) 'type' and 'types' added to valid package.json attributes.
|
|
86
86
|
|
|
87
87
|
### 3.4.1 (2025-02-11)
|
|
88
|
-
|
|
89
88
|
- (mcm1957) Add 'publishConfig' to valid package.json attributes.
|
|
90
89
|
|
|
91
90
|
### 3.4.0 (2025-02-11)
|
|
92
|
-
|
|
93
91
|
- (mcm1957) Do not suggest to migrate to adapter-dev if only gulpfile.js exists. (#334).
|
|
94
92
|
- (mcm1957) Warn if onlyWWW adapter uses adapter-core (#251).
|
|
95
93
|
- (mcm1957) Singleton checks have been reduced to suggestion level.
|
|
@@ -106,15 +104,12 @@ npx @iobroker/repochecker https://github.com/ioBroker/ioBroker.javascript --loca
|
|
|
106
104
|
- (mcm1957) Adapt copyright year advisory.
|
|
107
105
|
|
|
108
106
|
### 3.3.2 (2025-01-20)
|
|
109
|
-
|
|
110
107
|
- (mcm1957) Avoid crash if some file cannot be downloaded.
|
|
111
108
|
|
|
112
109
|
### 3.3.1 (2025-01-19)
|
|
113
|
-
|
|
114
110
|
- (mcm1957) Report malformed semver specifications has been fixed.
|
|
115
111
|
|
|
116
112
|
### 3.3.0 (2025-01-19)
|
|
117
|
-
|
|
118
113
|
- (mcm1957) "common.singleton" causes a warning now for non-onlyWWW Adapters.
|
|
119
114
|
- (mcm1957) "$schema" has been blacklisted at io-package.json.
|
|
120
115
|
- (mcm1957) Warn if 'common.nondeletable' flag is detected.
|
|
@@ -128,29 +123,24 @@ npx @iobroker/repochecker https://github.com/ioBroker/ioBroker.javascript --loca
|
|
|
128
123
|
- (mcm1957) Suggested release of testing and adapter-core increased.
|
|
129
124
|
|
|
130
125
|
### 3.2.3 (2025-01-11)
|
|
131
|
-
|
|
132
126
|
- (mcm1957) An error is issued if js-controller dependency is missing.
|
|
133
127
|
- (mcm1957) Required js-controller has been increased to 5.0.19.
|
|
134
128
|
- (mcm1957) Recommended js-controller version is omitted if identical to required one.
|
|
135
129
|
|
|
136
130
|
### 3.2.2 (2024-11-01)
|
|
137
|
-
|
|
138
131
|
- (mcm1957) Link to open issues has been corrected.
|
|
139
132
|
- (mcm1957) Component name added to responsive check issues.
|
|
140
133
|
|
|
141
134
|
### 3.2.1 (2024-11-01)
|
|
142
|
-
|
|
143
135
|
- (mcm1957) Size checking for "divider" and "staticImage" suspended.
|
|
144
136
|
|
|
145
137
|
### 3.2.0 (2024-11-01)
|
|
146
|
-
|
|
147
138
|
- (oweitman) Script has been extended to use optionally local data for checking.
|
|
148
139
|
- (mcm1957) Warning if i18n is not used has been fixed [#324].
|
|
149
140
|
- (mcm1957) Check for importent issues has been added.
|
|
150
141
|
- (mcm1957) Checking of jsonConfig (initially) added.
|
|
151
142
|
|
|
152
143
|
### 3.1.4 (2024-10-26)
|
|
153
|
-
|
|
154
144
|
- (mcm1957) linter has been activated and issues reported have been fixed.
|
|
155
145
|
- (mcm1957) Blacklist for package/dependencies has been extended.
|
|
156
146
|
- (mcm1957) Recommend adapter-core 3.2.2 now.
|
|
@@ -158,15 +148,12 @@ npx @iobroker/repochecker https://github.com/ioBroker/ioBroker.javascript --loca
|
|
|
158
148
|
- (mcm1957) Abort processing if iobroker.live not reachable. [#321]
|
|
159
149
|
|
|
160
150
|
### 3.1.3 (2024-10-11)
|
|
161
|
-
|
|
162
151
|
- (mcm1957) Checker no longer crash id no npm package exists.
|
|
163
152
|
|
|
164
153
|
### 3.1.2 (2024-10-04)
|
|
165
|
-
|
|
166
154
|
- (mcm1957) Require node 18 minimum as engines clause.
|
|
167
155
|
|
|
168
156
|
### 3.1.1 (2024-10-04)
|
|
169
|
-
|
|
170
157
|
- (mcm1957) "[E166] 'common.mode: extension' is unknown" has been fixed [#308]
|
|
171
158
|
- (mcm1957) "[E904] file iob_npm.done found in repository, but not found in .gitignore" removed as covered by [E503]. [#309]
|
|
172
159
|
- (mcm1957) "[E500] node_modules found" has been retricted to adapetr root. [#297]
|
|
@@ -174,27 +161,22 @@ npx @iobroker/repochecker https://github.com/ioBroker/ioBroker.javascript --loca
|
|
|
174
161
|
- (mcm1957) Change "[W113] Adapter should support compact mode" text and honor common.compact set to false. [#300]
|
|
175
162
|
|
|
176
163
|
### 3.1.0 (2024-09-29)
|
|
177
|
-
|
|
178
164
|
- (mcm1957) "@iobroker/plugin-sentry" blacklisted as dependency [#301]
|
|
179
165
|
- (mcm1957) Accept .ts files as main file too. [#303]
|
|
180
166
|
- (mcm1957) [E405] and [E426] incorrect path has been corrected. [#299]
|
|
181
167
|
|
|
182
168
|
### 3.0.7 (2024-09-19)
|
|
183
|
-
|
|
184
169
|
- (mcm1957) "[W523] 'package-lock.json"'not found in repo!" reduced to suggestion. [#298]
|
|
185
170
|
|
|
186
171
|
### 3.0.6 (2024-09-13)
|
|
187
|
-
|
|
188
172
|
- (mcm1957) "[E124] Main file not found" no longer raised if `common.nogit` is set
|
|
189
173
|
- (mcm1957) 'Text of "common.main" is deprecated' has been adapted. [#266]
|
|
190
174
|
- (mcm1957) Ignore errors caused by complex .gitignor/.npmignore. [#288]
|
|
191
175
|
|
|
192
176
|
### 3.0.5 (2024-09-13)
|
|
193
|
-
|
|
194
177
|
- (mcm1957) '@iobroker/dev-server' is valid as dev-dependency. [#260]
|
|
195
178
|
|
|
196
179
|
### 3.0.4 (2024-09-12)
|
|
197
|
-
|
|
198
180
|
- (mcm1957) Abort with incorrect dependency definition fixed [#287]
|
|
199
181
|
- (mcm1957) Improve handling of malformed dependency definitions [#284]
|
|
200
182
|
- (mcm1957) Improve handling of malformed .releaseconfig.json files [#283]
|
|
@@ -204,34 +186,28 @@ npx @iobroker/repochecker https://github.com/ioBroker/ioBroker.javascript --loca
|
|
|
204
186
|
- (mcm1957) Do no longer require a js-controller dependency for wwwOnly adapters. [#250]
|
|
205
187
|
|
|
206
188
|
### 3.0.3 (2024-09-12)
|
|
207
|
-
|
|
208
189
|
- (mcm1957) Check for iob_npm.done at `.npmignore` has been removed [#294]
|
|
209
190
|
|
|
210
191
|
### 3.0.2 (2024-09-11)
|
|
211
|
-
|
|
212
192
|
- (mcm1957) Handling of a missing LICENSE file corrected. [#282]
|
|
213
193
|
- (mcm1957) [W126] Missing mandatory translation is an error now. [#293]
|
|
214
194
|
- (mcm1957) Record repochcker version used for tests.
|
|
215
195
|
- (mcm1957) Record GitHub commit-sha of last commit used for tests.
|
|
216
196
|
|
|
217
197
|
### 3.0.0 (2024-09-10)
|
|
218
|
-
|
|
219
198
|
- (mcm1957) Error and warning numbering has been reviewed and duplicates removed.
|
|
220
199
|
- (mcm1957) index.js has been split into seperated modules.
|
|
221
200
|
|
|
222
201
|
### 2.10.0 (2024-08-19)
|
|
223
|
-
|
|
224
202
|
- (mcm1957) Suggestions ([Sxxx] have been added).
|
|
225
203
|
|
|
226
204
|
### 2.9.1 (2024-08-12)
|
|
227
|
-
|
|
228
205
|
- (mcm1957) E162 - correct dependency check for js-controller. [#267].
|
|
229
206
|
- (mcm1957) E605 - copyright year range including whitespaces is now accepted. [#269].
|
|
230
207
|
- (mcm1957) E016 - missing vaiable expansion has been added. [#263].
|
|
231
208
|
- (mcm1957) E114 - typo at error message has been fixed [#261].
|
|
232
209
|
|
|
233
210
|
### 2.9.0 (2024-07-29)
|
|
234
|
-
|
|
235
211
|
- (mcm1957) Adapt text if sources-dist(-stable).json need a correction [#97].
|
|
236
212
|
- (mcm1957) Missing "common.mode" error text corrected [#249].
|
|
237
213
|
- (mcm1957) Files "iob" and "iobroker" are disallowed now [#248].
|
|
@@ -239,12 +215,10 @@ npx @iobroker/repochecker https://github.com/ioBroker/ioBroker.javascript --loca
|
|
|
239
215
|
- (mcm1957) Text of E114 (missing adminUI) adapted.
|
|
240
216
|
|
|
241
217
|
### 2.8.1 (2024-07-28)
|
|
242
|
-
|
|
243
218
|
- (mcm1957) Check of js-controller version has been corrected [#247].
|
|
244
219
|
- (mcm1957) Honor '>' at dependency checks too [#246].
|
|
245
220
|
|
|
246
221
|
### 2.8.0 (2024-07-28)
|
|
247
|
-
|
|
248
222
|
- (mcm1957) Copyright year check has been fixed for single year entries.
|
|
249
223
|
- (mcm1957) js-controller version check added [#233].
|
|
250
224
|
- (mcm1957) Check for fixed version dependencies and for github dependencies [#233].
|
|
@@ -254,15 +228,12 @@ npx @iobroker/repochecker https://github.com/ioBroker/ioBroker.javascript --loca
|
|
|
254
228
|
- (mcm1957) "common.noConfig" must match "common.adminUI" setting [#170].
|
|
255
229
|
|
|
256
230
|
### 2.7.2 (2024-07-26)
|
|
257
|
-
|
|
258
231
|
- (mcm1957) package-lock.json check fixed.
|
|
259
232
|
|
|
260
233
|
### 2.7.1 (2024-07-26)
|
|
261
|
-
|
|
262
234
|
- (mcm1957) Reduce setTimeout/setInterval error to warning temporary.
|
|
263
235
|
|
|
264
236
|
### 2.7.0 (2024-07-26)
|
|
265
|
-
|
|
266
237
|
- (mcm1957) Some non trivial keywords related to adapter are enforced now [#234].
|
|
267
238
|
- (mcm1957) Severity if [E105] / [W105] has been corrected [#204].
|
|
268
239
|
- (mcm1957) Disallow 'globalDependencies' at package.json [#204].
|
|
@@ -276,36 +247,29 @@ npx @iobroker/repochecker https://github.com/ioBroker/ioBroker.javascript --loca
|
|
|
276
247
|
- (mcm1957) Copyright year now honors commit year and npm publish year too [#237].
|
|
277
248
|
|
|
278
249
|
### 2.6.1 (2024-06-24)
|
|
279
|
-
|
|
280
250
|
- (mcm1957) Check "[W156] Adapter should support admin 5 UI (jsonConfig)" checks for reactUi now.
|
|
281
251
|
|
|
282
252
|
### 2.6.0 (2024-06-24)
|
|
283
|
-
|
|
284
253
|
- (mcm1957) Check has been aded to ensure keywords and common.keywords are present. [#200]
|
|
285
254
|
- (mcm1957) Detection of react has been added, gulpfile.js is accepted for react based UIs now. [#223]
|
|
286
255
|
|
|
287
256
|
### 2.5.1 (2024-06-24)
|
|
288
|
-
|
|
289
257
|
- (mcm1957) Suggestion to update dependencies to recommended version added.
|
|
290
258
|
- (mcm1957) Adapter-core recommended set to 3.1.6 [#220]
|
|
291
259
|
|
|
292
260
|
### 2.5.0 (2024-05-30)
|
|
293
|
-
|
|
294
261
|
- (mcm1957) Check to ensure that dependency revisions are available at repository added. [#180]
|
|
295
262
|
|
|
296
263
|
### 2.4.0 (2024-05-30)
|
|
297
|
-
|
|
298
264
|
- (mcm1957) Add check to protect sensitive data. [#195]
|
|
299
265
|
- (mcm1957) Add check to verify that dependencies and globalDepencies are of type array. [#90]
|
|
300
266
|
|
|
301
267
|
### 2.3.1 (2024-05-07)
|
|
302
|
-
|
|
303
268
|
- (mcm1957) Reduce number of missing translation warnings.
|
|
304
269
|
- (mcm1957) Seperate between required and recommended translations.
|
|
305
270
|
- (mcm1957) Log missing translations in detail.
|
|
306
271
|
|
|
307
272
|
### 2.3.0 (2024-05-07)
|
|
308
|
-
|
|
309
273
|
- (mcm1957) Elements marked as deprectaed added to blacklist.
|
|
310
274
|
- (mcm1957) Blacklist added to block elements at package.json and io-package.json.
|
|
311
275
|
- (mcm1957) Error [E000] will be raised now if repository cannot be accessed at all [#194].
|
|
@@ -314,16 +278,13 @@ npx @iobroker/repochecker https://github.com/ioBroker/ioBroker.javascript --loca
|
|
|
314
278
|
- (mcm1957) Raise an error if version at package.json is lower than latest release at npmjs [#192]
|
|
315
279
|
|
|
316
280
|
### 2.2.3 (2024-03-29)
|
|
317
|
-
|
|
318
281
|
- (mcm1957) Checking of license has been improved
|
|
319
282
|
|
|
320
283
|
### 2.2.2 (2024-03-29)
|
|
321
|
-
|
|
322
284
|
- (mcm1957) Checking of adapter-core has been fixed
|
|
323
285
|
- (mcm1957) Load all potential interesting files, fixes [#149]
|
|
324
286
|
|
|
325
287
|
### 2.2.1 (2024-03-26)
|
|
326
|
-
|
|
327
288
|
- (mcm1957) Added check that own adapter is not listed at common.restartAdapters
|
|
328
289
|
- (mcm1957) Added check of version strings at common.news
|
|
329
290
|
- (mcm1957) Added check for recommended node version (node 18 for now)
|
|
@@ -332,51 +293,40 @@ npx @iobroker/repochecker https://github.com/ioBroker/ioBroker.javascript --loca
|
|
|
332
293
|
- (mcm1957) Added check for adapter-core version (>= 3.0.6)
|
|
333
294
|
|
|
334
295
|
### 2.2.0 (2024-03-24)
|
|
335
|
-
|
|
336
296
|
- (klein0r) Added check for licenseInformation
|
|
337
297
|
- (klein0r) Added check for deprecated license
|
|
338
298
|
- (klein0r) Added check for required attribute common.tier
|
|
339
299
|
- (klein0r) Added check for disallowed attribute common.automaticUpgrade
|
|
340
300
|
|
|
341
301
|
### 2.1.13 (2024-01-02)
|
|
342
|
-
|
|
343
302
|
- (bluefox) Corrected rule W156: adminUI.config === 'none' is allowed
|
|
344
303
|
|
|
345
304
|
### 2.1.12 (2023-09-21)
|
|
346
|
-
|
|
347
305
|
- (bluefox) Added check of using '\_' in adapter name
|
|
348
306
|
|
|
349
307
|
### 2.1.11 (2023-09-05)
|
|
350
|
-
|
|
351
308
|
- (bluefox) Added check of iobroker.js-controller in dependencies
|
|
352
309
|
|
|
353
310
|
### 2.1.7 (2023-08-14)
|
|
354
|
-
|
|
355
311
|
- (mcm57) Update index.js - fix typo in error message (packet.json)
|
|
356
312
|
- (mcm57) Update index.js - renumber E504/1 to 519 - fixes #112
|
|
357
313
|
|
|
358
314
|
### 2.1.6 (2022-12-08)
|
|
359
|
-
|
|
360
315
|
- (bluefox) added better error logging
|
|
361
316
|
|
|
362
317
|
### 2.1.5 (2022-12-07)
|
|
363
|
-
|
|
364
318
|
- (bluefox) added check of `.releaseconfig.json` file
|
|
365
319
|
|
|
366
320
|
### 2.1.4 (2022-08-19)
|
|
367
|
-
|
|
368
321
|
- (bluefox) Added check for adapter name: it may not start with '\_'
|
|
369
322
|
|
|
370
323
|
### 2.1.2 (2022-07-14)
|
|
371
|
-
|
|
372
324
|
- (bluefox) Fixed some errors
|
|
373
325
|
|
|
374
326
|
### 2.1.0 (2022-05-26)
|
|
375
|
-
|
|
376
327
|
- (bluefox) Added support for jsonConfig.json5 and jsonCustom.json5
|
|
377
328
|
|
|
378
329
|
### 2.0.5 (2022-05-22)
|
|
379
|
-
|
|
380
330
|
- (bluefox) Made it possible to run with npx
|
|
381
331
|
|
|
382
332
|
## License
|
package/lib/M000_PackageJson.js
CHANGED
|
@@ -23,7 +23,7 @@ const requiredNodeVersion = '18'; // This is the minimum node version that must
|
|
|
23
23
|
const dependenciesPackageJson = {
|
|
24
24
|
'@iobroker/adapter-core': {
|
|
25
25
|
required: '3.2.3',
|
|
26
|
-
recommended: '3.
|
|
26
|
+
recommended: '3.3.1',
|
|
27
27
|
onlyWWW: false,
|
|
28
28
|
},
|
|
29
29
|
};
|
|
@@ -640,16 +640,16 @@ async function checkPackageJson(context) {
|
|
|
640
640
|
common.debug(`node check: ${JSON.stringify(match.groups)}`);
|
|
641
641
|
if (match.groups.cmp !== '>' && match.groups.cmp !== '>=') {
|
|
642
642
|
context.warnings.push(
|
|
643
|
-
`[W028] Minimum node.js version ${recommendedNodeVersion} recommended. Please
|
|
643
|
+
`[W028] Minimum node.js version ${recommendedNodeVersion} recommended. Please change "{'engines' : { 'node' >= '${match.groups.vers}' } }" to "{'engines' : { 'node' >= '${recommendedNodeVersion}' } }" at package.json.`,
|
|
644
644
|
);
|
|
645
645
|
} else {
|
|
646
646
|
if (!compareVersions.compare(match.groups.vers, requiredNodeVersion, '>=')) {
|
|
647
647
|
context.errors.push(
|
|
648
|
-
`[E029] Node.js ${requiredNodeVersion} is required as minimum, node.js ${recommendedNodeVersion} is recommended. Please
|
|
648
|
+
`[E029] Node.js ${requiredNodeVersion} is required as minimum, node.js ${recommendedNodeVersion} is recommended. Please change "{'engines' : { 'node' >= '${match.groups.vers}' } }" to "{'engines' : { 'node' >= '${requiredNodeVersion}' } }" at package.json.`,
|
|
649
649
|
);
|
|
650
650
|
} else if (!compareVersions.compare(match.groups.vers, recommendedNodeVersion, '>=')) {
|
|
651
651
|
context.warnings.push(
|
|
652
|
-
`[W028] Minimum node.js version ${recommendedNodeVersion} recommended. Please adapt "{'engines' : { 'node' >= '${match.groups.vers}' } }" at package.json.`,
|
|
652
|
+
`[W028] Minimum node.js version ${recommendedNodeVersion} recommended. Please adapt "{'engines' : { 'node' >= '${match.groups.vers}' } }" to "{'engines' : { 'node' >= '${recommendedNodeVersion}' } }" at package.json.`,
|
|
653
653
|
);
|
|
654
654
|
} else {
|
|
655
655
|
context.checks.push(
|
|
@@ -30,7 +30,7 @@ async function getIOPackageJson(context) {
|
|
|
30
30
|
const recommendedJsControllerVersion = '5.0.19';
|
|
31
31
|
let requiredJsControllerVersion = '5.0.19';
|
|
32
32
|
|
|
33
|
-
const recommendedAdminVersion = '7.
|
|
33
|
+
const recommendedAdminVersion = '7.6.17';
|
|
34
34
|
let requiredAdminVersion = '6.0.0'; // set to 6.17.14 if jsonConfig is used
|
|
35
35
|
|
|
36
36
|
const blacklistIOPackageJson = {
|
|
@@ -869,11 +869,11 @@ async function checkIOPackageJson(context) {
|
|
|
869
869
|
// context.errors.push(`[E186] "common.globalDependencies" must be an array at io-package.json`);
|
|
870
870
|
if (requiredAdminVersion !== recommendedAdminVersion) {
|
|
871
871
|
context.errors.push(
|
|
872
|
-
`[E190] admin dependency missing. admin ${requiredAdminVersion} is required as minimum, ${recommendedAdminVersion} is recommended. Please add to
|
|
872
|
+
`[E190] admin dependency missing. admin ${requiredAdminVersion} is required as minimum, ${recommendedAdminVersion} is recommended. Please add to globalDependencies at io-package.json.`,
|
|
873
873
|
);
|
|
874
874
|
} else {
|
|
875
875
|
context.errors.push(
|
|
876
|
-
`[E190] admin dependency missing. admin ${requiredAdminVersion} is required as minimum. Please add to
|
|
876
|
+
`[E190] admin dependency missing. admin ${requiredAdminVersion} is required as minimum. Please add to globalDependencies at io-package.json.`,
|
|
877
877
|
);
|
|
878
878
|
}
|
|
879
879
|
}
|
package/lib/M500__JsonConfig.js
CHANGED
package/lib/M900_GitNpmIgnore.js
CHANGED
|
@@ -129,7 +129,7 @@ async function checkNpmIgnore(context) {
|
|
|
129
129
|
// package.json files section is NOT used
|
|
130
130
|
if (!context.filesList.includes('/.npmignore')) {
|
|
131
131
|
context.errors.push(
|
|
132
|
-
`[E952] neither files section at package.json nor file .npmignore
|
|
132
|
+
`[E952] neither files section at package.json nor file .npmignore found. npm package will contain unwanted files.`,
|
|
133
133
|
);
|
|
134
134
|
} else {
|
|
135
135
|
context.warnings.push(`[W953] .npmignore found - consider using package.json object "files" instead.`);
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "4.0.
|
|
2
|
+
"version": "4.0.1",
|
|
3
3
|
"name": "@iobroker/repochecker",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"axios": "^1.
|
|
5
|
+
"axios": "^1.11.0",
|
|
6
6
|
"compare-versions": "^6.1.1",
|
|
7
7
|
"image-size": "^1.2.0",
|
|
8
8
|
"json5": "^2.2.3",
|
|
9
|
-
"semver": "^7.7.
|
|
9
|
+
"semver": "^7.7.2"
|
|
10
10
|
},
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"@alcalzone/release-script": "^3.8.0",
|
|
13
|
-
"@iobroker/eslint-config": "^2.0.
|
|
14
|
-
"@tsconfig/node20": "^20.1.
|
|
15
|
-
"@types/node": "^
|
|
13
|
+
"@iobroker/eslint-config": "^2.0.3",
|
|
14
|
+
"@tsconfig/node20": "^20.1.6",
|
|
15
|
+
"@types/node": "^24.2.0",
|
|
16
16
|
"@types/semver": "^7.7.0"
|
|
17
17
|
},
|
|
18
18
|
"publishConfig": {
|