Skip to content

chore: mark the vendored front-end bundles as vendored - #540

Merged
robsv merged 1 commit into
mainfrom
chore-linguist-vendored
Oct 7, 2026
Merged

robsv merged 1 commit into
mainfrom
chore-linguist-vendored

Conversation

@robsv

@robsv robsv commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator

GitHub reports this repository as 46% JavaScript. It is a Python project: 5,308,342 of the 5,328,166 bytes of JavaScript here are Swagger UI and the jQuery plugins, checked in as third-party bundles. Ours is 19,824 bytes - dis.js and tablesorter.js.

Linguist counts every tracked file unless told otherwise, and its built-in vendor list covers node_modules and friends, not a hand-placed api/static/swagger-ui. A .gitattributes marking those four directories linguist-vendored takes 5.7 MB of vendor code out of the language breakdown. The files stay in the tree and in diffs; only the statistics change.

Deliberately still counted: api/static/js/dis.js,
api/static/js/tablesorter.js, api/static/css/main.css and api/static/css/tablesorter-jrc1.css.

GitHub reports this repository as 46% JavaScript. It is a Python project:
5,308,342 of the 5,328,166 bytes of JavaScript here are Swagger UI and the
jQuery plugins, checked in as third-party bundles. Ours is 19,824 bytes -
dis.js and tablesorter.js.

Linguist counts every tracked file unless told otherwise, and its built-in
vendor list covers node_modules and friends, not a hand-placed
api/static/swagger-ui. A .gitattributes marking those four directories
linguist-vendored takes 5.7 MB of vendor code out of the language
breakdown. The files stay in the tree and in diffs; only the statistics
change.

Deliberately still counted: api/static/js/dis.js,
api/static/js/tablesorter.js, api/static/css/main.css and
api/static/css/tablesorter-jrc1.css.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@robsv
robsv merged commit b5cd1b0 into main Oct 7, 2026
2 checks passed
@robsv
robsv deleted the chore-linguist-vendored branch October 7, 2026 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant