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

docs: Update Node.js requirement to 16.11.0 #9764

Merged
merged 5 commits into from
Aug 13, 2023
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
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/01-package_bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/*",
Expand Down
2 changes: 1 addition & 1 deletion packages/actions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@
"vitest": "^0.34.1"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
}
}
2 changes: 1 addition & 1 deletion packages/api-extractor-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"typescript": "^5.1.6"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/brokers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/brokers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"vitest": "^0.34.1"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/builders/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/builders/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"vitest": "^0.34.1"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/collection/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/collection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"vitest": "^0.34.1"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"vitest": "^0.34.1"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/discord.js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/discord.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,6 @@
"typescript": "^5.1.6"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
}
}
2 changes: 1 addition & 1 deletion packages/docgen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"typescript": "^5.1.6"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/formatters/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/formatters/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"vitest": "^0.34.1"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/proxy-container/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"typescript": "^5.1.6"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/proxy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"vitest": "^0.34.1"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/rest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion packages/rest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"vitest": "^0.34.1"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,6 @@
"vitest": "^0.34.1"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
}
}
2 changes: 1 addition & 1 deletion packages/scripts/src/template/template.package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"vitest": "^0.29.8"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"vitest": "^0.34.1"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/util/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"vitest": "^0.34.1"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/voice/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/voice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"typescript": "^5.1.6"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/ws/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/ws/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"zlib-sync": "^0.1.8"
},
"engines": {
"node": ">=16.9.0"
"node": ">=16.11.0"
},
"publishConfig": {
"access": "public"
Expand Down