Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
✅ Files skipped from review due to trivial changes (2)
📝 WalkthroughSummary by CodeRabbit
WalkthroughAdded a postbuild script to run next-sitemap, added next-sitemap as a devDependency, fixed siteUrl string quoting in next-sitemap config, and corrected the google site verification line in the public verification HTML. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@package.json`:
- Line 7: The package.json currently runs "npx next-sitemap" inline in the
"build" script and treats "next-sitemap" as a regular dependency; move the
"next-sitemap" package from dependencies to devDependencies and remove the
inline npx call from the "build" script (keep "next build" only), then add a new
"postbuild" script that runs "next-sitemap" so CI uses the installed
devDependency instead of npx. Update references to the "build" script and ensure
a new "postbuild" script exists, referring to the "next-sitemap" package name.
- Line 17: Update package.json to move the "next-sitemap" dependency from
"dependencies" into "devDependencies": remove the "next-sitemap" entry under
dependencies and add the same version string under devDependencies so the build
script ("build": "next build && npx next-sitemap") continues to work but the
package is not included in production runtime dependencies.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: fd338c91-abff-48b4-a00b-44ab23abb11d
📒 Files selected for processing (1)
package.json
|
@copilot In In |
Co-authored-by: jaseel0 <225665919+jaseel0@users.noreply.github.com>
Move next-sitemap to devDependencies with postbuild script
|
@copilot Run npm ci fix it |
Co-authored-by: jaseel0 <225665919+jaseel0@users.noreply.github.com>
Fix package-lock.json out of sync with next-sitemap in devDependencies
🚀 BΞYTΞFLʘW | Pull Request Protocol
PR Type: (Choose one:
feat|fix|refactor|docs|perf)Issue Link: Fixes #
📝 System Summary
Provide a concise brief of the changes introduced to the stream.
🛠️ Technical Changes
.........🧪 Quality Assurance (QA)
npm run buildexecuted without errors.🖼️ Visual Evidence
If this PR affects the UI, drop a screenshot or GIF below:
📡 Developer Authorization
Authorized by: @Yourusername
Timestamp: {{ date }}