seek-oss / playroom

Design with JSX, powered by your own component library.
MIT License
4.48k stars 182 forks source link

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

Closed mrm007 closed 1 year ago

mrm007 commented 1 year ago

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).

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: 15502d747144230217d109249352b12e00c4082a

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