chore: bump TypeScript from 4.x to ^5.5.0 across all package.json files#633
chore: bump TypeScript from 4.x to ^5.5.0 across all package.json files#633NikkiAung wants to merge 2 commits into
Conversation
Greptile SummaryThis PR standardizes TypeScript from various 4.x pins (
Confidence Score: 5/5Safe to merge — all 39 files are straightforward version bumps with no unresolved peer dependency conflicts. The change is a mechanical version bump across isolated package.json files. The only non-trivial case (basics/counter/mpl-stack) was handled correctly by co-bumping ts-jest from 28 to 29, which satisfies peer requirements for both TypeScript 5.x and jest 29. All other files use ts-mocha@10, which is compatible with TypeScript 5.x through ts-node. No breaking changes in TypeScript 5.x affect the test patterns used in this repo. No files require special attention. Important Files Changed
Reviews (3): Last reviewed commit: "fix: bump ts-jest to ^29.x in mpl-stack ..." | Re-trigger Greptile |
| "ts-jest": "^28.0.8", | ||
| "ts-jest-resolver": "^2.0.0", | ||
| "ts-node": "^10.9.1", | ||
| "typescript": "^4.8.2" | ||
| "typescript": "^5.5.0" |
There was a problem hiding this comment.
ts-jest 28 incompatible with TypeScript 5.x
ts-jest@^28.0.8 declares a peer dependency of typescript >=4.3.0 <5.0.0-0, so resolving typescript@^5.5.0 will violate that peer requirement and produce version-check errors when jest runs. TypeScript 5.x support was introduced in ts-jest 29.x. Additionally, jest@^29.0.2 already conflicts with ts-jest@^28.0.8 (ts-jest 28 peers on jest 28), so this file should bump both to ts-jest@^29.x to resolve both mismatches.
Eliminates all TypeScript 4.x (and one pinned 5.0.4) version pins across 39 package.json files under basics/, tokens/, and tools/. The rest of the repo was already on 5.x; this brings everything to a consistent ^5.5.0 floor that is compatible with the highest versions already in use (^5.9.3). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…pt 5 ts-jest@28 declared a typescript <5.0.0 peer dep, causing peer violations after the TypeScript bump. ts-jest@29 supports both jest@29 and TS 5.x. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2927774 to
edc7594
Compare
|
@dev-jodee All commits have been re-signed with an SSH signing key and now show as Verified on GitHub. Thanks for the heads up! |
Summary
^4.3.5,^4.8.2,^4.9.4,^4.9.5) and one pinned5.0.4to^5.5.0across 39package.jsonfiles underbasics/,tokens/, andtools/^5.3.3,^5.9.3, etc.); this brings the remaining 4.x stragglers in line^5.5.0is the lowest common denominator that satisfies all existing 5.x consumers in the repoTest plan
package.json(verified with grep)