Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/cute-jobs-wave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@modern-js/app-tools": minor
---

feat: Drop support for Node.js 16 **BREAKING CHANGE: Node.js 16 is no longer supported. Please upgrade to Node.js 18 or higher.**

feat: 不再支持 Node.js 16 **重大变更:Node.js 16 已不再支持,请升级至 Node.js 18 或更高版本**。
4 changes: 2 additions & 2 deletions packages/solutions/app-tools/src/run/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export async function run({
${chalk.bgRed.white.bold(' ⚠️ CRITICAL NODE.JS VERSION ALERT ⚠️ ')}

${chalk.red.bold('Node.js 16 End-of-Life Notice:')}
${chalk.red.bold.underline('June 30, 2025')} ${chalk.red('- Security updates and support will cease')}
${chalk.red('- Security updates and support have ended for Node.js 16')}

${chalk.yellow('▸ Detected Runtime:')} ${chalk.yellow.bold(`Node.js v${nodeVersion}`)}
${chalk.green('▸ Required Minimum:')} ${chalk.green.bold('Node.js LTS (v18.x or higher)')}
Expand All @@ -54,7 +54,7 @@ export async function run({
${chalk.gray('└──')} ${chalk.yellow('Environment Verification')}
${chalk.bold('node -v && npm -v')}

${chalk.hex('#AAAAAA').italic('[Security Advisory] Production environments must update before 2025-06-30')}
${chalk.hex('#AAAAAA').italic('[Security Advisory] Node.js 16 is no longer supported. Upgrade immediately for security and compatibility.')}
`);
}
const command = process.argv[2];
Expand Down