Skip to content

chore: remove obsolete markdown-it 14 typings after v15 migration - #82

Merged
sanskarIN merged 1 commit into
mainfrom
chore/drop-obsolete-markdown-it-types
Nov 6, 2026
Merged

sanskarIN merged 1 commit into
mainfrom
chore/drop-obsolete-markdown-it-types

Conversation

@sanskarIN

Copy link
Copy Markdown
Member

Why

PR #75 successfully upgraded the framework-free site to markdown-it 15.0.3, which ships first-party TypeScript declarations. The repository was still installing the obsolete @types/markdown-it 14.1.2 package, risking two competing parser type definitions and unnecessary tooling weight.

Changes

  • Remove the old ambient types package from package.json (the repository intentionally has no checked-in lockfile).
  • Add a permanent toolchain policy preventing reintroduction of @types/markdown-it when markdown-it 15+ is pinned.
  • Add a negative regression test proving mismatched type packages are rejected.
  • Note the bundled type policy in SCARP-DOCS-ENGINE.md.

Verification

Require all eight CI jobs, especially TypeScript 6 strict typechecking, Markdown renderer tests, bilingual route parity, offline browser/a11y and pinned Scarp compiler conformance. No new frontend framework and no stable release.

@sanskarIN
sanskarIN merged commit 4fee6f8 into main Nov 6, 2026
8 checks passed
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