Skip to content

For 3.0.7 - #129

Open
baxyz wants to merge 2 commits into
mainfrom
for-3_0_7
Open

For 3.0.7#129
baxyz wants to merge 2 commits into
mainfrom
for-3_0_7

Conversation

@baxyz

@baxyz baxyz commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Description

Please include a summary of what this PR does and why it's needed.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Refactoring
  • Test improvement

Related Issues

Closes #(issue number)

How Has This Been Tested?

Describe the tests you ran and how to reproduce them:

  • Test A
  • Test B

Checklist

  • My code follows the code style of this project
  • I have updated the documentation accordingly
  • I have added tests for my changes
  • All new and existing tests passed locally
  • My commits follow the conventional commit format

Screenshots (if applicable)

Add screenshots for UI changes.

Additional Context

Add any other context about the PR here.

baxyz added 2 commits July 29, 2026 22:15
…t/trimEnd

TrimMode's own JSDoc (the wrappable/separator/whitespace/unicode level
breakdown) was marked @ignore, hiding it from generated docs entirely
despite being a genuinely public, re-exported type. Un-ignored it and
turned the prose bullet list into a proper table with example
characters per level, plus explicit guidance on when to reach for
'wrappable' vs 'unicode'.

Added @see cross-references between trim/trimStart/trimEnd so each
one's docs page links to its two siblings.
Found while investigating why TrimMode wasn't showing up anywhere on
the website despite un-ignoring its JSDoc (previous commit): the
website metadata builder requires an explicit @SInCE tag on every
documented member, including type aliases and interfaces attached as
a "companion" to their function (the relatedTypes mechanism that lets
e.g. CapitalizeOptions render inline on capitalize's own page instead
of needing a standalone page). But this repo's own convention (see
AGENTS.md, and existing types like RgbColor/CapitalizeOptions) is that
a companion type does *not* get its own @SInCE - it inherits relevance
from whatever function(s) it's attached to, and `since` isn't even
part of WebsiteRelatedType's shape once attached.

This silently dropped every convention-following companion type from
the website, not just TrimMode - verified by rebuilding all 20
categories: 79 relatedTypes attachments across the whole codebase
(SortFn, DateLike, RgbColor, MemoizeOptions, CapitalizeOptions, and
TrimMode among them) were missing and are now restored.

Scoped the exemption to kind === 'type' | 'interface' only - functions
still require @SInCE (checked separately and enforced by `pnpm
coherency`), this only relaxes the redundant "double-safety" check for
things that were never supposed to need their own @SInCE in the first
place.
@github-actions

Copy link
Copy Markdown
Contributor

✅ PR Validation Passed

All checks passed!


📋 Pipeline Status

Job Status
🔢 Version passing
🏗️ Build passing
🧪 Tests passing
📝 Lint passing
📘 TypeCheck passing
🔐 Security Audit passing
🧾 Conventional Commits passing
🔗 Coherency passing

📊 Code Coverage

Overall Coverage: 100.0% — Target reached! 🎯

Metric Progress Coverage
Lines ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 100%
Branches ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 100%
Functions ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 100%
Statements ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 100%

🧬 Mutation Testing

Mutation Testing — passed

🧬 Informational only, does not block the PR


🌐 Runtime Compatibility

Runtime Compatibility: 3/3 — All runtimes passed!

Runtime Status
🟩 Node.js 26 (LTS) v26.5.0
🦕 Deno 2.8.3
🍞 Bun 1.3.14

🔄 Runtime compatibility is informational only and does not block the PR


⏱️ Benchmarks

Benchmarks: 0 suites — completed

⏱️ Benchmarks are informational only and do not block the PR


ℹ️ About this report
  • 🎯 Coverage Target: 100% for all metrics
  • 🧬 Mutation Testing: powered by Stryker (non-blocking)
  • ⏱️ Benchmarks: powered by Vitest Bench (non-blocking)
  • 🔄 This comment updates automatically with each push
  • 📈 Coverage is measured using Vitest + v8

🤖 Generated by @helpers4 CI • 2026-07-29

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