Skip to content

Conversation

@Lms24
Copy link
Member

@Lms24 Lms24 commented Jul 28, 2022

Hard-pins @types/react to version 17.0.47 (and @types/react-dom to version 17.0.17) because the latest patch (@types/[email protected]) caused our NextJs Integration tests to fail.

Caused by: DefinitelyTyped/DefinitelyTyped#61457

@Lms24 Lms24 requested a review from AbhiPrasad July 28, 2022 13:24
Copy link
Member

@AbhiPrasad AbhiPrasad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve to unblock. We'll need to rebase all the PRs once this gets merged in. Let's chat about that strategy in daily.

"@types/react": "^17.0.6",
// Hard-pinning @types/react because 17.0.48 causes build failures
"@types/react": "17.0.47",
"@types/react-dom": "^17.0.5",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll need hard pin @types/react-dom as well, they need to be kept in sync

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pinned it to 17.0.17 which seems to be the last version (was released way before @types/[email protected])

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait, how are you having comments in package.json??

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're not, realized this as soon as I pushed it (fixed in 88c171c)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Damn. I got all excited there for a minute...

@Lms24 Lms24 merged commit 174433a into master Jul 28, 2022
@Lms24 Lms24 deleted the lms-fix-nextjs-integration-tests branch July 28, 2022 13:46
@Lms24 Lms24 self-assigned this Jul 29, 2022
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.

4 participants