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

Upgrade to TypeScript 5.0+ and drop support for React 16 #287

Merged
merged 2 commits into from Jul 11, 2023
Merged

Conversation

mrm007
Copy link
Contributor

@mrm007 mrm007 commented Jul 10, 2023

I've also upgraded the ESLint config and autofixed a few errors.

The tricky part is ensuring everything can be type checked correctly, as Cypress globals pollute the global namespace. So now we have two separated type checking processes: one for cypress/ and one for everything else, which works quite nicely (and it's also what the Cypress docs recommend).

@mrm007 mrm007 requested a review from a team as a code owner July 10, 2023 02:00
@changeset-bot
Copy link

changeset-bot bot commented Jul 10, 2023

🦋 Changeset detected

Latest commit: 15502d7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
playroom Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

src/render.js Outdated Show resolved Hide resolved
lib/makeWebpackConfig.js Outdated Show resolved Hide resolved
lib/makeWebpackConfig.js Outdated Show resolved Hide resolved
@mrm007 mrm007 merged commit 720d542 into master Jul 11, 2023
7 checks passed
@mrm007 mrm007 deleted the typescript-5 branch July 11, 2023 01:24
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

2 participants