Skip to content

Update Docker builds#85

Merged
mre merged 7 commits into
mainfrom
nextjs-15-upgrade
Aug 24, 2025
Merged

Update Docker builds#85
mre merged 7 commits into
mainfrom
nextjs-15-upgrade

Conversation

@mre

@mre mre commented Aug 24, 2025

Copy link
Copy Markdown
Member

Docker builds use the clean dependency tree with @tanstack/react-query instead of the deprecated react-query package.

mre added 7 commits August 24, 2025 01:56
- Add --legacy-peer-deps flag to GitHub workflow npm ci commands to resolve React 19 peer dependency conflicts
- Update react-image-gallery to 1.4.0 for React 19 compatibility
- Fix AutocompleteSearch Configure component to remove TypeScript any usage
- Remove deprecated yarn.lock file in favor of package-lock.json

This resolves the ERESOLVE peer dependency errors preventing successful CI/CD builds.
- Replace react-query@3.39.3 with @tanstack/react-query@5.85.5
- Update all query hooks to use new TanStack Query v5 API (queryKey/queryFn object format)
- Replace Hydrate with HydrationBoundary component
- Add initialPageParam to useInfiniteQuery for v5 compatibility
- Document that --legacy-peer-deps is only needed for react-select-search

This is the idiomatic solution for React 19 compatibility, replacing the deprecated react-query package with the modern, actively maintained TanStack Query.
…tibility

- Remove react-select-search@4.1.6 (React 18 only) and install react-select@5.10.2
- Upgrade react-share@5.1.0 → 5.2.2 for React 19 support
- Update MobileFilter component to use react-select API with proper TypeScript types
- Remove --legacy-peer-deps flag from GitHub workflow - no longer needed
- Add dark theme styling for react-select to match existing UI

This completes the idiomatic React 19 upgrade by replacing all incompatible packages with modern alternatives.
This ensures Docker builds use the clean dependency tree with @tanstack/react-query instead of the deprecated react-query package.
@mre mre merged commit 9798be6 into main Aug 24, 2025
2 checks passed
@mre mre deleted the nextjs-15-upgrade branch August 24, 2025 14:29
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.

1 participant