Repository navigation
build: TypeScript 6 and ioredis 6 support - #27
Merged
Merged
Conversation
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.
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.
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.