Skip to content

Commit e17a480

Browse files
chargomeclaude
andauthored
fix(remix): Drop Remix 3 release candidates from the peer range (#25808)
**Why:** Remix 3.0.0 stable is out, nothing depends on the release candidates, and `3.x` matches our other peer ranges. --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent cad66c7 commit e17a480

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

‎packages/remix/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
"@remix-run/react": "2.x",
107107
"@remix-run/server-runtime": "2.x",
108108
"react": "18.x",
109-
"remix": ">=3.0.0-rc.1 <4"
109+
"remix": "3.x"
110110
},
111111
"scripts": {
112112
"build": "run-p build:transpile build:types",

‎packages/remix/test/v3-exports.test.ts‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,9 @@ describe('Remix 3 exports', () => {
4040
describe('the Remix 3 peer range', () => {
4141
const range = packageJson.peerDependencies.remix;
4242

43-
// Asserted by behaviour, so the range can change after Remix 3 reaches GA without failing here.
44-
it('accepts release candidates', () => {
45-
// `3.x` does not match `3.0.0-rc.1`: semver ranges exclude prereleases unless they name one.
46-
expect(semver.satisfies('3.0.0-rc.1', range)).toBe(true);
47-
expect(semver.satisfies('3.0.0-rc.2', range)).toBe(true);
43+
it('rejects release candidates', () => {
44+
expect(semver.satisfies('3.0.0-rc.1', range)).toBe(false);
45+
expect(semver.satisfies('3.0.0-rc.5', range)).toBe(false);
4846
});
4947

5048
it('accepts stable 3.x', () => {

0 commit comments

Comments
 (0)