slate icon indicating copy to clipboard operation
slate copied to clipboard

Update Stale Dependencies

Open dylans opened this issue 10 months ago • 3 comments

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.

dylans avatar Sep 05 '23 08:09 dylans

Would it help to add dependabot or would that create more noise and opportunity for failure?

cameracker avatar Sep 05 '23 22:09 cameracker

@cameracker maybe after this update. Simply changing to React 18 and TS 5.2 causes a fair number of issues.

dylans avatar Sep 06 '23 08:09 dylans

We use renovate in Plate https://github.com/udecode/plate/blob/main/renovate.json, dependencyDashboardApproval is important to set to avoid PR flood

zbeyens avatar Sep 18 '23 17:09 zbeyens