Skip to content

Update all dependencies to latest versions#176

Merged
nickgrealy merged 1 commit into
mainfrom
claude/update-dependencies-IkPzW
May 20, 2026
Merged

Update all dependencies to latest versions#176
nickgrealy merged 1 commit into
mainfrom
claude/update-dependencies-IkPzW

Conversation

@nickgrealy
Copy link
Copy Markdown
Contributor

Summary

  • Upgrade React 16 → 19, react-intersection-observer 8 → 10, TypeScript 4 → 5.x
  • Replace unmaintained microbundle-crl with microbundle 0.15.x; add React JSX pragma flags and a rollup-plugin-typescript2 override for TypeScript 5.x compatibility
  • Update GitHub Actions to checkout@v4 / setup-node@v4 with a Node 18/20/22 matrix
  • Fix TypeScript strict errors (FunctionReact.ComponentType, unknown catch type)
  • Simplify ESLint config and remove deprecated/unmaintained dev dependencies

Generated by Claude Code

- Replace deprecated microbundle-crl (0.13.x) with microbundle (0.15.x)
- Upgrade React 16 → 19, react-intersection-observer 8 → 10
- Upgrade TypeScript 4 → 5.x, @types/react/react-dom 16 → 19
- Add npm override for rollup-plugin-typescript2 0.37 (TypeScript 5.x compat)
- Add --jsx React.createElement flags to microbundle (React, not Preact defaults)
- Fix Props interface: Function → React.ComponentType for JSX compatibility
- Fix catch clause: err.message → err instanceof Error check (TypeScript strict)
- Remove deprecated suppressImplicitAnyIndexErrors from tsconfig.json
- Exclude test files from main tsconfig (they have their own tsconfig.test.json)
- Broaden peerDependencies to react >=17 and react-intersection-observer >=9
- Decouple build:site from prepare/build (avoids CRA dep in publish pipeline)
- Remove react-scripts and other outdated dev deps (babel-eslint, eslint-*-standard, etc.)
- Simplify ESLint config to use @typescript-eslint + prettier
- Update GitHub Actions: checkout@v4, setup-node@v4, Node 18/20/22 matrix
- Streamline npm-publish.yml (remove deprecated publish-site job)
- Switch from yarn.lock to package-lock.json

https://claude.ai/code/session_01V13bfJmwrUCWgFytCxf2A1
@nickgrealy nickgrealy merged commit ff51ed2 into main May 20, 2026
6 checks passed
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.

2 participants