Mark markdown-viewer bundles as vendored/generated for Linguist (#5212)

Resources/markdown-viewer/ carries ~25MB of vendored third-party runtime JS
(mermaid, vega, highlight.js, the Pierre/Shiki diff renderer with per-language
grammars + WASM) plus the generated diff-viewer React app build. That now
outweighs the Swift source, so GitHub Linguist reported the repo as mostly
JavaScript. Mark the directory linguist-vendored (and the built app
linguist-generated) so the language stats reflect the actual source. No runtime
or build change.

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
This commit is contained in:
Lawrence Chen
2026-06-02 05:41:04 -07:00
committed by GitHub
co-authored by Claude Opus 4.8
parent c4c9129afc
commit 9f0ff9514f
+7
View File
@@ -1 +1,8 @@
Resources/markdown-viewer/diff-viewer/**/*.mjs -whitespace
# Resources/markdown-viewer holds vendored third-party runtime bundles (mermaid,
# vega, highlight.js, the Pierre/Shiki diff renderer + per-language grammars and
# WASM) plus the generated diff-viewer React app build. They are not authored
# source, so exclude them from GitHub Linguist's language stats.
Resources/markdown-viewer/** linguist-vendored
Resources/markdown-viewer/diff-viewer-app/** linguist-generated