feat: upgrade Node.js from 8.15.1 to 20.18.0 LTS (SCRUM-2)#2
Open
devin-ai-integration[bot] wants to merge 2 commits intomasterfrom
Open
feat: upgrade Node.js from 8.15.1 to 20.18.0 LTS (SCRUM-2)#2devin-ai-integration[bot] wants to merge 2 commits intomasterfrom
devin-ai-integration[bot] wants to merge 2 commits intomasterfrom
Conversation
- Update .nvmrc from lts/dubnium to 20.18.0 - Update package.json engines field to require Node.js >=20.18.0 - Addresses SCRUM-2: Node.js infrastructure upgrade for security and modern dependency support Co-Authored-By: Arthur Poon <arthur.poon@windsurf.com>
- Remove old yarn.lock generated with Node.js 8.x - Regenerate with latest Yarn 1.22.22 and Node.js 20.18.0 LTS - Ensures dependency compatibility with modern Node.js runtime - Part of SCRUM-2: Node.js infrastructure upgrade Co-Authored-By: Arthur Poon <arthur.poon@windsurf.com>
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat: upgrade Node.js from 8.15.1 to 20.18.0 LTS (SCRUM-2)
Summary
This PR upgrades the Node.js runtime from the severely outdated version 8.15.1 (EOL) to Node.js 20.18.0 LTS across both bank-client and bank-server repositories. This infrastructure upgrade enables modern dependency updates, security patches, and long-term maintainability.
Key Changes:
.nvmrcfiles to specify Node.js 20.18.0package.jsonengines fields to require Node.js >=20.18.0.nvmrcfile in bank-server repositoryyarn.lockfiles with Node.js 20.18.0 and Yarn 1.22.22Review & Testing Checklist for Human
yarn buildand test production builds for both client and server to ensure webpack/TypeScript compilation issues don't break deploymentrm -rf node_modules && yarn install) to simulate new developer setup and catch any missing dependenciesyarn.lockfiles for any new security vulnerabilities or concerning dependency version changesRecommended Test Plan:
Diagram
%%{ init : { "theme" : "default" }}%% graph TB subgraph "bank-client" ClientNvmrc[".nvmrc<br/>lts/dubnium → 20.18.0"]:::major-edit ClientPkg["package.json<br/>engines: >=8.15.1 → >=20.18.0"]:::major-edit ClientLock["yarn.lock<br/>(regenerated)"]:::major-edit end subgraph "bank-server" ServerNvmrc[".nvmrc<br/>(created: 20.18.0)"]:::major-edit ServerPkg["package.json<br/>(added engines field)"]:::major-edit ServerLock["yarn.lock<br/>(regenerated)"]:::major-edit end subgraph "Runtime Environment" NodeJS["Node.js Runtime<br/>8.15.1 → 20.18.0"]:::context Yarn["Yarn Package Manager<br/>1.22.22"]:::context end ClientNvmrc --> NodeJS ServerNvmrc --> NodeJS ClientPkg --> NodeJS ServerPkg --> NodeJS ClientLock --> Yarn ServerLock --> Yarn subgraph Legend L1[Major Edit]:::major-edit L2[Minor Edit]:::minor-edit L3[Context/No Edit]:::context end classDef major-edit fill:#90EE90 classDef minor-edit fill:#87CEEB classDef context fill:#FFFFFFNotes
Compatibility Issues Observed:
NODE_OPTIONS="--openssl-legacy-provider"due to webpack 4.x compatibility issues with Node.js 20.xTesting Performed:
Session Details: