chore(deps): hold typescript on 6.x for the dashboard (Next 16 + TS7 breaks build)#724
Open
aaronjmars wants to merge 1 commit into
Open
chore(deps): hold typescript on 6.x for the dashboard (Next 16 + TS7 breaks build)#724aaronjmars wants to merge 1 commit into
aaronjmars wants to merge 1 commit into
Conversation
TypeScript 7 (the native/Go port) ships a package layout that Next.js 16's build-time TS integration doesn't recognize yet — `next build` crashes with "The 'id' argument must be of type string" even though `tsc --noEmit` passes. Verified by A/B build: TS 6.0.3 builds clean, TS 7.0.2 fails. Add a Dependabot ignore for typescript version-update:semver-major on the /apps/dashboard npm entry so the grouped dev-deps PR (#720) stops re-proposing the breaking major; minor/patch bumps within 6.x still flow through. Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Dependabot PR #720 grouped three dev-dep bumps for
/apps/dashboard, one of which wastypescript6.0.3 → 7.0.2. TypeScript 7 is the native/Go port, which ships a different package layout that Next.js 16.2.10's build-time TypeScript integration doesn't recognize yet.Verified with an A/B build (everything else held constant):
tsc --noEmitnext buildThe "id" argument must be of type string. Received undefinedtsc --noEmitalone is misleading here because the standalone compiler works fine; only Next's build pipeline breaks.Change
Adds a Dependabot
ignoreon the/apps/dashboardnpm entry fortypescriptversion-update:semver-major. This:tsx,@types/node, and any typescript 6.x minor/patch).Revisit and drop the ignore once Next.js ships TS7 support.
Follow-up
Once this lands, #720 can be closed/recreated so the
tsx 4.23.1+@types/node 26.1.1patches come through without the typescript major.🤖 Generated with Claude Code