@discordjs/next 1.0.0-dev.1690416597-8f4256d.0 → 1.0.0-dev.1732752798-e89c6b66a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +58 -45
package/README.md
CHANGED
|
@@ -16,12 +16,13 @@
|
|
|
16
16
|
|
|
17
17
|
## Installation
|
|
18
18
|
|
|
19
|
-
**Node.js
|
|
19
|
+
**Node.js 20 or newer is required.**
|
|
20
20
|
|
|
21
21
|
```sh
|
|
22
22
|
npm install @discordjs/next
|
|
23
23
|
yarn add @discordjs/next
|
|
24
24
|
pnpm add @discordjs/next
|
|
25
|
+
bun add @discordjs/next
|
|
25
26
|
```
|
|
26
27
|
|
|
27
28
|
## Links
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The {@link https://github.com/discordjs/discord.js/blob/main/packages/next
|
|
2
|
+
* The {@link https://github.com/discordjs/discord.js/blob/main/packages/next#readme | @discordjs/next} version
|
|
3
3
|
* that you are currently using.
|
|
4
4
|
*/
|
|
5
5
|
declare const version: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The {@link https://github.com/discordjs/discord.js/blob/main/packages/next
|
|
2
|
+
* The {@link https://github.com/discordjs/discord.js/blob/main/packages/next#readme | @discordjs/next} version
|
|
3
3
|
* that you are currently using.
|
|
4
4
|
*/
|
|
5
5
|
declare const version: string;
|
package/dist/index.js
CHANGED
|
@@ -23,7 +23,7 @@ __export(src_exports, {
|
|
|
23
23
|
version: () => version
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(src_exports);
|
|
26
|
-
var version = "1.0.0-dev.
|
|
26
|
+
var version = "1.0.0-dev.1732752798-e89c6b66a";
|
|
27
27
|
// Annotate the CommonJS export names for ESM import in node:
|
|
28
28
|
0 && (module.exports = {
|
|
29
29
|
version
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["/**\n * The {@link https://github.com/discordjs/discord.js/blob/main/packages/next
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["/**\n * The {@link https://github.com/discordjs/discord.js/blob/main/packages/next#readme | @discordjs/next} version\n * that you are currently using.\n */\n// This needs to explicitly be `string` so it is not typed as a \"const string\" that gets injected by esbuild\nexport const version = '1.0.0-dev.1732752798-e89c6b66a' as string;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAKO,IAAM,UAAU;","names":[]}
|
package/dist/index.mjs
CHANGED
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["/**\n * The {@link https://github.com/discordjs/discord.js/blob/main/packages/next
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["/**\n * The {@link https://github.com/discordjs/discord.js/blob/main/packages/next#readme | @discordjs/next} version\n * that you are currently using.\n */\n// This needs to explicitly be `string` so it is not typed as a \"const string\" that gets injected by esbuild\nexport const version = '1.0.0-dev.1732752798-e89c6b66a' as string;\n"],"mappings":";AAKO,IAAM,UAAU;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/package.json",
|
|
2
3
|
"name": "@discordjs/next",
|
|
3
|
-
"version": "1.0.0-dev.
|
|
4
|
+
"version": "1.0.0-dev.1732752798-e89c6b66a",
|
|
4
5
|
"description": "A powerful TypeScript library for interacting with the Discord API",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"test": "vitest run",
|
|
7
|
-
"build": "tsup",
|
|
8
|
-
"build:docs": "tsc -p tsconfig.docs.json",
|
|
9
|
-
"lint": "prettier --check . && cross-env TIMING=1 eslint src __tests__ --ext .mjs,.js,.ts --format=pretty",
|
|
10
|
-
"format": "prettier --write . && cross-env TIMING=1 eslint src __tests__ --ext .mjs,.js,.ts --fix --format=pretty",
|
|
11
|
-
"docs": "yarn build:docs && api-extractor run --local && api-extractor run --local --config ./api-extractor-docs.json",
|
|
12
|
-
"prepack": "yarn build && yarn lint",
|
|
13
|
-
"changelog": "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/next/*'",
|
|
14
|
-
"release": "cliff-jumper"
|
|
15
|
-
},
|
|
16
|
-
"main": "./dist/index.js",
|
|
17
|
-
"module": "./dist/index.mjs",
|
|
18
|
-
"typings": "./dist/index.d.ts",
|
|
19
6
|
"exports": {
|
|
20
7
|
".": {
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
8
|
+
"require": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"default": "./dist/index.js"
|
|
11
|
+
},
|
|
12
|
+
"import": {
|
|
13
|
+
"types": "./dist/index.d.mts",
|
|
14
|
+
"default": "./dist/index.mjs"
|
|
15
|
+
}
|
|
24
16
|
},
|
|
25
17
|
"./*": {
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
18
|
+
"require": {
|
|
19
|
+
"types": "./dist/exports/*.d.ts",
|
|
20
|
+
"default": "./dist/exports/*.js"
|
|
21
|
+
},
|
|
22
|
+
"import": {
|
|
23
|
+
"types": "./dist/exports/*.d.mts",
|
|
24
|
+
"default": "./dist/exports/*.mjs"
|
|
25
|
+
}
|
|
29
26
|
}
|
|
30
27
|
},
|
|
28
|
+
"main": "./dist/index.js",
|
|
29
|
+
"module": "./dist/index.mjs",
|
|
30
|
+
"types": "./dist/index.d.ts",
|
|
31
31
|
"directories": {
|
|
32
32
|
"lib": "src",
|
|
33
33
|
"test": "__tests__"
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"contributors": [
|
|
39
39
|
"Crawl <icrawltogo@gmail.com>",
|
|
40
40
|
"SpaceEEC <spaceeec@yahoo.com>",
|
|
41
|
-
"Vlad Frangu <
|
|
41
|
+
"Vlad Frangu <me@vladfrangu.dev>",
|
|
42
42
|
"Aura Román <kyradiscord@gmail.com>"
|
|
43
43
|
],
|
|
44
44
|
"license": "Apache-2.0",
|
|
@@ -52,36 +52,49 @@
|
|
|
52
52
|
"url": "https://github.com/discordjs/discord.js/issues"
|
|
53
53
|
},
|
|
54
54
|
"homepage": "https://discord.js.org",
|
|
55
|
+
"funding": "https://github.com/discordjs/discord.js?sponsor",
|
|
55
56
|
"dependencies": {
|
|
56
|
-
"
|
|
57
|
-
"@discordjs/collection": "^1.
|
|
58
|
-
"@discordjs/core": "^0.
|
|
59
|
-
"@discordjs/
|
|
60
|
-
"@discordjs/
|
|
61
|
-
"@discordjs/
|
|
62
|
-
"@discordjs/
|
|
63
|
-
"
|
|
57
|
+
"discord-api-types": "^0.37.109",
|
|
58
|
+
"@discordjs/collection": "^2.1.1",
|
|
59
|
+
"@discordjs/core": "^2.0.0",
|
|
60
|
+
"@discordjs/rest": "^2.4.0",
|
|
61
|
+
"@discordjs/util": "^1.1.1",
|
|
62
|
+
"@discordjs/builders": "^1.9.0",
|
|
63
|
+
"@discordjs/formatters": "^0.5.0",
|
|
64
|
+
"@discordjs/ws": "^2.0.0"
|
|
64
65
|
},
|
|
65
66
|
"devDependencies": {
|
|
66
|
-
"@favware/cliff-jumper": "^
|
|
67
|
-
"@
|
|
68
|
-
"@
|
|
69
|
-
"@vitest/coverage-c8": "^0.33.0",
|
|
67
|
+
"@favware/cliff-jumper": "^4.1.0",
|
|
68
|
+
"@types/node": "^20.17.8",
|
|
69
|
+
"@vitest/coverage-v8": "^2.1.5",
|
|
70
70
|
"cross-env": "^7.0.3",
|
|
71
|
-
"esbuild-plugin-version-injector": "^1.2.
|
|
72
|
-
"eslint": "^8.
|
|
73
|
-
"eslint-config-neon": "^0.1.
|
|
74
|
-
"eslint-formatter-pretty": "^
|
|
75
|
-
"prettier": "^
|
|
76
|
-
"tsup": "^
|
|
77
|
-
"turbo": "^
|
|
78
|
-
"typescript": "
|
|
79
|
-
"vitest": "^
|
|
71
|
+
"esbuild-plugin-version-injector": "^1.2.1",
|
|
72
|
+
"eslint": "^8.57.1",
|
|
73
|
+
"eslint-config-neon": "^0.1.62",
|
|
74
|
+
"eslint-formatter-pretty": "^6.0.1",
|
|
75
|
+
"prettier": "^3.3.3",
|
|
76
|
+
"tsup": "^8.3.5",
|
|
77
|
+
"turbo": "^2.3.0",
|
|
78
|
+
"typescript": "~5.5.4",
|
|
79
|
+
"vitest": "^2.1.5",
|
|
80
|
+
"@discordjs/scripts": "^0.1.0",
|
|
81
|
+
"@discordjs/api-extractor": "^7.38.1"
|
|
80
82
|
},
|
|
81
83
|
"engines": {
|
|
82
|
-
"node": ">=
|
|
84
|
+
"node": ">=20"
|
|
83
85
|
},
|
|
84
86
|
"publishConfig": {
|
|
85
|
-
"access": "public"
|
|
87
|
+
"access": "public",
|
|
88
|
+
"provenance": true
|
|
89
|
+
},
|
|
90
|
+
"scripts": {
|
|
91
|
+
"test": "vitest run",
|
|
92
|
+
"build": "tsc --noEmit && tsup",
|
|
93
|
+
"build:docs": "tsc -p tsconfig.docs.json",
|
|
94
|
+
"lint": "prettier --check . && cross-env TIMING=1 eslint --format=pretty src __tests__",
|
|
95
|
+
"format": "prettier --write . && cross-env TIMING=1 eslint --fix --format=pretty src __tests__",
|
|
96
|
+
"docs": "pnpm run build:docs && api-extractor run --local --minify && generate-split-documentation",
|
|
97
|
+
"changelog": "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/next/*'",
|
|
98
|
+
"release": "cliff-jumper"
|
|
86
99
|
}
|
|
87
100
|
}
|