chore: bump Node 21→22; update data-requirements doc URLs#1113
Conversation
🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ Vulnerabilities Without Available Fixes (Informational Only)The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:
✅ BUILD PASSED - All security checks passed |
🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ Vulnerabilities Without Available Fixes (Informational Only)The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:
✅ BUILD PASSED - All security checks passed |
There was a problem hiding this comment.
Pull request overview
This PR updates local development setup to use Node.js 22 and refreshes the UI’s data-requirements documentation links so each connector points at the current hosted PDF.
Changes:
- Update
setup.shto install/use Node 22 and launch all services withnvm use 22. - Refresh
VALIDATION_DOCUMENTATION_URLconstants to new hosted PDF URLs (including newly added WordPress and AEM docs). - Update the unit test assertions to validate the new documentation filenames.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
setup.sh |
Bumps local dev Node version usage from 21 → 22 and updates service terminal launch commands accordingly. |
ui/src/utilities/constants.ts |
Replaces stale/missing validation documentation URLs with new hosted PDF links per CMS. |
ui/tests/unit/utilities/constants.test.ts |
Updates unit test expectations to match the new documentation URL filenames. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ Vulnerabilities Without Available Fixes (Informational Only)The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:
✅ BUILD PASSED - All security checks passed |
🔗 Jira Ticket
CMG-1050
📋 PR Type
📝 Description
What changed?
setup.sh(version check,nvm install/nvm usecalls, and the per-service terminal launch commands for macOS and Linux)VALIDATION_DOCUMENTATION_URLinui/src/utilities/constants.tswith the new hosted data-requirements PDFs for Sitecore, Contentful, WordPress, Drupal, and AEM (WordPress previously had no doc; AEM's doc is newly published)Why?
🧩 Affected Areas
api— Node.js backendui— React frontendupload-api— Upload API serverdocker/docker-composesetup.sh)🧪 How to Test
./setup.shon a machine withnvminstalled and confirm it installs/switches to Node 22 (not 21) forapi,upload-api, anduiExpected result:
setup.shprovisions Node 22 across all three services; every connector's documentation link opens its correct, live PDF.🔗 Related PRs / Dependencies
✅ Author Checklist
feature/,bugfix/, orhotfix/+ 5–30 lowercase chars.env/example.envupdated if new environment variables were added — N/A, no env vars touchednpm test)README.md/ docs updated if behaviour changed — N/A, no user-facing behavior/API changed👀 Reviewer Notes
Small, self-contained change — two files only, no logic touched. Worth double-checking the AEM URL specifically since that doc was only just published.