Skip to content

chore(deps): adopt typescript 7.0.2 with explicit rootDir - #28

Merged
JordanNewell merged 1 commit into
mainfrom
ts7-adoption
Nov 12, 2026
Merged

JordanNewell merged 1 commit into
mainfrom
ts7-adoption

Conversation

@JordanNewell

Copy link
Copy Markdown
Collaborator

Summary

Why not the dependabot PR

TS 7 (typescript-go) requires rootDir to be set explicitly when the common source directory differs from the tsconfig location — dependabot's version-only bump fails all 4 test jobs with:

tsconfig.json(7,3): error TS5011: The common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.

This PR carries the same version bump plus the one-line config fix. When merged, #9 will close as satisfied.

Verification

  • npm run build — clean under TS 7.0.2, dist/ layout unchanged (index.js + index.d.ts at dist root)
  • npm test — 74/74 passing (4 files)
  • No baseUrl in tsconfig (not affected by the TS5102 removal); no WebCrypto/BufferSource seams in src/ (single file, no crypto usage)

TS 7 (typescript-go) requires rootDir to be set explicitly when the
common source directory differs from the tsconfig location (TS5011).
Pin typescript to ^7.0.2 and add rootDir: ./src; build and tests
verified green locally.
@JordanNewell
JordanNewell merged commit ab579f5 into main Nov 12, 2026
9 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