react-meteor-data: support typescript@6 (v4.1.0-beta.0)#490
Open
italojs wants to merge 1 commit into
Open
Conversation
The published react-meteor-data derives its `typescript` dependency constraint from `api.versionsFrom`, which resolves to `3.7.0 || 4.1.2 || 4.1.2 || 4.3.2 || 5.4.3` — all capped below 6.0.0. Meteor releases moving to TypeScript 6 (meteor/meteor#14560) therefore fail to resolve the package: Conflict: Constraint typescript@3.7.0 || 4.1.2 || 4.1.2 || 4.3.2 || 5.4.3 is not satisfied by typescript 6.0.3. TypeScript 6 is not yet part of a published release, so it can't be added via `versionsFrom`. Set the supported `typescript` range explicitly instead and add `6.0.0`, keeping the existing lower versions for backwards compatibility. Publishing as a beta. Verified locally against a checkout with the typescript package bumped to 6.0.3: the app resolves react-meteor-data 4.1.0-beta.0 alongside typescript 6.0.3, whereas 4.0.1 fails with the conflict above.
italojs
force-pushed
the
feature/typescript-6-support
branch
from
July 20, 2026 16:49
aa09899 to
c30669c
Compare
italojs
added a commit
to meteor/meteor
that referenced
this pull request
Jul 20, 2026
…or TS6
The published react-meteor-data (<=4.0.1) caps its typescript dependency
below 6.0.0 (constraint 3.7.0 || 4.1.2 || 4.1.2 || 4.3.2 || 5.4.3), so
the ecmascript-regression fixture fails to resolve once typescript is
bumped to 6.0.3:
Conflict: Constraint typescript@... || 5.4.3 is not satisfied by
typescript 6.0.3 <- react-meteor-data
react-meteor-data 4.1.0-beta.0 adds typescript@6 to its supported range
(meteor/react-packages#490). Pin the fixture to it and to typescript@6.0.3.
Verified: 'meteor self-test regressions --headless' passes with this change.
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.
Problem
The published
react-meteor-dataderives itstypescriptdependency constraint fromapi.versionsFrom(['1.8.2', '1.12', '2.0', '2.3', '3.0']), which resolves to:Every entry is capped below
6.0.0(Meteor's@X.Y.Zmeans>=X.Y.Z <(X+1).0.0). Meteor is now moving to TypeScript 6 in meteor/meteor#14560, which bumps thetypescriptpackage to6.0.3. On that release, resolvingreact-meteor-datafails:This is what breaks the
ecmascript-regressionself-test (group 7) on that PR.Fix
TypeScript 6 is not part of any published Meteor release yet, so it can't be pulled in through
api.versionsFrom. Instead, set the supportedtypescriptrange explicitly and add6.0.0, keeping the existing lower versions for backwards compatibility:Applied to both
onUseandonTest. Version bumped to4.1.0-beta.0(beta).Testing
Verified locally against a Meteor checkout with the
typescriptpackage bumped to6.0.3:react-meteor-data@4.0.1): fails with the conflict above.4.1.0-beta.0from this branch): resolves cleanly —