Skip to content

Convert dependency-table to TypeScript; remove dead code (#5)#17

Merged
camacho merged 3 commits into
mainfrom
ts-dependency-table
Jul 5, 2026
Merged

Convert dependency-table to TypeScript; remove dead code (#5)#17
camacho merged 3 commits into
mainfrom
ts-dependency-table

Conversation

@camacho

@camacho camacho commented Jul 5, 2026

Copy link
Copy Markdown
Owner

Wave-A TypeScript conversion (engines pilot pattern) in two commits:

  1. cf00a07 — conversion: index.ts + types.ts, dist packaging + prepack, @types/semver, literal devDep ranges preserved (catalog exception), both findUpSync call sites and the findPkg(srcPath) semantic preserved exactly. Documented exception to the byte-for-byte contract: the dead npmPkgUrl const (unused on main, verified) was dropped in this commit rather than the cleanup commit — flagged by review; accepted as-disclosed rather than rewriting history.
  2. 423538b — dead-code cleanup (closes chore(dependency-table): clean up pre-existing dead code, remove lint exclusion #5): unreachable return, unused param + destructures, no-op regex escapes, _content rename — each removal individually adjudicated as provably inert by review; the eslint exclusion for this file is deleted and the whole file now lints clean.

Validation: typecheck + lint (no exclusions) + prettier clean · 13/13 tests · workspace green · tarball gate incl. consumer-typecheck · node example.ts exit 0 · docs idempotent · code-reviewed (APPROVE)

camacho added 3 commits July 5, 2026 21:11
Unreachable branch, unused destructures/params, unnecessary regex
escapes predate the TS conversion (markdown-magic-plugins#5). Lint now
runs over index.ts with no exclusion.
@camacho camacho merged commit 2a5eee7 into main Jul 5, 2026
2 checks passed
@camacho camacho deleted the ts-dependency-table branch July 5, 2026 20:51
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.

chore(dependency-table): clean up pre-existing dead code, remove lint exclusion

1 participant