Skip to content

Stop tracking dist/, and redeploy the API docs when the source changes - #49

Merged
rustyconover merged 1 commit into
mainfrom
tidy-dist-docs
Oct 7, 2026
Merged

rustyconover merged 1 commit into
mainfrom
tidy-dist-docs

Conversation

@rustyconover

Copy link
Copy Markdown
Collaborator

dist/ was gitignored, then re-allowed file by file: 160 hand-picked .d.ts
declarations, last refreshed 2026-09-22 and stale since. Nothing reads
them. CI and publish both run bun run build before touching dist/, and
the committed tree never held JavaScript, so a git install could not load
it anyway. The allowlist existed so git add -A would not miss new
declarations, which only matters while the declarations are committed.

The API reference on the docs site is generated from src/ by
starlight-typedoc, but the deploy ran only on changes under docs/. Every
release since 0.28.0 therefore left the published reference behind: it
still described the access log's request_data and payload_omitted marker,
which 0.28.1 and 0.28.2 removed. The deploy now also runs on src/ and
package.json changes.

🤖 Generated with Claude Code

dist/ was gitignored, then re-allowed file by file: 160 hand-picked .d.ts
declarations, last refreshed 2026-09-22 and stale since. Nothing reads
them. CI and publish both run `bun run build` before touching dist/, and
the committed tree never held JavaScript, so a git install could not load
it anyway. The allowlist existed so `git add -A` would not miss new
declarations, which only matters while the declarations are committed.

The API reference on the docs site is generated from src/ by
starlight-typedoc, but the deploy ran only on changes under docs/. Every
release since 0.28.0 therefore left the published reference behind: it
still described the access log's request_data and payload_omitted marker,
which 0.28.1 and 0.28.2 removed. The deploy now also runs on src/ and
package.json changes.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@rustyconover
rustyconover merged commit 3f284f0 into main Oct 7, 2026
8 checks passed
@rustyconover
rustyconover deleted the tidy-dist-docs branch October 7, 2026 20:09
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