Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Upgrade to Node 22 (LTS) #4107

Merged
merged 4 commits into from
Jan 3, 2025
Merged

chore: Upgrade to Node 22 (LTS) #4107

merged 4 commits into from
Jan 3, 2025

Conversation

DafyddLlyr
Copy link
Contributor

@DafyddLlyr DafyddLlyr commented Jan 3, 2025

  • Upgrades Node.js from v18.16.1. to v22.10.0
  • Adds docs explaining the process

Required for #4105 (and overdue anyway!)

✅ Regression tests passing here - https://github.com/theopensystemslab/planx-new/actions/runs/12596421407

Copy link

github-actions bot commented Jan 3, 2025

Removed vultr server and associated DNS entries

@@ -531,7 +531,7 @@ export const previewStore: StateCreator<
if (!visitedFns.length) return;

// For each visited node, get the data values of its' options (aka edges or Answer nodes)
let visitedOptionVals: string[] = [];
const visitedOptionVals: string[] = [];
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was throwing an error when I ran pnpm check

@DafyddLlyr DafyddLlyr requested a review from a team January 3, 2025 11:30
@DafyddLlyr DafyddLlyr marked this pull request as ready for review January 3, 2025 11:34
Copy link
Member

@jessicamcinchak jessicamcinchak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Long overdue indeed, thanks for this!

One lingering hard-coded v18 spotted, otherwise looks good to go

@@ -92,7 +92,7 @@
"@types/jsonwebtoken": "^9.0.5",
"@types/lodash": "^4.17.0",
"@types/multer": "^1.4.11",
"@types/node": "^18.19.13",
"@types/node": "22.10.5",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this file, do we also want to update L9 above?

"engines": {
    "node": ">=18.16",
    "pnpm": "8.6.6"
  },

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great find! 🙌 I searched for 18.16.1 in the codebase and missed this.

@DafyddLlyr DafyddLlyr merged commit 6db8501 into main Jan 3, 2025
12 checks passed
@DafyddLlyr DafyddLlyr deleted the dp/node-22 branch January 3, 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.

2 participants