FormidableLabs / spectacle

A React-based library for creating sleek presentations using JSX syntax that gives you the ability to live demo your code.
https://commerce.nearform.com/open-source/spectacle/
MIT License
9.71k stars 690 forks source link

Update spectacle dependencies #1241

Closed fritz-c closed 1 year ago

fritz-c commented 1 year ago

Description

Spectacle had a fair number of dependencies that were out of date, so I attempted to update what I could. I only updated those in the root package.json and in packages/spectacle/package.json. The majority of dependencies in those spots that are still not upgraded were skipped over because their latest versions were ESM-only. @testing-library/react was the exception: it appears something in the newest version did not play nice with pnpm, and was creating new TypeScript errors even outside of test code.

Type of Change

How Has This Been Tested?

I ran pnpm build and pnpm check to see that no errors occurred. I also manually tested the component after starting it via pnpm start:ts.