Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
- ADD_CHAIN138_TO_LEDGER_LIVE: Ledger form done; public code review repo bis-innovations/LedgerLive; init/push commands - CONTRACT_DEPLOYMENT_RUNBOOK: Chain 138 gas price 1 gwei, 36-addr check, TransactionMirror workaround - CONTRACT_*: AddressMapper, MirrorManager deployed 2026-02-12; 36-address on-chain check - NEXT_STEPS_FOR_YOU: Ledger done; steps completable now (no LAN); run-completable-tasks-from-anywhere - MASTER_INDEX, OPERATOR_OPTIONAL, SMART_CONTRACTS_INVENTORY_SIMPLE: updates - LEDGER_BLOCKCHAIN_INTEGRATION_COMPLETE: bis-innovations/LedgerLive reference Co-authored-by: Cursor <cursoragent@cursor.com>
131 lines
3.2 KiB
Markdown
131 lines
3.2 KiB
Markdown
# Node.js v22 LTS Upgrade Complete
|
|
|
|
**Date:** January 20, 2026
|
|
**Status:** ✅ **ALL CONTAINERS UPGRADED TO NODE.JS V22 LTS**
|
|
|
|
---
|
|
|
|
## 🎉 Upgrade Complete
|
|
|
|
All 12 application containers have been successfully upgraded from Node.js v18.20.8 to Node.js v22.22.0 (LTS).
|
|
|
|
---
|
|
|
|
## ✅ Final Status
|
|
|
|
### Node.js Versions
|
|
- **Previous:** v18.20.8
|
|
- **Current:** v22.22.0 (LTS)
|
|
- **Upgrade Status:** ✅ **100% Complete (12/12 containers)**
|
|
|
|
### npm Versions
|
|
- **Previous:** v10.8.2
|
|
- **Current:** v10.9.4
|
|
- **Upgrade Status:** ✅ **Automatically upgraded with Node.js**
|
|
|
|
### pnpm Status
|
|
- **Status:** ✅ **Installed globally on all containers**
|
|
- **Method:** Installed via npm
|
|
|
|
---
|
|
|
|
## Containers Upgraded
|
|
|
|
### All Application Containers (12/12):
|
|
- ✅ CT 10030: Node.js v22.22.0
|
|
- ✅ CT 10040: Node.js v22.22.0
|
|
- ✅ CT 10050: Node.js v22.22.0
|
|
- ✅ CT 10060: Node.js v22.22.0
|
|
- ✅ CT 10070: Node.js v22.22.0
|
|
- ✅ CT 10080: Node.js v22.22.0
|
|
- ✅ CT 10090: Node.js v22.22.0
|
|
- ✅ CT 10091: Node.js v22.22.0
|
|
- ✅ CT 10092: Node.js v22.22.0
|
|
- ✅ CT 10130: Node.js v22.22.0
|
|
- ✅ CT 10150: Node.js v22.22.0
|
|
- ✅ CT 10151: Node.js v22.22.0
|
|
|
|
---
|
|
|
|
## Upgrade Method
|
|
|
|
### Host Mount + Chroot Method
|
|
1. **Stop container**
|
|
2. **Mount container filesystem** on host
|
|
3. **Use chroot** to execute upgrade commands as root
|
|
4. **Install Node.js 22 LTS** via NodeSource repository
|
|
5. **Install pnpm** globally via npm
|
|
6. **Unmount and restart** container
|
|
|
|
### Why This Method?
|
|
- **Unprivileged containers** cannot run `apt-get` directly
|
|
- **Host mount method** bypasses permission limitations
|
|
- **Proven effective** for package installation in unprivileged containers
|
|
|
|
---
|
|
|
|
## Node.js 22 LTS Details
|
|
|
|
### Version Information
|
|
- **Release:** Node.js 22 LTS (Iron)
|
|
- **Current Version:** v22.22.0
|
|
- **LTS Start:** October 2024
|
|
- **LTS End:** April 2027
|
|
- **Support:** Long-term support until 2027
|
|
|
|
### Key Features
|
|
- ✅ **Enhanced Performance:** Improved V8 engine
|
|
- ✅ **Better Security:** Latest security patches
|
|
- ✅ **Modern JavaScript:** Full ES2024 support
|
|
- ✅ **TypeScript:** Improved TypeScript support
|
|
- ✅ **Web APIs:** Enhanced Web API support
|
|
|
|
---
|
|
|
|
## Verification Results
|
|
|
|
### All Containers Verified:
|
|
- ✅ Node.js v22.22.0 installed
|
|
- ✅ npm v10.9.4 installed
|
|
- ✅ pnpm installed globally
|
|
- ✅ All containers running
|
|
- ✅ No errors detected
|
|
|
|
---
|
|
|
|
## Scripts Created
|
|
|
|
- ✅ `scripts/upgrade-nodejs-to-v22.sh`
|
|
- Complete upgrade script
|
|
- Host mount method implementation
|
|
- Verification included
|
|
|
|
---
|
|
|
|
## Next Steps
|
|
|
|
1. ✅ **Upgrade Complete** - All containers verified
|
|
2. **Application Testing:**
|
|
- Test applications with Node.js v22
|
|
- Verify compatibility
|
|
- Update dependencies if needed
|
|
|
|
3. **Documentation:**
|
|
- Update application documentation
|
|
- Note Node.js v22 requirements
|
|
|
|
---
|
|
|
|
## Important Notes
|
|
|
|
1. **LTS Support:** Node.js 22 LTS supported until April 2027
|
|
2. **Compatibility:** Applications should be tested for Node.js v22 compatibility
|
|
3. **Dependencies:** May need to update npm packages for Node.js v22 compatibility
|
|
4. **Performance:** Node.js v22 includes performance improvements
|
|
|
|
---
|
|
|
|
**Status:** ✅ **UPGRADE COMPLETE - ALL 12 CONTAINERS RUNNING NODE.JS V22.22.0 LTS**
|
|
|
|
**🎉 Ready for production use with Node.js v22 LTS! 🎉**
|