Skip to content

chore: mark generated JS as linguist-generated - #5

Merged
doodlewind merged 1 commit into
mainfrom
chore/mark-generated-js
Jul 22, 2026
Merged

chore: mark generated JS as linguist-generated#5
doodlewind merged 1 commit into
mainfrom
chore/mark-generated-js

Conversation

@doodlewind

Copy link
Copy Markdown
Contributor

The .js under crates/pocket-pi/js/ is build output — esbuild's bundle of pi (agent.bundle.js, 153 KB ≈ 65% of the repo's committed JS) plus the runtime glue transpiled from the TypeScript in js/src/. It's committed only so cargo/CI build Rust-only (the crate include_str!s it), but it isn't source.

This adds .gitattributes marking it linguist-generated=true so GitHub's language stats and diffs treat it as generated. The real sources are the TypeScript under js/src/.

No code change.

🤖 Generated with Claude Code

The JavaScript under crates/pocket-pi/js/ is build output — esbuild's bundle of
pi plus the runtime glue transpiled from js/src/**.ts — committed only so cargo
builds Rust-only (it's include_str!'d). GitHub was counting it as source. Mark it
generated so language stats + diffs reflect that the real sources are TypeScript.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@doodlewind
doodlewind merged commit f5a32c1 into main Jul 22, 2026
1 check passed
@doodlewind
doodlewind deleted the chore/mark-generated-js branch July 22, 2026 06:15
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