Skip to content

build: TypeScript 6 and ioredis 6 support - #27

Merged
muhammetsafak merged 4 commits into
mainfrom
plan/deps-major-upgrades
Dec 3, 2026
Merged

muhammetsafak merged 4 commits into
mainfrom
plan/deps-major-upgrades

Conversation

@muhammetsafak

Copy link
Copy Markdown
Member

Two changes. First, the workspace moves to TypeScript 6. tsup stays on 8.x because tsup 9 needs Node >= 22.18, and each package's tsup config sets ignoreDeprecations to 6.0 for the baseUrl option the DTS build injects. Second, @babelqueue/redis widens its peer range to ^5.0.0 || ^6.0.0. ioredis 6 needs Node 20+, so CI runs the Node 18 jobs on ioredis 5, the Node 20+ jobs on ioredis 6, and the live Redis job on both majors. Supersedes the closed Dependabot PRs #24 and #25.

Move the workspace to TypeScript 6 and keep tsup on 8.x, since tsup 9 needs
Node >= 22.18 while CI still builds on Node 18 and 20. tsup 8's DTS build
injects the deprecated baseUrl option, so each package's tsup config sets
ignoreDeprecations to "6.0" until a tsup release fixes it.
Widen the @babelqueue/redis peer range to ^5.0.0 || ^6.0.0 and develop
against ioredis 6. ioredis 6 needs Node 20+, so CI runs the Node 18 jobs on
ioredis 5, the Node 20+ jobs on ioredis 6, and the live Redis job on both
majors. The tests now pass string zrange bounds, which both majors accept.
npm 10 treats 'npm install --no-save ioredis@5 -w' as up to date and keeps
ioredis 6, which the version assertion caught on the Node 18 and ioredis 5
jobs. The swap now rewrites the dev dependency inside the job and reinstalls,
without touching the committed lockfile.
@muhammetsafak
muhammetsafak merged commit a0cfa9a into main Dec 3, 2026
14 checks passed
@muhammetsafak
muhammetsafak deleted the plan/deps-major-upgrades branch December 3, 2026 12:31
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