Skip to content

chore(repo): mark bundled JS/CSS libraries as linguist-vendored#58

Merged
bigin merged 1 commit into
masterfrom
chore/linguist-vendored-bundled-libs
May 16, 2026
Merged

chore(repo): mark bundled JS/CSS libraries as linguist-vendored#58
bigin merged 1 commit into
masterfrom
chore/linguist-vendored-bundled-libs

Conversation

@bigin
Copy link
Copy Markdown
Owner

@bigin bigin commented May 16, 2026

GitHub's language bar was showing JavaScript 48 % / PHP 40 % because Linguist counted ~895 KB of bundled libs (jQuery, jQuery-UI, Filepond, Remarkable, Prism, css-gg) alongside ~18 KB of our own glue scripts. None of these are built from source — they're upstream releases shipped verbatim. Marking them vendored lets the bar reflect actual Scriptor source: PHP first, our editor glue + theme JS second.

Own assets (filepond-init.js, editor.js, styles.css, tokens.css, themes/basic/scripts/main.js, themes/basic/css/styles.css) stay unmarked.

GitHub's language bar was showing JavaScript 48 % / PHP 40 % because
Linguist counted ~895 KB of bundled libs (jQuery, jQuery-UI, Filepond,
Remarkable, Prism, css-gg) alongside ~18 KB of our own glue scripts.
None of these are built from source — they're upstream releases
shipped verbatim. Marking them vendored lets the bar reflect actual
Scriptor source: PHP first, our editor glue + theme JS second.

Own assets (filepond-init.js, editor.js, styles.css, tokens.css,
themes/basic/scripts/main.js, themes/basic/css/styles.css) stay
unmarked.
@bigin bigin merged commit 8289ced into master May 16, 2026
@bigin bigin deleted the chore/linguist-vendored-bundled-libs branch May 16, 2026 05:08
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