@avi2dg/checks 0.38.0 → 0.38.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/CHANGELOG.md +8 -0
- package/dist/templates/readme.md +4 -1
- package/docs/gates/checks-docs.md +1 -1
- package/package.json +1 -1
- package/src/docs/doc-templates.ts +10 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Every release of `@avi2dg/checks`, newest first, written by the release from its conventional commits.
|
|
4
4
|
|
|
5
|
+
## 0.38.1
|
|
6
|
+
|
|
7
|
+
Released 2026-10-11.
|
|
8
|
+
|
|
9
|
+
### Fixes
|
|
10
|
+
|
|
11
|
+
- **docs:** derive README what-you-see line from source, make Where things are optional [#142](https://github.com/avi2d/checks/pull/142)
|
|
12
|
+
|
|
5
13
|
## 0.38.0
|
|
6
14
|
|
|
7
15
|
Released 2026-10-10.
|
package/dist/templates/readme.md
CHANGED
|
@@ -13,7 +13,8 @@ To install <name>:
|
|
|
13
13
|
1. <step>
|
|
14
14
|
1. <step>
|
|
15
15
|
|
|
16
|
-
<What you see when it worked.>
|
|
16
|
+
<What you see when it worked, written only from what the source shows.>
|
|
17
|
+
<Leave this line out when the source shows nothing.>
|
|
17
18
|
|
|
18
19
|
## <Everyday task, verb first, or what the reader looks up>
|
|
19
20
|
|
|
@@ -26,6 +27,8 @@ To <do the task>:
|
|
|
26
27
|
|
|
27
28
|
## Where things are
|
|
28
29
|
|
|
30
|
+
<Leave this section out when there is no path worth mapping yet.>
|
|
31
|
+
|
|
29
32
|
| Path | What it holds |
|
|
30
33
|
| --- | --- |
|
|
31
34
|
|
|
@@ -201,7 +201,7 @@ With one it is that commit against its parent, or against the empty tree for a r
|
|
|
201
201
|
|
|
202
202
|
```
|
|
203
203
|
docs: 6 violation(s):
|
|
204
|
-
README.md:1: lacks `##
|
|
204
|
+
README.md:1: lacks `## Before you begin`
|
|
205
205
|
README.md:12: carries `;`, a semicolon. Use two sentences
|
|
206
206
|
README.md:14: carries `former`, a report about the past. Say what is true now, and leave what changed to the changelog, a commit message or a decision record
|
|
207
207
|
README.md:20: names `scripts/bild.ts`, which is not in the repository
|
package/package.json
CHANGED
|
@@ -67,13 +67,21 @@ export const TEMPLATES: Readonly<Record<Kind, Template>> = {
|
|
|
67
67
|
lead: ["<The concept in two to four sentences: what this is, who it is for, why you would use it.>"],
|
|
68
68
|
sections: [
|
|
69
69
|
BEFORE_YOU_BEGIN,
|
|
70
|
-
fixed("Install", REQUIRED, [
|
|
70
|
+
fixed("Install", REQUIRED, [
|
|
71
|
+
"To install <name>:",
|
|
72
|
+
"",
|
|
73
|
+
"1. <step>",
|
|
74
|
+
"1. <step>",
|
|
75
|
+
"",
|
|
76
|
+
"<What you see when it worked, written only from what the source shows.>",
|
|
77
|
+
"<Leave this line out when the source shows nothing.>",
|
|
78
|
+
]),
|
|
71
79
|
open("<Everyday task, verb first, or what the reader looks up>", "any", REQUIRED, [
|
|
72
80
|
...STEPS,
|
|
73
81
|
"",
|
|
74
82
|
"<Or, for what the reader looks up, a table or a list with no steps.>",
|
|
75
83
|
]),
|
|
76
|
-
fixed("Where things are",
|
|
84
|
+
fixed("Where things are", optional("there is no path worth mapping yet"), ["| Path | What it holds |", "| --- | --- |"]),
|
|
77
85
|
TROUBLESHOOTING,
|
|
78
86
|
RELATED_TOPICS,
|
|
79
87
|
],
|