@ankhorage/renovate 0.1.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.
Files changed (41) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/LICENSE +21 -0
  3. package/README.md +54 -0
  4. package/default.json +53 -0
  5. package/devtools-owner.json +25 -0
  6. package/dist/changeset-workflow.test.d.ts +2 -0
  7. package/dist/changeset-workflow.test.d.ts.map +1 -0
  8. package/dist/changeset-workflow.test.js +135 -0
  9. package/dist/changeset-workflow.test.js.map +1 -0
  10. package/dist/default.test.d.ts +2 -0
  11. package/dist/default.test.d.ts.map +1 -0
  12. package/dist/default.test.js +139 -0
  13. package/dist/default.test.js.map +1 -0
  14. package/dist/index.d.ts +8 -0
  15. package/dist/index.d.ts.map +1 -0
  16. package/dist/index.js +8 -0
  17. package/dist/index.js.map +1 -0
  18. package/dist/index.test.d.ts +2 -0
  19. package/dist/index.test.d.ts.map +1 -0
  20. package/dist/index.test.js +6 -0
  21. package/dist/index.test.js.map +1 -0
  22. package/examples/devtools-renovate.json5 +14 -0
  23. package/examples/renovate.json5 +17 -0
  24. package/package.json +72 -0
  25. package/paradox/badges/build.svg +7 -0
  26. package/paradox/badges/docs.svg +7 -0
  27. package/paradox/badges/eslint.svg +7 -0
  28. package/paradox/badges/license.svg +7 -0
  29. package/paradox/badges/npm.svg +7 -0
  30. package/paradox/badges/prettier.svg +7 -0
  31. package/paradox/badges/runtime.svg +7 -0
  32. package/paradox/badges/tests.svg +7 -0
  33. package/paradox/badges/typescript.svg +7 -0
  34. package/paradox/components.md +1 -0
  35. package/paradox/diagrams/architecture-overview.mmd +12 -0
  36. package/paradox/diagrams/export-graph.mmd +5 -0
  37. package/paradox/diagrams/module-relationships.mmd +6 -0
  38. package/paradox/exports.json +1 -0
  39. package/paradox/exports.md +1 -0
  40. package/paradox/index.html +348 -0
  41. package/paradox/paradox.json +283 -0
package/package.json ADDED
@@ -0,0 +1,72 @@
1
+ {
2
+ "name": "@ankhorage/renovate",
3
+ "version": "0.1.1",
4
+ "description": "Ankhorage dependency update policy and automation powered by Renovate.",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "sideEffects": false,
8
+ "homepage": "https://github.com/ankhorage/renovate#readme",
9
+ "bugs": {
10
+ "url": "https://github.com/ankhorage/renovate/issues"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/ankhorage/renovate.git"
15
+ },
16
+ "keywords": [
17
+ "ankhorage",
18
+ "renovate",
19
+ "dependency-management",
20
+ "automation",
21
+ "github-actions",
22
+ "bun"
23
+ ],
24
+ "main": "./dist/index.js",
25
+ "types": "./dist/index.d.ts",
26
+ "files": [
27
+ "dist",
28
+ "default.json",
29
+ "devtools-owner.json",
30
+ "examples",
31
+ "paradox",
32
+ "README.md",
33
+ "CHANGELOG.md",
34
+ "LICENSE"
35
+ ],
36
+ "exports": {
37
+ ".": {
38
+ "types": "./dist/index.d.ts",
39
+ "default": "./dist/index.js"
40
+ },
41
+ "./default.json": "./default.json",
42
+ "./devtools-owner.json": "./devtools-owner.json",
43
+ "./package.json": "./package.json"
44
+ },
45
+ "publishConfig": {
46
+ "access": "public"
47
+ },
48
+ "scripts": {
49
+ "build": "rm -rf dist tsconfig.tsbuildinfo && bun x tsc -p tsconfig.json",
50
+ "changeset": "changeset",
51
+ "changeset:status": "changeset status --since=origin/main",
52
+ "docs": "paradox",
53
+ "test": "bun test src && RENOVATE_X_IGNORE_RE2=true renovate-config-validator default.json devtools-owner.json",
54
+ "typecheck": "bun x tsc --noEmit -p tsconfig.json",
55
+ "version-packages": "changeset version",
56
+ "lint": "ankhorage-eslint . --max-warnings=0",
57
+ "lint:fix": "ankhorage-eslint . --fix --max-warnings=0",
58
+ "format": "ankhorage-prettier --write .",
59
+ "format:check": "ankhorage-prettier --check .",
60
+ "knip:check": "ankhorage-knip"
61
+ },
62
+ "devDependencies": {
63
+ "@ankhorage/devtools": "^1.7.0",
64
+ "@ankhorage/paradox": "^0.1.24",
65
+ "@changesets/cli": "^3.0.1",
66
+ "@types/bun": "^1.3.14",
67
+ "@types/node": "^24.13.3",
68
+ "renovate": "^44.43.1",
69
+ "typescript": "~6.0.3"
70
+ },
71
+ "packageManager": "bun@1.3.14"
72
+ }
@@ -0,0 +1,7 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="104" height="20" role="img" aria-label="build: checked">
2
+ <title>build: checked</title>
3
+ <rect width="45" height="20" fill="#374151"/>
4
+ <rect x="45" width="59" height="20" fill="#0a7f3f"/>
5
+ <text x="22.5" y="14" fill="#ffffff" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11" text-anchor="middle">build</text>
6
+ <text x="74.5" y="14" fill="#ffffff" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11" text-anchor="middle">checked</text>
7
+ </svg>
@@ -0,0 +1,7 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="97" height="20" role="img" aria-label="docs: paradox">
2
+ <title>docs: paradox</title>
3
+ <rect width="38" height="20" fill="#374151"/>
4
+ <rect x="38" width="59" height="20" fill="#0f766e"/>
5
+ <text x="19" y="14" fill="#ffffff" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11" text-anchor="middle">docs</text>
6
+ <text x="67.5" y="14" fill="#ffffff" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11" text-anchor="middle">paradox</text>
7
+ </svg>
@@ -0,0 +1,7 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="111" height="20" role="img" aria-label="eslint: checked">
2
+ <title>eslint: checked</title>
3
+ <rect width="52" height="20" fill="#374151"/>
4
+ <rect x="52" width="59" height="20" fill="#0a7f3f"/>
5
+ <text x="26" y="14" fill="#ffffff" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11" text-anchor="middle">eslint</text>
6
+ <text x="81.5" y="14" fill="#ffffff" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11" text-anchor="middle">checked</text>
7
+ </svg>
@@ -0,0 +1,7 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="97" height="20" role="img" aria-label="license: MIT">
2
+ <title>license: MIT</title>
3
+ <rect width="59" height="20" fill="#374151"/>
4
+ <rect x="59" width="38" height="20" fill="#2563eb"/>
5
+ <text x="29.5" y="14" fill="#ffffff" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11" text-anchor="middle">license</text>
6
+ <text x="78" y="14" fill="#ffffff" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11" text-anchor="middle">MIT</text>
7
+ </svg>
@@ -0,0 +1,7 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="90" height="20" role="img" aria-label="npm: v0.1.1">
2
+ <title>npm: v0.1.1</title>
3
+ <rect width="38" height="20" fill="#374151"/>
4
+ <rect x="38" width="52" height="20" fill="#cb3837"/>
5
+ <text x="19" y="14" fill="#ffffff" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11" text-anchor="middle">npm</text>
6
+ <text x="64" y="14" fill="#ffffff" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11" text-anchor="middle">v0.1.1</text>
7
+ </svg>
@@ -0,0 +1,7 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="125" height="20" role="img" aria-label="prettier: checked">
2
+ <title>prettier: checked</title>
3
+ <rect width="66" height="20" fill="#374151"/>
4
+ <rect x="66" width="59" height="20" fill="#0a7f3f"/>
5
+ <text x="33" y="14" fill="#ffffff" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11" text-anchor="middle">prettier</text>
6
+ <text x="95.5" y="14" fill="#ffffff" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11" text-anchor="middle">checked</text>
7
+ </svg>
@@ -0,0 +1,7 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="97" height="20" role="img" aria-label="runtime: bun">
2
+ <title>runtime: bun</title>
3
+ <rect width="59" height="20" fill="#374151"/>
4
+ <rect x="59" width="38" height="20" fill="#f59e0b"/>
5
+ <text x="29.5" y="14" fill="#ffffff" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11" text-anchor="middle">runtime</text>
6
+ <text x="78" y="14" fill="#ffffff" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11" text-anchor="middle">bun</text>
7
+ </svg>
@@ -0,0 +1,7 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="104" height="20" role="img" aria-label="tests: checked">
2
+ <title>tests: checked</title>
3
+ <rect width="45" height="20" fill="#374151"/>
4
+ <rect x="45" width="59" height="20" fill="#0a7f3f"/>
5
+ <text x="22.5" y="14" fill="#ffffff" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11" text-anchor="middle">tests</text>
6
+ <text x="74.5" y="14" fill="#ffffff" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11" text-anchor="middle">checked</text>
7
+ </svg>
@@ -0,0 +1,7 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="132" height="20" role="img" aria-label="typescript: strict">
2
+ <title>typescript: strict</title>
3
+ <rect width="80" height="20" fill="#374151"/>
4
+ <rect x="80" width="52" height="20" fill="#2563eb"/>
5
+ <text x="40" y="14" fill="#ffffff" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11" text-anchor="middle">typescript</text>
6
+ <text x="106" y="14" fill="#ffffff" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11" text-anchor="middle">strict</text>
7
+ </svg>
@@ -0,0 +1 @@
1
+ # Components
@@ -0,0 +1,12 @@
1
+ graph TD
2
+ package__ankhorage_renovate["@ankhorage/renovate"]
3
+ entrypoint_src_index_ts["src/index.ts"]
4
+ package__ankhorage_renovate --> entrypoint_src_index_ts
5
+ module_src_changeset_workflow_test_ts["src/changeset-workflow.test.ts"]
6
+ package__ankhorage_renovate -.-> module_src_changeset_workflow_test_ts
7
+ module_src_default_test_ts["src/default.test.ts"]
8
+ package__ankhorage_renovate -.-> module_src_default_test_ts
9
+ module_src_index_test_ts["src/index.test.ts"]
10
+ package__ankhorage_renovate -.-> module_src_index_test_ts
11
+ module_src_index_test_ts --> module_src_index_ts
12
+ module_src_index_ts["src/index.ts"]
@@ -0,0 +1,5 @@
1
+ graph LR
2
+ module_src_changeset_workflow_test_ts["src/changeset-workflow.test.ts"]
3
+ module_src_default_test_ts["src/default.test.ts"]
4
+ module_src_index_test_ts["src/index.test.ts"]
5
+ module_src_index_ts["src/index.ts"]
@@ -0,0 +1,6 @@
1
+ graph LR
2
+ module_src_changeset_workflow_test_ts["src/changeset-workflow.test.ts"]
3
+ module_src_default_test_ts["src/default.test.ts"]
4
+ module_src_index_test_ts["src/index.test.ts"]
5
+ module_src_index_ts["src/index.ts"]
6
+ module_src_index_test_ts --> module_src_index_ts
@@ -0,0 +1 @@
1
+ []
@@ -0,0 +1 @@
1
+ # Public API
@@ -0,0 +1,348 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <title>@ankhorage/renovate • Paradox</title>
7
+ <style>
8
+ :root {
9
+ color-scheme: light;
10
+ font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
11
+ background: #f5f7fb;
12
+ color: #11203b;
13
+ }
14
+ * { box-sizing: border-box; }
15
+ body { margin: 0; }
16
+ a { color: #2459d3; text-decoration: none; }
17
+ a:hover { text-decoration: underline; }
18
+ button { font: inherit; }
19
+ code, pre { font-family: "SFMono-Regular", ui-monospace, SFMono-Regular, Menlo, monospace; }
20
+ .layout {
21
+ display: grid;
22
+ grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
23
+ min-height: 100vh;
24
+ }
25
+ .sidebar {
26
+ padding: 1.5rem;
27
+ border-right: 1px solid #d8dfec;
28
+ background: #ffffff;
29
+ position: sticky;
30
+ top: 0;
31
+ max-height: 100vh;
32
+ overflow: auto;
33
+ }
34
+ .content { padding: 2rem; }
35
+ .panel, .item {
36
+ background: #ffffff;
37
+ border: 1px solid #d8dfec;
38
+ border-radius: 0.9rem;
39
+ padding: 1rem 1.2rem;
40
+ margin-bottom: 1rem;
41
+ box-shadow: 0 8px 24px rgba(17, 32, 59, 0.06);
42
+ }
43
+ .summary {
44
+ display: grid;
45
+ gap: 1rem;
46
+ grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
47
+ }
48
+ .summary strong {
49
+ display: block;
50
+ font-size: 1.5rem;
51
+ }
52
+ .search {
53
+ width: 100%;
54
+ padding: 0.75rem 0.9rem;
55
+ border-radius: 0.75rem;
56
+ border: 1px solid #c7d2e5;
57
+ margin: 1rem 0 1.5rem;
58
+ }
59
+ .nav-list, .meta-list {
60
+ list-style: none;
61
+ padding: 0;
62
+ margin: 0;
63
+ }
64
+ .nav-list li + li { margin-top: 0.5rem; }
65
+ .nav-button {
66
+ width: 100%;
67
+ display: block;
68
+ border: 0;
69
+ border-radius: 0.7rem;
70
+ background: transparent;
71
+ color: #24427a;
72
+ cursor: pointer;
73
+ padding: 0.55rem 0.7rem;
74
+ text-align: left;
75
+ }
76
+ .nav-button:hover, .nav-button[aria-current="page"] {
77
+ background: #e8eefb;
78
+ text-decoration: none;
79
+ }
80
+ .nav-button small {
81
+ display: block;
82
+ color: #5e6d8c;
83
+ margin-top: 0.15rem;
84
+ }
85
+ .view[hidden] { display: none; }
86
+ .muted { color: #5e6d8c; }
87
+ .chips { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; list-style: none; }
88
+ .chip {
89
+ border-radius: 999px;
90
+ background: #e8eefb;
91
+ color: #24427a;
92
+ padding: 0.25rem 0.65rem;
93
+ font-size: 0.85rem;
94
+ }
95
+ table { width: 100%; border-collapse: collapse; margin-top: 0.8rem; }
96
+ th, td { padding: 0.6rem; border-bottom: 1px solid #e2e7f2; text-align: left; vertical-align: top; }
97
+ pre {
98
+ overflow: auto;
99
+ border-radius: 0.75rem;
100
+ background: #0f1729;
101
+ color: #e7edf7;
102
+ padding: 1rem;
103
+ }
104
+ .empty { font-style: italic; color: #6f7f9c; }
105
+ .mermaid { margin: 1rem 0; overflow: auto; }
106
+ details > summary { cursor: pointer; color: #5e6d8c; font-size: 0.9rem; margin-top: 0.5rem; user-select: none; }
107
+ @media (max-width: 900px) {
108
+ .layout { grid-template-columns: 1fr; }
109
+ .sidebar { position: static; max-height: none; border-right: 0; border-bottom: 1px solid #d8dfec; }
110
+ .content { padding: 1rem; }
111
+ }
112
+ </style>
113
+ </head>
114
+ <body>
115
+ <div class="layout">
116
+ <aside class="sidebar">
117
+ <p class="muted">Generated with Paradox</p>
118
+ <h1>@ankhorage/renovate</h1>
119
+ <p>Ankhorage dependency update policy and automation powered by Renovate.</p>
120
+ <input id="search" class="search" type="search" placeholder="Search current view" />
121
+ <nav aria-label="Documentation sections">
122
+ <ul class="nav-list">
123
+ <li>
124
+ <button class="nav-button" type="button" data-target="home" aria-current="page">
125
+ Home
126
+ <small>Overview, CLI, public API, diagrams</small>
127
+ </button>
128
+ </li>
129
+ <li>
130
+ <button class="nav-button" type="button" data-target="src/changeset-workflow.test.ts">
131
+ src/changeset-workflow.test.ts
132
+ <small>1 function</small>
133
+ </button>
134
+ </li><li>
135
+ <button class="nav-button" type="button" data-target="src/default.test.ts">
136
+ src/default.test.ts
137
+ <small>5 functions</small>
138
+ </button>
139
+ </li>
140
+ </ul>
141
+ </nav>
142
+ </aside>
143
+ <main class="content">
144
+ <section id="view-home" class="view" data-view="home">
145
+
146
+ <section class="panel">
147
+ <h2>Package overview</h2>
148
+ <div class="summary">
149
+ <div><strong>0</strong><span class="muted">public exports</span></div>
150
+ <div><strong>0</strong><span class="muted">components</span></div>
151
+ <div><strong>4</strong><span class="muted">modules</span></div>
152
+ <div><strong>1</strong><span class="muted">entrypoints</span></div>
153
+ </div>
154
+ <h3>Entrypoints</h3>
155
+ <ul class="meta-list">
156
+ <li><code>src/index.ts</code></li>
157
+ </ul>
158
+ </section>
159
+
160
+ <section class="panel">
161
+ <h2>Modules</h2>
162
+ <article class="item" data-search="src/changeset-workflow.test.ts">
163
+ <h3>src/changeset-workflow.test.ts</h3>
164
+ <p class="muted">Referenced module</p>
165
+ <p><strong>Dependencies:</strong> <span class="empty">None</span></p>
166
+ <p><strong>Exports:</strong> <span class="empty">None</span></p>
167
+ </article><article class="item" data-search="src/default.test.ts">
168
+ <h3>src/default.test.ts</h3>
169
+ <p class="muted">Referenced module</p>
170
+ <p><strong>Dependencies:</strong> <span class="empty">None</span></p>
171
+ <p><strong>Exports:</strong> <span class="empty">None</span></p>
172
+ </article><article class="item" data-search="src/index.test.ts src/index.ts">
173
+ <h3>src/index.test.ts</h3>
174
+ <p class="muted">Referenced module</p>
175
+ <p><strong>Dependencies:</strong> <code>src/index.ts</code></p>
176
+ <p><strong>Exports:</strong> <span class="empty">None</span></p>
177
+ </article><article class="item" data-search="src/index.ts">
178
+ <h3>src/index.ts</h3>
179
+ <p class="muted">Configured entrypoint</p>
180
+ <p><strong>Dependencies:</strong> <span class="empty">None</span></p>
181
+ <p><strong>Exports:</strong> <span class="empty">None</span></p>
182
+ </article>
183
+ </section>
184
+ <section class="panel">
185
+ <h2>Public API</h2>
186
+
187
+ </section>
188
+ <section class="panel">
189
+ <h2>Component registry</h2>
190
+ <p class="empty">No components were detected.</p>
191
+ </section>
192
+ <section class="panel">
193
+ <h2>Diagrams</h2>
194
+ <article class="item" data-search="Architecture overview diagrams/architecture-overview.mmd">
195
+ <h3>Architecture overview</h3>
196
+ <p class="muted"><code>diagrams/architecture-overview.mmd</code></p>
197
+ <div class="mermaid">graph TD
198
+ package__ankhorage_renovate[&quot;@ankhorage/renovate&quot;]
199
+ entrypoint_src_index_ts[&quot;src/index.ts&quot;]
200
+ package__ankhorage_renovate --&gt; entrypoint_src_index_ts
201
+ module_src_changeset_workflow_test_ts[&quot;src/changeset-workflow.test.ts&quot;]
202
+ package__ankhorage_renovate -.-&gt; module_src_changeset_workflow_test_ts
203
+ module_src_default_test_ts[&quot;src/default.test.ts&quot;]
204
+ package__ankhorage_renovate -.-&gt; module_src_default_test_ts
205
+ module_src_index_test_ts[&quot;src/index.test.ts&quot;]
206
+ package__ankhorage_renovate -.-&gt; module_src_index_test_ts
207
+ module_src_index_test_ts --&gt; module_src_index_ts
208
+ module_src_index_ts[&quot;src/index.ts&quot;]
209
+ </div>
210
+ <details>
211
+ <summary>View Mermaid source</summary>
212
+ <pre>graph TD
213
+ package__ankhorage_renovate[&quot;@ankhorage/renovate&quot;]
214
+ entrypoint_src_index_ts[&quot;src/index.ts&quot;]
215
+ package__ankhorage_renovate --&gt; entrypoint_src_index_ts
216
+ module_src_changeset_workflow_test_ts[&quot;src/changeset-workflow.test.ts&quot;]
217
+ package__ankhorage_renovate -.-&gt; module_src_changeset_workflow_test_ts
218
+ module_src_default_test_ts[&quot;src/default.test.ts&quot;]
219
+ package__ankhorage_renovate -.-&gt; module_src_default_test_ts
220
+ module_src_index_test_ts[&quot;src/index.test.ts&quot;]
221
+ package__ankhorage_renovate -.-&gt; module_src_index_test_ts
222
+ module_src_index_test_ts --&gt; module_src_index_ts
223
+ module_src_index_ts[&quot;src/index.ts&quot;]
224
+ </pre>
225
+ </details>
226
+ </article><article class="item" data-search="Module relationships diagrams/module-relationships.mmd">
227
+ <h3>Module relationships</h3>
228
+ <p class="muted"><code>diagrams/module-relationships.mmd</code></p>
229
+ <div class="mermaid">graph LR
230
+ module_src_changeset_workflow_test_ts[&quot;src/changeset-workflow.test.ts&quot;]
231
+ module_src_default_test_ts[&quot;src/default.test.ts&quot;]
232
+ module_src_index_test_ts[&quot;src/index.test.ts&quot;]
233
+ module_src_index_ts[&quot;src/index.ts&quot;]
234
+ module_src_index_test_ts --&gt; module_src_index_ts
235
+ </div>
236
+ <details>
237
+ <summary>View Mermaid source</summary>
238
+ <pre>graph LR
239
+ module_src_changeset_workflow_test_ts[&quot;src/changeset-workflow.test.ts&quot;]
240
+ module_src_default_test_ts[&quot;src/default.test.ts&quot;]
241
+ module_src_index_test_ts[&quot;src/index.test.ts&quot;]
242
+ module_src_index_ts[&quot;src/index.ts&quot;]
243
+ module_src_index_test_ts --&gt; module_src_index_ts
244
+ </pre>
245
+ </details>
246
+ </article><article class="item" data-search="Export graph diagrams/export-graph.mmd">
247
+ <h3>Export graph</h3>
248
+ <p class="muted"><code>diagrams/export-graph.mmd</code></p>
249
+ <div class="mermaid">graph LR
250
+ module_src_changeset_workflow_test_ts[&quot;src/changeset-workflow.test.ts&quot;]
251
+ module_src_default_test_ts[&quot;src/default.test.ts&quot;]
252
+ module_src_index_test_ts[&quot;src/index.test.ts&quot;]
253
+ module_src_index_ts[&quot;src/index.ts&quot;]
254
+ </div>
255
+ <details>
256
+ <summary>View Mermaid source</summary>
257
+ <pre>graph LR
258
+ module_src_changeset_workflow_test_ts[&quot;src/changeset-workflow.test.ts&quot;]
259
+ module_src_default_test_ts[&quot;src/default.test.ts&quot;]
260
+ module_src_index_test_ts[&quot;src/index.test.ts&quot;]
261
+ module_src_index_ts[&quot;src/index.ts&quot;]
262
+ </pre>
263
+ </details>
264
+ </article>
265
+ </section>
266
+ </section>
267
+ <section id="view-src-changeset-workflow-test-ts" class="view" data-view="src/changeset-workflow.test.ts" hidden>
268
+ <section class="panel">
269
+ <h2>src/changeset-workflow.test.ts</h2>
270
+ <article class="item" data-search="resolveFixtureVersion src/changeset-workflow.test.ts ">
271
+ <h3>resolveFixtureVersion</h3>
272
+ <p class="muted"><code>src/changeset-workflow.test.ts:88:1</code></p>
273
+ <p class="empty">No description available.</p>
274
+ </article>
275
+ </section>
276
+ </section><section id="view-src-default-test-ts" class="view" data-view="src/default.test.ts" hidden>
277
+ <section class="panel">
278
+ <h2>src/default.test.ts</h2>
279
+ <article class="item" data-search="dependency src/default.test.ts ">
280
+ <h3>dependency</h3>
281
+ <p class="muted"><code>src/default.test.ts:155:1</code></p>
282
+ <p class="empty">No description available.</p>
283
+ </article><article class="item" data-search="matchesRule src/default.test.ts ">
284
+ <h3>matchesRule</h3>
285
+ <p class="muted"><code>src/default.test.ts:166:1</code></p>
286
+ <p class="empty">No description available.</p>
287
+ </article><article class="item" data-search="matches src/default.test.ts ">
288
+ <h3>matches</h3>
289
+ <p class="muted"><code>src/default.test.ts:176:1</code></p>
290
+ <p class="empty">No description available.</p>
291
+ </article><article class="item" data-search="readPreset src/default.test.ts ">
292
+ <h3>readPreset</h3>
293
+ <p class="muted"><code>src/default.test.ts:186:1</code></p>
294
+ <p class="empty">No description available.</p>
295
+ </article><article class="item" data-search="resolveRules src/default.test.ts ">
296
+ <h3>resolveRules</h3>
297
+ <p class="muted"><code>src/default.test.ts:190:1</code></p>
298
+ <p class="empty">No description available.</p>
299
+ </article>
300
+ </section>
301
+ </section>
302
+ </main>
303
+ </div>
304
+ <script>
305
+ const search = document.getElementById('search');
306
+ const navButtons = Array.from(document.querySelectorAll('[data-target]'));
307
+ const views = Array.from(document.querySelectorAll('[data-view]'));
308
+
309
+ function getActiveView() {
310
+ return document.querySelector('[data-view]:not([hidden])');
311
+ }
312
+
313
+ function applySearch() {
314
+ const value = search?.value.trim().toLowerCase() || '';
315
+ const activeView = getActiveView();
316
+ const items = Array.from(activeView?.querySelectorAll('[data-search]') || []);
317
+
318
+ for (const item of items) {
319
+ const haystack = (item.getAttribute('data-search') || '').toLowerCase();
320
+ item.style.display = value === '' || haystack.includes(value) ? '' : 'none';
321
+ }
322
+ }
323
+
324
+ for (const button of navButtons) {
325
+ button.addEventListener('click', () => {
326
+ const target = button.getAttribute('data-target');
327
+
328
+ for (const view of views) {
329
+ view.hidden = view.getAttribute('data-view') !== target;
330
+ }
331
+
332
+ for (const item of navButtons) {
333
+ item.setAttribute('aria-current', item === button ? 'page' : 'false');
334
+ }
335
+
336
+ if (search) search.value = '';
337
+ applySearch();
338
+ });
339
+ }
340
+
341
+ search?.addEventListener('input', applySearch);
342
+ </script>
343
+ <script type="module">
344
+ import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs';
345
+ mermaid.initialize({ startOnLoad: true });
346
+ </script>
347
+ </body>
348
+ </html>