Skip to content

chore: reconcile toolchain to latest standard - #25

Merged
SynthLuvr merged 2 commits into
mainfrom
chore/reconcile-toolchain-latest
Aug 27, 2026
Merged

SynthLuvr merged 2 commits into
mainfrom
chore/reconcile-toolchain-latest

Conversation

@SynthLuvr

Copy link
Copy Markdown
Owner

Summary

  • scripts/pandoc-md.mts: replace readdirSync(ROOT, { recursive: true }) with an explicit directory walk that never descends into node_modules/.git and never follows symlinks. Node's built-in recursive readdir does follow symlinked directories (verified on Node 26), so pnpm workspace dependency links could pull the markdown discovery into cyclic or enormous traversals.
  • Bump dev dependencies to latest: ast-grep 0.45.2, biome 2.5.10, jscpd 5.0.16, oxlint 1.80.0, vitest / @vitest/coverage-v8 4.1.11.
  • Hold @types/node at ^26.2.0: 26.4.0 falls inside the minimumReleaseAge supply-chain cutoff and would need a policy exemption.

Notes

  • The walker merges the directory-name and symlink skip checks into a single guard; a short comment documents the symlink-cycle edge case (the only non-obvious rule in the walk).
  • --eol=lf is kept for pandoc so the byte-for-byte drift check stays LF-stable on Windows.

Verification

  • pnpm build ✅
  • pnpm lint ✅ (biome, oxlint, ast-grep rules, pandoc md check, peer-deps, audit, jscpd)
  • pnpm test ✅ (3 tests, 100% coverage)

- scripts/pandoc-md.mts: merge the symlink-safe directory walk (from
  type-a-bin) into the --eol=lf version, so pnpm workspace links can
  never loop the markdown discovery while Windows output stays LF
- bump ast-grep 0.45.2, biome 2.5.10, jscpd 5.0.16, oxlint 1.80.0,
  vitest/@vitest/coverage-v8 4.1.11 (npm latest)
- hold @types/node at ^26.2.0: 26.4.0 is inside the minimumReleaseAge
  supply-chain cutoff and would require a policy exclusion
Merge the SKIP_PARTS and symlink guards into a single condition and
condense the cycle-avoidance comment; behavior is unchanged.
@SynthLuvr
SynthLuvr force-pushed the chore/reconcile-toolchain-latest branch from ab644f2 to 37485ab Compare August 27, 2026 09:29
@SynthLuvr
SynthLuvr merged commit 75988dd into main Aug 27, 2026
2 checks passed
@SynthLuvr
SynthLuvr deleted the chore/reconcile-toolchain-latest branch August 27, 2026 09:31
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