Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: minimum node version 16.14.0 #54331

Merged
merged 6 commits into from
Aug 22, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/next-stats-action/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"typescript": "5.1.6"
},
"engines": {
"node": ">=16.8.0",
"node": ">=16.14.0",
"pnpm": "8.6.11"
},
"packageManager": "pnpm@8.6.11"
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pr:
variables:
PNPM_CACHE_FOLDER: $(Pipeline.Workspace)/.pnpm-store
NEXT_TELEMETRY_DISABLED: '1'
node_16_version: ^16.8.0
node_16_version: ^16.14.0

stages:
- stage: Test
Expand Down
2 changes: 1 addition & 1 deletion docs/01-getting-started/01-installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ related:

System Requirements:

- [Node.js 16.8](https://nodejs.org/) or later.
- [Node.js 16.14](https://nodejs.org/) or later.
- macOS, Windows (including WSL), and Linux are supported.

## Automatic Installation
Expand Down
2 changes: 1 addition & 1 deletion packages/create-next-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@
"validate-npm-package-name": "3.0.0"
},
"engines": {
"node": ">=16.8.0"
"node": ">=16.14.0"
}
}
2 changes: 1 addition & 1 deletion packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,6 @@
"ws": "8.2.3"
},
"engines": {
"node": ">=16.8.0"
"node": ">=16.14.0"
}
}
2 changes: 1 addition & 1 deletion packages/next/src/build/webpack/config/blocks/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const base = curry(function base(
: COMPILER_NAMES.client

config.target = !ctx.targetWeb
? 'node16.8' // Same version defined in packages/next/package.json#engines
? 'node16.14' // Same version defined in packages/next/package.json#engines
: ctx.isEdgeRuntime
? ['web', 'es6']
: ['web', 'es5']
Expand Down
2 changes: 1 addition & 1 deletion packages/next/taskfile-swc.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ module.exports = function (task) {
targets: {
// Same version defined in packages/next/package.json#engines
// Currently a few minors behind due to babel class transpiling
node: '16.8.0',
node: '16.14.0',
},
},
jsc: {
Expand Down
2 changes: 1 addition & 1 deletion test/.stats-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"react-dom": "latest"
},
"engines": {
"node": ">=16.8.0",
"node": ">=16.14.0",
"pnpm": "8.6.11"
},
"packageManager": "pnpm@8.6.11"
Expand Down