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

feat: change default node version to v22 #5958

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

mrstork
Copy link
Contributor

@mrstork mrstork commented Dec 19, 2024

Summary

Part of FRB-1505
Change needs a coordinated release, please do not merge yet


For us to review and ship your PR efficiently, please perform the following steps:

  • Open a bug/issue before writing your code 🧑‍💻. This ensures
    we can discuss the changes and get feedback from everyone that should be involved. If you`re fixing a typo or
    something that`s on fire 🔥 (e.g. incident related), you can skip this step.
  • Read the contribution guidelines 📖. This ensures
    your code follows our style guide and passes our tests.
  • Update or add tests (if any source code was changed or added) 🧪
  • Update or add documentation (if features were changed or added) 📝
  • Make sure the status checks below are successful ✅

A picture of a cute animal (not mandatory, but encouraged)

@mrstork mrstork force-pushed the update-default-node-version branch 3 times, most recently from f788877 to 82a771e Compare December 20, 2024 20:54
@mrstork mrstork force-pushed the update-default-node-version branch from 82a771e to e8a73f4 Compare December 30, 2024 21:41
pieh
pieh previously approved these changes Feb 18, 2025

this.env = {
AWS_LAMBDA_JS_RUNTIME: 'nodejs18.x',
NODE_VERSION: '18',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nuxt has no strict requirement for node 18 and prefers LTS (or 22)
https://github.com/nuxt/nuxt/blob/main/packages/nuxt/package.json#L155-L157

@@ -22,8 +22,4 @@ export class Observable extends BaseFramework implements Framework {
light: '/logos/observable/default.svg',
dark: '/logos/observable/default.svg',
}

env = {
NODE_VERSION: '20',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

No requirement for 20 specifically, supports > 18
https://github.com/observablehq/framework/blob/main/package.json#L139-L141

@mrstork mrstork force-pushed the update-default-node-version branch from 6f462c3 to 0ae62a7 Compare February 20, 2025 22:20
@mrstork
Copy link
Contributor Author

mrstork commented Feb 20, 2025

Redwood is the only framework with a specific requirement for v20
(https://docs.redwoodjs.com/docs/quick-start)

@mrstork mrstork requested a review from pieh February 20, 2025 22:21
Copy link
Contributor

@serhalp serhalp left a comment

Choose a reason for hiding this comment

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

LGTM!

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.

3 participants