chore(deps): upgrade TypeScript 5.9.3 → 6.0.3 (explicit dep) - #17
chore(deps): upgrade TypeScript 5.9.3 → 6.0.3 (explicit dep)#17xdanger wants to merge 2 commits into
Conversation
Previously TypeScript was auto-installed as a peer dependency of typescript-eslint at 5.9.3. This commit pins it explicitly as a devDependency at ^6.0.0. typescript-eslint@8.59.3 supports TypeScript >=4.8.4 <6.1.0, so 6.0.3 is fully within the supported range. All other direct dependencies were already at their latest stable versions. https://claude.ai/code/session_01SYPqPxEz3auppJaTYH6Jbr
There was a problem hiding this comment.
Pull request overview
Makes TypeScript an explicit devDependency and upgrades the resolved TypeScript version from 5.9.3 (previously pulled implicitly via typescript-eslint peer resolution) to 6.0.3, keeping the toolchain deterministic.
Changes:
- Add
typescript@^6.0.0as an explicitdevDependency(resolves to6.0.3). - Update
pnpm-lock.yamlto reflect TypeScript6.0.3and updatedtypescript-eslintpeer resolution bindings.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| package.json | Adds typescript as an explicit dev dependency at ^6.0.0. |
| pnpm-lock.yaml | Locks typescript to 6.0.3 and updates dependent snapshot entries accordingly. |
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0a1f7d1841
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "husky": "^9.1.7", | ||
| "lint-staged": "^17.0.4", | ||
| "prettier": "^3.8.3", | ||
| "typescript": "^6.0.0", |
There was a problem hiding this comment.
Pin TypeScript below 6.1 for ESLint compatibility
This range allows future 6.x releases such as 6.1.0, but the locked typescript-eslint@8.59.3 peer dependency still requires typescript: '>=4.8.4 <6.1.0' in pnpm-lock.yaml. In any install that refreshes the lockfile or resolves dependencies without the current lock, TypeScript can move outside the parser/plugin's supported range and make the type-aware lint setup unsupported; constrain this to the 6.0 line until typescript-eslint supports 6.1+.
Useful? React with 👍 / 👎.
- 🔧 preserve the compatible upgrade on current main
| "prettier": "^3.8.3", | ||
| "typescript": "^6.0.0", | ||
| "typescript-eslint": "^8.60.1" |
Summary
typescriptas an explicitdevDependencyat^6.0.0(resolves to6.0.3)typescript-eslintat5.9.3pnpm outdated+npm show)Dependency scan results
@eslint/jsautocorrect-nodeeslintglobalshuskylint-stagedprettiertypescripttypescript-eslintpnpmBreaking-change risk
Low. TypeScript 6.0 removes some deprecated APIs and tightens checks, but:
typescript-eslint@8.59.3explicitly supports>=4.8.4 <6.1.0, so 6.0.3 is within rangesrc/directory exists yet — no TypeScript source to re-checkpnpm auditreports no vulnerabilitiesTest plan
pnpm installresolves cleanly with TypeScript 6.0.3pnpm lintpasses (ESLint + Prettier checks green)https://claude.ai/code/session_01SYPqPxEz3auppJaTYH6Jbr
Generated by Claude Code