fix: align Node.js requirements and validate metadata URLs#8
Merged
dawidope merged 3 commits intofeat/public-release-prepfrom Feb 8, 2026
Merged
Conversation
- Remove hardcoded openGraph.url to let it derive from metadataBase - Add validation for NEXT_PUBLIC_SITE_URL to ensure valid URL format - Update README badge from Node.js 18+ to 18.18.0+ - Add engines.node field to package.json (>=18.18.0) - Update CI workflow to use Node 18.18.x instead of 18.x Co-authored-by: dawidope <1847552+dawidope@users.noreply.github.com>
Co-authored-by: dawidope <1847552+dawidope@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Prepare repository for public GitHub release
fix: align Node.js requirements and validate metadata URLs
Feb 8, 2026
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.
Description
Addresses review feedback on PR #3: Node.js version constraints were inconsistent across docs/CI/package.json,
openGraph.urlwas hardcoded to GitHub instead of deriving from deployment URL, andNEXT_PUBLIC_SITE_URLlacked validation.Changes:
Metadata URL handling: Removed hardcoded
openGraph.url—now derives frommetadataBase. AddedgetMetadataBaseUrl()to validateNEXT_PUBLIC_SITE_URLhas protocol, fallback to localhost:3000 if missing/malformed.Node.js version alignment: Updated badge (18+ → 18.18.0+), added
engines.node: ">=18.18.0"to package.json, changed CI matrix (18.x → 18.18.x) to match Next.js 15 requirement.Type of Change
Testing
Checklist
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.