Skip to content

chore: add engines field for Node.js version support#1555

Open
srinidhi-2006-bit wants to merge 1 commit into
Priyanshu-byte-coder:mainfrom
srinidhi-2006-bit:chore/add-engines-field
Open

chore: add engines field for Node.js version support#1555
srinidhi-2006-bit wants to merge 1 commit into
Priyanshu-byte-coder:mainfrom
srinidhi-2006-bit:chore/add-engines-field

Conversation

@srinidhi-2006-bit
Copy link
Copy Markdown
Contributor

Summary

Added an engines field to package.json to specify the supported Node.js version and improve environment consistency across contributors and deployment environments.

Closes #994


Type of Change

  • Bug fix
  • New feature
  • Developer Experience / Configuration improvement
  • Refactor / code cleanup

Changes Made

  • Added an engines field to package.json
  • Specified supported Node.js version (>=20.0.0)
  • Improved consistency across local development and deployment environments
  • Helps prevent version-related compatibility issues

How to Test

  1. Open package.json
  2. Verify the following section exists:
"engines": {
  "node": ">=20.0.0"
}
  1. Run:
npm install
  1. Confirm dependencies install successfully
  2. Verify the project runs normally

Screenshots (if UI change)

N/A


Checklist

  • Linked issue in summary
  • npm run lint passes locally
  • No TypeScript errors (npm run type-check)
  • Self-reviewed the diff
  • Added/updated tests if applicable

Additional Notes

This change helps contributors and deployment platforms use compatible Node.js versions, reducing setup and runtime issues caused by version mismatches.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 29, 2026

@srinidhi-2006-bit is attempting to deploy a commit to the PRIYANSHU DOSHI's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added gssoc26 GSSoC 2026 contribution type:feature GSSoC type bonus: new feature labels May 29, 2026
@github-actions
Copy link
Copy Markdown

GSSoC Label Checklist 🏷️

@Priyanshu-byte-coder — please apply the appropriate labels before merging:

Difficulty (pick one):

  • level:beginner — 20 pts
  • level:intermediate — 35 pts
  • level:advanced — 55 pts
  • level:critical — 80 pts

Quality (optional):

  • quality:clean — ×1.2 multiplier
  • quality:exceptional — ×1.5 multiplier

Validation (required to score):

  • gssoc:approved — counts for points
  • gssoc:invalid / gssoc:spam / gssoc:ai-slop — does not score

Type labels (type:*) are auto-detected from files and title. Review and adjust if needed.
Points formula: (difficulty × quality_multiplier) + type_bonus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc26 GSSoC 2026 contribution type:feature GSSoC type bonus: new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add engines field to package.json to restrict supported Node versions

1 participant