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