Skip to content

Commit 7ee32ff

Browse files
Bill LeoutsakosBill Leoutsakos
authored andcommitted
refactor: remove obsolete broad design detection paths
1 parent 3c49d5b commit 7ee32ff

10 files changed

Lines changed: 118 additions & 763 deletions

File tree

bun.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

design-diff.config.json

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -126,30 +126,6 @@
126126
}
127127
],
128128
"documentationContent": {
129-
"roots": ["apps/docs/content/", "apps/sim/content/"],
130-
"frontmatterFields": [
131-
"title",
132-
"description",
133-
"author",
134-
"authors",
135-
"date",
136-
"updated",
137-
"publishedAt",
138-
"updatedAt",
139-
"readingTime",
140-
"tags",
141-
"category",
142-
"keywords",
143-
"slug",
144-
"canonical",
145-
"ogAlt",
146-
"about",
147-
"timeRequired",
148-
"faq",
149-
"draft",
150-
"featured",
151-
"technical"
152-
],
153129
"components": [
154130
{
155131
"module": "fumadocs-ui/components/callout",

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@
188188
"unified": "11.0.5",
189189
"unist-util-visit": "5.1.0",
190190
"vitest": "^4.1.0",
191-
"yaml": "2.9.0",
192191
"zod": "4.3.6"
193192
},
194193
"lint-staged": {

scripts/design-diff/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ scripts/design-diff/
153153
tailwind.ts Pinned compiler and trusted class helpers
154154
compare.ts, policy.ts, movement.ts Matching, decisions and categories
155155
group.ts, report.ts, semantic.ts Grouping, full hashes and bounded JSON
156-
inputs.ts, document-content.ts Documentation data handling
156+
inputs.ts Configured file inputs
157157
infrastructure.ts Rendering dependency diagnostics
158158
memory.ts, process.ts Resource handling
159159
types.ts, tsconfig.json Report contract and isolated type check

scripts/design-diff/analyze.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ export async function analyze(
156156
}
157157
try {
158158
if (scriptPattern.test(file)) {
159-
const defs = extractTsx(resolver, file, true)
159+
const defs = extractTsx(resolver, file)
160160
if (config.nativeRendering.includes(file))
161161
defs.push(
162162
review(
@@ -183,7 +183,7 @@ export async function analyze(
183183
/\.html?$/.test(file) ||
184184
(/\.mdx?$/.test(file) && config.renderedMarkdown.some((root) => file.startsWith(root)))
185185
)
186-
return normalizeAll(extractDocument(source, file, resolver, true))
186+
return normalizeAll(extractDocument(source, file, resolver))
187187
if (/\.(?:scss|sass|less|vue|svelte)$/.test(file))
188188
return [review(file, entry.oid, 'Unsupported rendering syntax')]
189189
} catch {

scripts/design-diff/document-content.ts

Lines changed: 0 additions & 197 deletions
This file was deleted.

0 commit comments

Comments
 (0)