slate
slate copied to clipboard
Update Stale Dependencies
Problem It's been a while since we've updated our core dependencies. It's time to modernize things.
Solution Update dependencies newer or newest versions for:
- @babel
- @emotion/css
- @playwright/test
- lodash
- mocha and jest (we should probably use testing-library?)
- node
- prismjs
- react
- react-dom
- @typescript-eslint
- eslint
- faker
- image-extensions
- is-hotkey
- is-url
- jest
- lerna
- lodash (still needed?)
- next
- prettier
- react-error-boundary
- react-router-dom
- react-values
- rimraf
- rollup
- shell-quote
- simple-git-hooks
- source-map-loader
- typescript
- yarn
It would probably be a good time to add some basic tests for slate-react to reduce the risk of regressions.
Context Slate is stale and we're currently failing some of our build automations due to a very stale version of TypeScript.
Would it help to add dependabot or would that create more noise and opportunity for failure?
@cameracker maybe after this update. Simply changing to React 18 and TS 5.2 causes a fair number of issues.
We use renovate in Plate https://github.com/udecode/plate/blob/main/renovate.json, dependencyDashboardApproval
is important to set to avoid PR flood