Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(nextjs): pin @types/react version to fix integration tests #5484

Merged
merged 2 commits into from
Jul 28, 2022

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/react@17.0.48) 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.

@@ -16,7 +16,8 @@
"devDependencies": {
"@types/node": "^15.3.1",
"@types/puppeteer": "^5.4.3",
"@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/react@17.0.48)

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.

None yet

3 participants