Skip to content

chore: add engines field to package.json#379

Merged
jbampton merged 1 commit intoNextCommunity:mainfrom
okxint:chore/add-engines-field
Mar 22, 2026
Merged

chore: add engines field to package.json#379
jbampton merged 1 commit intoNextCommunity:mainfrom
okxint:chore/add-engines-field

Conversation

@okxint
Copy link
Contributor

@okxint okxint commented Mar 22, 2026

Summary

  • Adds engines field to package.json specifying node >= 20.0.0
  • This enforces the minimum Node.js version requirement, preventing build issues for contributors using incompatible versions
  • Aligns with the Node.js 24 used in the deploy workflow

Closes #367

Specify minimum Node.js version requirement (>=20.0.0) in
package.json to prevent build issues for contributors using
incompatible Node.js versions.

Closes NextCommunity#367
@okxint okxint requested a review from jbampton as a code owner March 22, 2026 14:32
@gemini-code-assist
Copy link

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request standardizes the required Node.js version for the project by introducing an engines field in package.json. This ensures development environments match the deployment environment, thereby preventing common compatibility issues and streamlining the contribution process.

Highlights

  • Node.js Version Enforcement: The engines field has been added to package.json to specify a minimum Node.js version of >=20.0.0.
  • Build Stability: This change prevents potential build issues for contributors by ensuring they use a compatible Node.js version.
  • Workflow Alignment: The specified Node.js version aligns with the Node.js 24 version currently used in the deployment workflow.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@deepsource-io
Copy link

deepsource-io bot commented Mar 22, 2026

DeepSource Code Review

We reviewed changes in 85bdf3b...064e9df on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.

See full review on DeepSource ↗

PR Report Card

Overall Grade   Security  

Reliability  

Complexity  

Hygiene  

Code Review Summary

Analyzer Status Updated (UTC) Details
JavaScript Mar 22, 2026 2:32p.m. Review ↗
Secrets Mar 22, 2026 2:32p.m. Review ↗

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request adds the engines field to package.json to enforce a minimum Node.js version. This is a good practice for project consistency. I've suggested also specifying the npm version in the engines field to further reduce environment-related issues for contributors.

@jbampton jbampton self-assigned this Mar 22, 2026
@jbampton jbampton added dependencies Pull requests that update a dependency file good first issue Good for newcomers labels Mar 22, 2026
@jbampton jbampton added this to Next Mar 22, 2026
@github-project-automation github-project-automation bot moved this to In progress in Next Mar 22, 2026
@jbampton jbampton moved this from In progress to Review in progress in Next Mar 22, 2026
@jbampton jbampton added this to the Hackfest milestone Mar 22, 2026
Copy link
Member

@jbampton jbampton left a comment

Choose a reason for hiding this comment

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

Thanks 🏂

@github-project-automation github-project-automation bot moved this from Review in progress to Reviewer approved in Next Mar 22, 2026
@jbampton jbampton merged commit 29c6444 into NextCommunity:main Mar 22, 2026
6 of 7 checks passed
@github-project-automation github-project-automation bot moved this from Reviewer approved to Done in Next Mar 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file good first issue Good for newcomers

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Specify node version in package.json

2 participants