Repository navigation
Hold TypeScript at 6.x so lint keeps working - #23
Closed
vpetersson-bot wants to merge 1 commit into
Closed
vpetersson-bot wants to merge 1 commit into
vpetersson-bot wants to merge 1 commit into
Conversation
typescript-eslint declares a peer range of typescript >=4.8.4 <6.1.0. TypeScript 7 removed ts.Extension.Cjs, so @typescript-eslint/typescript-estree throws on load and bun run lint fails outright. Take the rest of the dependency bump, keep typescript on ^6.0.3, and tell dependabot to skip TypeScript 7 until typescript-eslint supports it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Copilot review overview
🔵 Needs a closer look
The bundled SDK, Vite, and jsdom upgrades need human compatibility review beyond the reported local checks.
Review effort: Balanced
Findings: None
What changed in this PR
Updates the clock app’s development dependencies while retaining TypeScript 6.x for lint compatibility.
Changes:
- Keeps TypeScript at
^6.0.3and blocks Dependabot updates to version 7+. - Upgrades development tooling and refreshes locked dependencies, including Vite and jsdom major versions.
| File | Description |
|---|---|
package.json |
Updates development dependencies while retaining TypeScript. |
bun.lock |
Records updated direct and transitive dependencies. |
.github/dependabot.yml |
Excludes TypeScript 7+ and documents the lint incompatibility. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Author
|
Closing this as a duplicate — an equivalent change (same TypeScript holdback plus the |
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.
bun run lintdies on the monthly dependency bump with:typescript-eslint(pulled in via@screenly/edge-apps) declares a peer range oftypescript >=4.8.4 <6.1.0, and its latest release still does. TypeScript 7 removedts.Extension.Cjs, so@typescript-eslint/typescript-estreethrows while loading,before a single file is parsed. Nothing in this repo can work around that.
This takes the rest of the bump but leaves
typescripton^6.0.3, and adds adependabot
ignoreentry so TypeScript 7 is not proposed again untiltypescript-eslintsupports it. Drop theignoreentry at that point.Verified locally:
bun run lint,bun run type-check,bun run buildandbun test src/all pass.🤖 Generated with Claude Code