cms.c2sgmbh/scripts/check-framework-updates.sh
Martin Porwoll 2faefdac1e chore: code cleanup, TypeScript fixes, and dependency updates
- Remove unused variables and imports across API routes and workers
- Fix TypeScript errors in ConsentLogs.ts (PayloadRequest header access)
- Fix TypeScript errors in formSubmissionHooks.ts (add ResponseTracking interface)
- Update eslint ignores for coverage, test results, and generated files
- Set push: false in payload.config.ts (schema changes only via migrations)
- Update dependencies to latest versions (Payload 3.68.4, React 19.2.3)
- Add framework update check script and documentation
- Regenerate payload-types.ts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-15 09:02:58 +00:00

25 lines
683 B
Bash
Executable file
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/usr/bin/env bash
set -euo pipefail
if ! command -v pnpm >/dev/null 2>&1; then
echo "pnpm is required to run this check." >&2
exit 1
fi
echo "🔍 Checking Payload + Next.js versions (peer compatibility)…"
pnpm outdated next \
payload \
@payloadcms/next \
@payloadcms/db-postgres \
@payloadcms/plugin-form-builder \
@payloadcms/plugin-multi-tenant \
@payloadcms/plugin-nested-docs \
@payloadcms/plugin-redirects \
@payloadcms/plugin-seo \
@payloadcms/richtext-lexical \
@payloadcms/ui
echo
echo " Review Payload release notes: https://github.com/payloadcms/payload/releases"
echo " Review Next.js release notes: https://nextjs.org/blog"