Commit 276e350
committed
Keep repository language stats aligned with authored TypeScript
The runtime wrappers and maintenance scripts stay in JavaScript, but GitHub's
repository language bar should reflect the authored product source instead of
auxiliary script formats. This adds Linguist detectability overrides in
`.gitattributes` and locks them in the documentation governance suite.
Constraint: Wrapper and maintenance scripts must remain directly executable without build pipeline changes
Rejected: Convert scripts and wrappers to TypeScript | would widen runtime and packaging scope beyond a metadata-only change
Confidence: high
Scope-risk: narrow
Directive: If a non-TypeScript repo artifact should count toward the language bar later, update `.gitattributes` and `test/documentation.test.ts` together
Tested: `git check-attr linguist-detectable -- index.ts scripts/codex.js scripts/check-pack-budget.mjs scripts/test-all-models.sh lib/oauth-success.html`; `npm test -- test/documentation.test.ts`; `npm run lint`; `npm run typecheck`; `npm run build`
Not-tested: Full `npm test` remains red on inherited `test/proactive-refresh.test.ts` timeouts reproduced on clean `origin/main`1 parent f28c079 commit 276e350
2 files changed
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
609 | 609 | | |
610 | 610 | | |
611 | 611 | | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
612 | 627 | | |
613 | 628 | | |
614 | 629 | | |
| |||
0 commit comments