docs: Update Node.js requirement to 16.11.0 (#9764)

* Update Node.js requirement in README file

* chore: update the rest of files with nodejs 16.11.0

* Update 03-updating-to-v14.mdx

---------

Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
This commit is contained in:
Toast
2023-08-14 05:49:33 +10:00
committed by GitHub
parent a1605b3a5e
commit 188877c50a
33 changed files with 37 additions and 37 deletions

View File

@@ -61,9 +61,9 @@ body:
label: Versions
description: List necessary versions here. This includes your package version, runtime version, operating system etc.
placeholder: |
- discord.js 14.9.0 (`npm ls discord.js` or another package)
- Node.js 16.9.0 (`node --version`)
- TypeScript 5.0.4 (`npm ls typescript` if you use it)
- discord.js 14.12.1 (`npm ls discord.js` or another package)
- Node.js 16.11.0 (`node --version`)
- TypeScript 5.1.6 (`npm ls typescript` if you use it)
- macOS Ventura 13.3.1
validations:
required: true

View File

@@ -7,11 +7,11 @@ category: Installations and preparations
## Installing Node.js
To use discord.js, you'll need to install [Node.js](https://nodejs.org/). discord.js v14 requires Node v16.9.0 or higher.
To use discord.js, you'll need to install [Node.js](https://nodejs.org/). discord.js v14 requires Node v16.11.0 or higher.
<Alert title="Tip" type="success">
To check if you already have Node installed on your machine \(e.g., if you're using a VPS\), run _`node -v`_ in your
terminal. If it outputs _`v16.9.0`_ or higher, then you're good to go! Otherwise, continue reading.
terminal. If it outputs _`v16.11.0`_ or higher, then you're good to go! Otherwise, continue reading.
</Alert>
On Windows, it's as simple as installing any other program. Download the latest version from [the Node.js website](https://nodejs.org/), open the downloaded file, and follow the steps from the installer.
@@ -48,7 +48,7 @@ On macOS, either:
On Linux, you can quickly open the terminal with <kbd>Ctrl + Alt + T</kbd>.
With the terminal open, run the _`node -v`_ command to make sure you've successfully installed Node.js. If it outputs _`v16.9.0`_ or higher, great!
With the terminal open, run the _`node -v`_ command to make sure you've successfully installed Node.js. If it outputs _`v16.11.0`_ or higher, great!
### Initiating a project folder

View File

@@ -7,7 +7,7 @@ category: Additional info
## Before you start
v14 requires Node 16.9 or higher to use, so make sure you're up to date. To check your Node.js version, use _`node --version`_ in your terminal or command prompt, and if it's not high enough, update it! There are many resources online to help you with this step based on your host system.
v14 requires Node 16.11 or higher to use, so make sure you're up to date. To check your Node.js version, use _`node --version`_ in your terminal or command prompt, and if it's not high enough, update it! There are many resources online to help you with this step based on your host system.
### Various packages are now included in v14

View File

@@ -71,7 +71,7 @@
"yaml@^2.1.1": "patch:yaml@npm%3A2.2.2#./.yarn/patches/yaml-npm-2.2.2-6e3cddb343.patch"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
},
"workspaces": [
"apps/*",

View File

@@ -61,6 +61,6 @@
"vitest": "^0.34.1"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
}
}

View File

@@ -47,7 +47,7 @@
"typescript": "^5.1.6"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
},
"publishConfig": {
"access": "public"

View File

@@ -23,7 +23,7 @@
## Installation
**Node.js 16.9.0 or newer is required.**
**Node.js 16.11.0 or newer is required.**
```sh
npm install @discordjs/brokers

View File

@@ -78,7 +78,7 @@
"vitest": "^0.34.1"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
},
"publishConfig": {
"access": "public"

View File

@@ -23,7 +23,7 @@
## Installation
**Node.js 16.9.0 or newer is required.**
**Node.js 16.11.0 or newer is required.**
```sh
npm install @discordjs/builders

View File

@@ -82,7 +82,7 @@
"vitest": "^0.34.1"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
},
"publishConfig": {
"access": "public"

View File

@@ -23,7 +23,7 @@
## Installation
**Node.js 16.9.0 or newer is required.**
**Node.js 16.11.0 or newer is required.**
```sh
npm install @discordjs/collection

View File

@@ -68,7 +68,7 @@
"vitest": "^0.34.1"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
},
"publishConfig": {
"access": "public"

View File

@@ -23,7 +23,7 @@
## Installation
**Node.js 16.9.0 or newer is required.**
**Node.js 16.11.0 or newer is required.**
```sh
npm install @discordjs/core

View File

@@ -78,7 +78,7 @@
"vitest": "^0.34.1"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
},
"publishConfig": {
"access": "public"

View File

@@ -29,7 +29,7 @@ discord.js is a powerful [Node.js](https://nodejs.org) module that allows you to
## Installation
**Node.js 16.9.0 or newer is required.**
**Node.js 16.11.0 or newer is required.**
```sh
npm install discord.js

View File

@@ -80,6 +80,6 @@
"typescript": "^5.1.6"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
}
}

View File

@@ -60,7 +60,7 @@
"typescript": "^5.1.6"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
},
"publishConfig": {
"access": "public"

View File

@@ -23,7 +23,7 @@
## Installation
**Node.js 16.9.0 or newer is required.**
**Node.js 16.11.0 or newer is required.**
```sh
npm install @discordjs/formatters

View File

@@ -64,7 +64,7 @@
"vitest": "^0.34.1"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
},
"publishConfig": {
"access": "public"

View File

@@ -60,7 +60,7 @@
"typescript": "^5.1.6"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
},
"publishConfig": {
"access": "public"

View File

@@ -23,7 +23,7 @@
## Installation
**Node.js 16.9.0 or newer is required.**
**Node.js 16.11.0 or newer is required.**
```sh
npm install @discordjs/proxy

View File

@@ -79,7 +79,7 @@
"vitest": "^0.34.1"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
},
"publishConfig": {
"access": "public"

View File

@@ -23,7 +23,7 @@
## Installation
**Node.js 16.9.0 or newer is required.**
**Node.js 16.11.0 or newer is required.**
Note: native fetch (not recommended) is unavailable in this node version, either use a newer node version or use the more performant `undiciRequest` strategy (default)

View File

@@ -93,7 +93,7 @@
"vitest": "^0.34.1"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
},
"publishConfig": {
"access": "public"

View File

@@ -69,6 +69,6 @@
"vitest": "^0.34.1"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
}
}

View File

@@ -59,7 +59,7 @@
"vitest": "^0.29.8"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
},
"publishConfig": {
"access": "public"

View File

@@ -86,7 +86,7 @@
"vitest": "^0.34.1"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
},
"publishConfig": {
"access": "public"

View File

@@ -20,7 +20,7 @@
## Installation
**Node.js 16.9.0 or newer is required.**
**Node.js 16.11.0 or newer is required.**
```sh
npm install @discordjs/util

View File

@@ -69,7 +69,7 @@
"vitest": "^0.34.1"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
},
"publishConfig": {
"access": "public"

View File

@@ -32,7 +32,7 @@
## Installation
**Node.js 16.9.0 or newer is required.**
**Node.js 16.11.0 or newer is required.**
```sh
npm install @discordjs/voice

View File

@@ -83,7 +83,7 @@
"typescript": "^5.1.6"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
},
"publishConfig": {
"access": "public"

View File

@@ -23,7 +23,7 @@
## Installation
**Node.js 16.9.0 or newer is required.**
**Node.js 16.11.0 or newer is required.**
```sh
npm install @discordjs/ws

View File

@@ -91,7 +91,7 @@
"zlib-sync": "^0.1.8"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
},
"publishConfig": {
"access": "public"