@arjunkhera/atlas 0.4.13 → 0.4.14
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/door/lib/upkeep.mjs
CHANGED
|
@@ -16,8 +16,7 @@
|
|
|
16
16
|
// 4. Doc sources (roadmap R39, lib/doc-sources.mjs). Each doc and each
|
|
17
17
|
// procedure names its code, or why it names none, and each named path
|
|
18
18
|
// exists. With --event, each doc whose code the pull request changes is
|
|
19
|
-
// updated in it, or marked "still true" in its text.
|
|
20
|
-
// R39 line 3 is read, that last rule only reports (TOUCHED_DOCS_GATE).
|
|
19
|
+
// updated in it, or marked "still true" in its text (TOUCHED_DOCS_GATE).
|
|
21
20
|
//
|
|
22
21
|
// It reads the tree and the event file, and writes nothing.
|
|
23
22
|
import { readFileSync, existsSync, readdirSync, statSync } from 'node:fs';
|
|
@@ -25,9 +24,11 @@ import { join, dirname, posix, resolve } from 'node:path';
|
|
|
25
24
|
import { listChanged } from './changed-tests.mjs';
|
|
26
25
|
import { docSourceFindings, replay } from './doc-sources.mjs';
|
|
27
26
|
|
|
28
|
-
// R39 line 4 gates only after the replay of line 3.
|
|
29
|
-
//
|
|
30
|
-
|
|
27
|
+
// R39 line 4 gates only after the replay of line 3. The replay of the last 30
|
|
28
|
+
// merges (atlas#225): rule "file" pulled in 81 docs over 24 merges, 58 not
|
|
29
|
+
// updated; rule "line" pulled in none. So rule "file" gates. False makes a
|
|
30
|
+
// touched doc with no update and no mark a note, not a finding.
|
|
31
|
+
export const TOUCHED_DOCS_GATE = true;
|
|
31
32
|
|
|
32
33
|
const INDEX = 'docs/index.md';
|
|
33
34
|
const SKIP_DIRS = new Set(['node_modules', 'archive', 'fixtures']);
|
package/package.json
CHANGED