Update all dependencies to latest versions#176
Merged
Conversation
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
react-intersection-observer8 → 10, TypeScript 4 → 5.xmicrobundle-crlwithmicrobundle 0.15.x; add React JSX pragma flags and arollup-plugin-typescript2override for TypeScript 5.x compatibilitycheckout@v4/setup-node@v4with a Node 18/20/22 matrixFunction→React.ComponentType, unknown catch type)Generated by Claude Code