@iobroker/repochecker 5.17.1 → 5.17.2
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 -0
- package/lib/M6000_Readme.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -25,6 +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.17.2 (2026-05-30)
|
|
29
|
+
|
|
30
|
+
- (mcm1957) False positive when searching copyright line at README.md fixed.
|
|
31
|
+
|
|
28
32
|
### 5.17.1 (2026-05-30)
|
|
29
33
|
|
|
30
34
|
- (mcm1957) Disable [E6031] Changelog section in README.md is missing entry/entries.
|
package/lib/M6000_Readme.js
CHANGED
|
@@ -497,7 +497,7 @@ async function checkReadme(context) {
|
|
|
497
497
|
const commitYear = context.lastCommitYear || 0;
|
|
498
498
|
const readmeYear = getMaxYearFromText(text);
|
|
499
499
|
|
|
500
|
-
if (!/^Copyright\s+\(c\)\s+\d{4}(?:-\d{4})
|
|
500
|
+
if (!/^Copyright\s+\(c\)\s+\d{4}(?:-\d{4})?,?\s+.+$/im.test(text)) {
|
|
501
501
|
context.errors.push(
|
|
502
502
|
'[E6033] "## License" section in README.md must contain a copyright line like "Copyright (c) 2026 iobroker-community-adapters".',
|
|
503
503
|
);
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "5.17.
|
|
2
|
+
"version": "5.17.2",
|
|
3
3
|
"name": "@iobroker/repochecker",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"ajv": "^8.20.0",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"semver": "^7.7.4"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@alcalzone/release-script": "^5.
|
|
16
|
-
"@iobroker/eslint-config": "^2.
|
|
15
|
+
"@alcalzone/release-script": "^5.2.0",
|
|
16
|
+
"@iobroker/eslint-config": "^2.3.4",
|
|
17
17
|
"@tsconfig/node20": "^20.1.9",
|
|
18
18
|
"@types/node": "^22.19.17",
|
|
19
19
|
"@types/semver": "^7.7.1"
|