mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
chore: refactor workspace
This commit is contained in:
18
packages/actions/.gitignore
vendored
18
packages/actions/.gitignore
vendored
@@ -1,8 +1,8 @@
|
||||
# Packages
|
||||
node_modules/
|
||||
node_modules
|
||||
|
||||
# Log files
|
||||
logs/
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
|
||||
@@ -15,15 +15,9 @@ pids
|
||||
.env
|
||||
|
||||
# Dist
|
||||
dist/
|
||||
typings/
|
||||
|
||||
docs/**/*
|
||||
!docs/index.yml
|
||||
!docs/README.md
|
||||
!docs/examples/
|
||||
!docs/examples/*.md
|
||||
dist
|
||||
|
||||
# Miscellaneous
|
||||
.tmp/
|
||||
coverage/
|
||||
.turbo
|
||||
.tmp
|
||||
coverage
|
||||
|
||||
@@ -1,8 +1,3 @@
|
||||
# Autogenerated
|
||||
CHANGELOG.md
|
||||
.turbo
|
||||
dist/
|
||||
docs/**/*
|
||||
!docs/index.yml
|
||||
!docs/README.md
|
||||
coverage/
|
||||
coverage
|
||||
dist
|
||||
|
||||
@@ -52,12 +52,13 @@
|
||||
"@vitest/coverage-c8": "^0.30.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"eslint": "^8.39.0",
|
||||
"eslint-config-neon": "^0.1.42",
|
||||
"eslint-config-neon": "^0.1.46",
|
||||
"eslint-formatter-pretty": "^5.0.0",
|
||||
"prettier": "^2.8.8",
|
||||
"tsup": "^6.7.0",
|
||||
"turbo": "^1.9.4-canary.7",
|
||||
"typescript": "^5.0.4",
|
||||
"vitest": "^0.29.8"
|
||||
"vitest": "^0.30.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.9.0"
|
||||
|
||||
15
packages/api-extractor-utils/.gitignore
vendored
15
packages/api-extractor-utils/.gitignore
vendored
@@ -1,8 +1,8 @@
|
||||
# Packages
|
||||
node_modules/
|
||||
node_modules
|
||||
|
||||
# Log files
|
||||
logs/
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
|
||||
@@ -15,13 +15,8 @@ pids
|
||||
.env
|
||||
|
||||
# Dist
|
||||
dist/
|
||||
typings/
|
||||
docs/**/*
|
||||
!docs/index.json
|
||||
!docs/README.md
|
||||
dist
|
||||
|
||||
# Miscellaneous
|
||||
.tmp/
|
||||
coverage/
|
||||
tsconfig.tsbuildinfo
|
||||
.turbo
|
||||
.tmp
|
||||
|
||||
@@ -1,8 +1,3 @@
|
||||
# Autogenerated
|
||||
CHANGELOG.md
|
||||
.turbo
|
||||
dist/
|
||||
docs/**/*
|
||||
!docs/index.yml
|
||||
!docs/README.md
|
||||
coverage/
|
||||
coverage
|
||||
dist
|
||||
|
||||
@@ -32,17 +32,18 @@
|
||||
},
|
||||
"homepage": "https://discord.js.org",
|
||||
"dependencies": {
|
||||
"@microsoft/api-extractor-model": "7.26.6",
|
||||
"@microsoft/api-extractor-model": "7.26.7",
|
||||
"@microsoft/tsdoc": "0.14.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "16.18.25",
|
||||
"cross-env": "^7.0.3",
|
||||
"eslint": "^8.39.0",
|
||||
"eslint-config-neon": "^0.1.42",
|
||||
"eslint-config-neon": "^0.1.46",
|
||||
"eslint-formatter-pretty": "^5.0.0",
|
||||
"prettier": "^2.8.8",
|
||||
"tsup": "^6.7.0",
|
||||
"turbo": "^1.9.4-canary.7",
|
||||
"typescript": "^5.0.4"
|
||||
},
|
||||
"engines": {
|
||||
|
||||
17
packages/brokers/.gitignore
vendored
17
packages/brokers/.gitignore
vendored
@@ -1,8 +1,8 @@
|
||||
# Packages
|
||||
node_modules/
|
||||
node_modules
|
||||
|
||||
# Log files
|
||||
logs/
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
|
||||
@@ -15,13 +15,14 @@ pids
|
||||
.env
|
||||
|
||||
# Dist
|
||||
dist/
|
||||
typings/
|
||||
dist
|
||||
dist-docs
|
||||
|
||||
# Docs
|
||||
docs/**/*
|
||||
!docs/index.json
|
||||
!docs/README.md
|
||||
|
||||
# Miscellaneous
|
||||
.tmp/
|
||||
coverage/
|
||||
tsconfig.tsbuildinfo
|
||||
.turbo
|
||||
.tmp
|
||||
coverage
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
# Autogenerated
|
||||
CHANGELOG.md
|
||||
.turbo
|
||||
dist/
|
||||
docs/**/*
|
||||
!docs/index.yml
|
||||
!docs/README.md
|
||||
coverage/
|
||||
dist-docs/
|
||||
coverage
|
||||
dist
|
||||
dist-docs
|
||||
docs/docs.api.json
|
||||
CHANGELOG.md
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
[{ "name": "General", "files": [{ "name": "Welcome", "id": "welcome", "path": "../../README.md" }] }]
|
||||
@@ -64,17 +64,18 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@favware/cliff-jumper": "^2.0.0",
|
||||
"@microsoft/api-extractor": "^7.34.6",
|
||||
"@microsoft/api-extractor": "^7.34.7",
|
||||
"@types/node": "16.18.25",
|
||||
"@vitest/coverage-c8": "^0.30.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"eslint": "^8.39.0",
|
||||
"eslint-config-neon": "^0.1.42",
|
||||
"eslint-config-neon": "^0.1.46",
|
||||
"eslint-formatter-pretty": "^5.0.0",
|
||||
"prettier": "^2.8.8",
|
||||
"tsup": "^6.7.0",
|
||||
"turbo": "^1.9.4-canary.7",
|
||||
"typescript": "^5.0.4",
|
||||
"vitest": "^0.29.8"
|
||||
"vitest": "^0.30.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.9.0"
|
||||
|
||||
18
packages/builders/.gitignore
vendored
18
packages/builders/.gitignore
vendored
@@ -1,8 +1,8 @@
|
||||
# Packages
|
||||
node_modules/
|
||||
node_modules
|
||||
|
||||
# Log files
|
||||
logs/
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
|
||||
@@ -15,15 +15,15 @@ pids
|
||||
.env
|
||||
|
||||
# Dist
|
||||
dist/
|
||||
typings/
|
||||
dist
|
||||
dist-docs
|
||||
|
||||
# Docs
|
||||
docs/**/*
|
||||
!docs/index.json
|
||||
!docs/README.md
|
||||
!docs/examples/
|
||||
!docs/examples/*.md
|
||||
!docs/examples/**/*
|
||||
|
||||
# Miscellaneous
|
||||
.tmp/
|
||||
coverage/
|
||||
.turbo
|
||||
.tmp
|
||||
coverage
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
# Autogenerated
|
||||
CHANGELOG.md
|
||||
.turbo
|
||||
dist/
|
||||
docs/**/*
|
||||
!docs/index.yml
|
||||
!docs/README.md
|
||||
coverage/
|
||||
dist-docs/
|
||||
coverage
|
||||
dist
|
||||
dist-docs
|
||||
docs/docs.api.json
|
||||
CHANGELOG.md
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
[{ "name": "General", "files": [{ "name": "Welcome", "id": "welcome", "path": "../../README.md" }] }]
|
||||
@@ -66,19 +66,20 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@favware/cliff-jumper": "^2.0.0",
|
||||
"@microsoft/api-extractor": "^7.34.6",
|
||||
"@microsoft/api-extractor": "^7.34.7",
|
||||
"@types/node": "16.18.25",
|
||||
"@vitest/coverage-c8": "^0.30.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"downlevel-dts": "^0.11.0",
|
||||
"esbuild-plugin-version-injector": "^1.1.0",
|
||||
"eslint": "^8.39.0",
|
||||
"eslint-config-neon": "^0.1.42",
|
||||
"eslint-config-neon": "^0.1.46",
|
||||
"eslint-formatter-pretty": "^5.0.0",
|
||||
"prettier": "^2.8.8",
|
||||
"tsup": "^6.7.0",
|
||||
"turbo": "^1.9.4-canary.7",
|
||||
"typescript": "^5.0.4",
|
||||
"vitest": "^0.29.8"
|
||||
"vitest": "^0.30.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.9.0"
|
||||
|
||||
17
packages/collection/.gitignore
vendored
17
packages/collection/.gitignore
vendored
@@ -1,8 +1,8 @@
|
||||
# Packages
|
||||
node_modules/
|
||||
node_modules
|
||||
|
||||
# Log files
|
||||
logs/
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
|
||||
@@ -15,13 +15,14 @@ pids
|
||||
.env
|
||||
|
||||
# Dist
|
||||
dist/
|
||||
typings/
|
||||
dist
|
||||
dist-docs
|
||||
|
||||
# Docs
|
||||
docs/**/*
|
||||
!docs/index.json
|
||||
!docs/README.md
|
||||
|
||||
# Miscellaneous
|
||||
.tmp/
|
||||
coverage/
|
||||
tsconfig.tsbuildinfo
|
||||
.turbo
|
||||
.tmp
|
||||
coverage
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
# Autogenerated
|
||||
CHANGELOG.md
|
||||
.turbo
|
||||
dist/
|
||||
docs/**/*
|
||||
!docs/index.yml
|
||||
!docs/README.md
|
||||
coverage/
|
||||
dist-docs/
|
||||
coverage
|
||||
dist
|
||||
dist-docs
|
||||
docs/docs.api.json
|
||||
CHANGELOG.md
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
[{ "name": "General", "files": [{ "name": "Welcome", "id": "welcome", "path": "../../README.md" }] }]
|
||||
@@ -53,18 +53,19 @@
|
||||
"homepage": "https://discord.js.org",
|
||||
"devDependencies": {
|
||||
"@favware/cliff-jumper": "^2.0.0",
|
||||
"@microsoft/api-extractor": "^7.34.6",
|
||||
"@microsoft/api-extractor": "^7.34.7",
|
||||
"@types/node": "16.18.25",
|
||||
"@vitest/coverage-c8": "^0.30.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"esbuild-plugin-version-injector": "^1.1.0",
|
||||
"eslint": "^8.39.0",
|
||||
"eslint-config-neon": "^0.1.42",
|
||||
"eslint-config-neon": "^0.1.46",
|
||||
"eslint-formatter-pretty": "^5.0.0",
|
||||
"prettier": "^2.8.8",
|
||||
"tsup": "^6.7.0",
|
||||
"turbo": "^1.9.4-canary.7",
|
||||
"typescript": "^5.0.4",
|
||||
"vitest": "^0.29.8"
|
||||
"vitest": "^0.30.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.9.0"
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
{
|
||||
"extends": "../../.eslintrc.json",
|
||||
"rules": {
|
||||
"jsdoc/check-param-names": "off"
|
||||
}
|
||||
"extends": "../../.eslintrc.json"
|
||||
}
|
||||
|
||||
17
packages/core/.gitignore
vendored
17
packages/core/.gitignore
vendored
@@ -1,8 +1,8 @@
|
||||
# Packages
|
||||
node_modules/
|
||||
node_modules
|
||||
|
||||
# Log files
|
||||
logs/
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
|
||||
@@ -15,13 +15,14 @@ pids
|
||||
.env
|
||||
|
||||
# Dist
|
||||
dist/
|
||||
typings/
|
||||
dist
|
||||
dist-docs
|
||||
|
||||
# Docs
|
||||
docs/**/*
|
||||
!docs/index.json
|
||||
!docs/README.md
|
||||
|
||||
# Miscellaneous
|
||||
.tmp/
|
||||
coverage/
|
||||
tsconfig.tsbuildinfo
|
||||
.turbo
|
||||
.tmp
|
||||
coverage
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
# Autogenerated
|
||||
CHANGELOG.md
|
||||
.turbo
|
||||
dist/
|
||||
docs/**/*
|
||||
!docs/index.yml
|
||||
!docs/README.md
|
||||
coverage/
|
||||
dist-docs/
|
||||
coverage
|
||||
dist
|
||||
dist-docs
|
||||
docs/docs.api.json
|
||||
CHANGELOG.md
|
||||
|
||||
1
packages/core/docs/README.md
Normal file
1
packages/core/docs/README.md
Normal file
@@ -0,0 +1 @@
|
||||
## [View the documentation here.](https://discord.js.org/docs/packages/core/main)
|
||||
@@ -63,18 +63,19 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@favware/cliff-jumper": "^2.0.0",
|
||||
"@microsoft/api-extractor": "^7.34.6",
|
||||
"@microsoft/api-extractor": "^7.34.7",
|
||||
"@types/node": "16.18.25",
|
||||
"@vitest/coverage-c8": "^0.30.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"esbuild-plugin-version-injector": "^1.1.0",
|
||||
"eslint": "^8.39.0",
|
||||
"eslint-config-neon": "^0.1.42",
|
||||
"eslint-config-neon": "^0.1.46",
|
||||
"eslint-formatter-pretty": "^5.0.0",
|
||||
"prettier": "^2.8.8",
|
||||
"tsup": "^6.7.0",
|
||||
"turbo": "^1.9.4-canary.7",
|
||||
"typescript": "^5.0.4",
|
||||
"vitest": "^0.29.8"
|
||||
"vitest": "^0.30.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.9.0"
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
/* eslint-disable jsdoc/check-param-names */
|
||||
|
||||
import { makeURLSearchParams, type RequestData, type REST } from '@discordjs/rest';
|
||||
import {
|
||||
Routes,
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
/* eslint-disable jsdoc/check-param-names */
|
||||
|
||||
import { makeURLSearchParams, type RawFile, type REST, type RequestData } from '@discordjs/rest';
|
||||
import {
|
||||
Routes,
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
/* eslint-disable jsdoc/check-param-names */
|
||||
|
||||
import { makeURLSearchParams, type REST, type RawFile, type RequestData } from '@discordjs/rest';
|
||||
import { Routes } from 'discord-api-types/v10';
|
||||
import type {
|
||||
@@ -1035,6 +1037,7 @@ export class GuildsAPI {
|
||||
*
|
||||
* @see {@link https://discord.com/developers/docs/resources/auto-moderation#delete-auto-moderation-rule}
|
||||
* @param guildId - The id of the guild to delete the auto moderation rule from
|
||||
* @param ruleId - The id of the auto moderation rule to delete
|
||||
* @param options - The options for deleting the auto moderation rule
|
||||
*/
|
||||
public async deleteAutoModerationRule(
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
/* eslint-disable jsdoc/check-param-names */
|
||||
|
||||
import type { RawFile, RequestData, REST } from '@discordjs/rest';
|
||||
import { InteractionResponseType, Routes } from 'discord-api-types/v10';
|
||||
import type {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
/* eslint-disable jsdoc/check-param-names */
|
||||
|
||||
import { makeURLSearchParams, type RequestData, type REST } from '@discordjs/rest';
|
||||
import { Routes, type RESTGetAPIInviteQuery, type RESTGetAPIInviteResult } from 'discord-api-types/v10';
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
/* eslint-disable jsdoc/check-param-names */
|
||||
|
||||
import { URL } from 'node:url';
|
||||
import { type RequestData, type REST, makeURLSearchParams } from '@discordjs/rest';
|
||||
import {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
/* eslint-disable jsdoc/check-param-names */
|
||||
|
||||
import type { RequestData, REST } from '@discordjs/rest';
|
||||
import {
|
||||
Routes,
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
/* eslint-disable jsdoc/check-param-names */
|
||||
|
||||
import type { RequestData, REST } from '@discordjs/rest';
|
||||
import {
|
||||
Routes,
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
/* eslint-disable jsdoc/check-param-names */
|
||||
|
||||
import type { RawFile, RequestData, REST } from '@discordjs/rest';
|
||||
import {
|
||||
Routes,
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
/* eslint-disable jsdoc/check-param-names */
|
||||
|
||||
import { makeURLSearchParams, type RequestData, type REST } from '@discordjs/rest';
|
||||
import {
|
||||
Routes,
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
/* eslint-disable jsdoc/check-param-names */
|
||||
|
||||
import type { RequestData, REST } from '@discordjs/rest';
|
||||
import { Routes, type RESTGetAPIVoiceRegionsResult } from 'discord-api-types/v10';
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
/* eslint-disable jsdoc/check-param-names */
|
||||
|
||||
import { makeURLSearchParams, type RequestData, type RawFile, type REST } from '@discordjs/rest';
|
||||
import {
|
||||
Routes,
|
||||
@@ -158,6 +160,7 @@ export class WebhooksAPI {
|
||||
* @see {@link https://discord.com/developers/docs/resources/webhook#execute-slackcompatible-webhook}
|
||||
* @param id - The id of the webhook
|
||||
* @param token - The token of the webhook
|
||||
* @param body - The data to use when executing the webhook
|
||||
* @param query - The query options to use when executing the webhook
|
||||
* @param options - The options to use when executing the webhook
|
||||
*/
|
||||
@@ -182,6 +185,7 @@ export class WebhooksAPI {
|
||||
* @see {@link https://discord.com/developers/docs/resources/webhook#execute-githubcompatible-webhook}
|
||||
* @param id - The id of the webhook
|
||||
* @param token - The token of the webhook
|
||||
* @param body - The data to use when executing the webhook
|
||||
* @param query - The options to use when executing the webhook
|
||||
* @param options - The options to use when executing the webhook
|
||||
*/
|
||||
|
||||
@@ -1 +1 @@
|
||||
/typings/**/*
|
||||
typings
|
||||
|
||||
14
packages/discord.js/.gitignore
vendored
14
packages/discord.js/.gitignore
vendored
@@ -1,8 +1,8 @@
|
||||
# Packages
|
||||
node_modules/
|
||||
node_modules
|
||||
|
||||
# Log files
|
||||
logs/
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
|
||||
@@ -16,12 +16,12 @@ pids
|
||||
test/auth.json
|
||||
test/auth.js
|
||||
|
||||
# Dist
|
||||
dist/
|
||||
# Docs
|
||||
docs/**/*
|
||||
!docs/index.json
|
||||
!docs/logo.svg
|
||||
!docs/README.md
|
||||
|
||||
# Miscellaneous
|
||||
.tmp/
|
||||
coverage/
|
||||
tsconfig.tsbuildinfo
|
||||
.turbo
|
||||
.tmp
|
||||
|
||||
@@ -1,8 +1,3 @@
|
||||
# Autogenerated
|
||||
CHANGELOG.md
|
||||
.turbo
|
||||
dist/
|
||||
docs/**/*
|
||||
!docs/index.yml
|
||||
!docs/README.md
|
||||
coverage/
|
||||
docs/docs.json
|
||||
CHANGELOG.md
|
||||
|
||||
@@ -76,6 +76,7 @@
|
||||
"prettier": "^2.8.8",
|
||||
"tsd": "^0.28.1",
|
||||
"tslint": "^6.1.3",
|
||||
"turbo": "^1.9.4-canary.7",
|
||||
"typescript": "^5.0.4"
|
||||
},
|
||||
"engines": {
|
||||
|
||||
13
packages/docgen/.gitignore
vendored
13
packages/docgen/.gitignore
vendored
@@ -1,8 +1,8 @@
|
||||
# Packages
|
||||
node_modules/
|
||||
node_modules
|
||||
|
||||
# Log files
|
||||
logs/
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
|
||||
@@ -15,11 +15,8 @@ pids
|
||||
.env
|
||||
|
||||
# Dist
|
||||
dist/
|
||||
typings/
|
||||
|
||||
docs/**/*
|
||||
dist
|
||||
|
||||
# Miscellaneous
|
||||
.tmp/
|
||||
coverage/
|
||||
.turbo
|
||||
.tmp
|
||||
|
||||
@@ -1,8 +1,2 @@
|
||||
# Autogenerated
|
||||
CHANGELOG.md
|
||||
.turbo
|
||||
dist/
|
||||
docs/**/*
|
||||
!docs/index.yml
|
||||
!docs/README.md
|
||||
coverage/
|
||||
dist
|
||||
|
||||
@@ -52,10 +52,11 @@
|
||||
"@types/node": "16.18.25",
|
||||
"cross-env": "^7.0.3",
|
||||
"eslint": "^8.39.0",
|
||||
"eslint-config-neon": "^0.1.42",
|
||||
"eslint-config-neon": "^0.1.46",
|
||||
"eslint-formatter-pretty": "^5.0.0",
|
||||
"prettier": "^2.8.8",
|
||||
"tsup": "^6.7.0",
|
||||
"turbo": "^1.9.4-canary.7",
|
||||
"typescript": "^5.0.4"
|
||||
},
|
||||
"engines": {
|
||||
|
||||
17
packages/formatters/.gitignore
vendored
17
packages/formatters/.gitignore
vendored
@@ -1,8 +1,8 @@
|
||||
# Packages
|
||||
node_modules/
|
||||
node_modules
|
||||
|
||||
# Log files
|
||||
logs/
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
|
||||
@@ -15,13 +15,14 @@ pids
|
||||
.env
|
||||
|
||||
# Dist
|
||||
dist/
|
||||
typings/
|
||||
dist
|
||||
dist-docs
|
||||
|
||||
# Docs
|
||||
docs/**/*
|
||||
!docs/index.json
|
||||
!docs/README.md
|
||||
|
||||
# Miscellaneous
|
||||
.tmp/
|
||||
coverage/
|
||||
tsconfig.tsbuildinfo
|
||||
.turbo
|
||||
.tmp
|
||||
coverage
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
# Autogenerated
|
||||
CHANGELOG.md
|
||||
.turbo
|
||||
dist/
|
||||
docs/**/*
|
||||
!docs/index.yml
|
||||
!docs/README.md
|
||||
coverage/
|
||||
dist-docs/
|
||||
coverage
|
||||
dist
|
||||
dist-docs
|
||||
docs/docs.api.json
|
||||
CHANGELOG.md
|
||||
|
||||
1
packages/formatters/docs/README.md
Normal file
1
packages/formatters/docs/README.md
Normal file
@@ -0,0 +1 @@
|
||||
## [View the documentation here.](https://discord.js.org/docs/packages/formatters/main)
|
||||
@@ -50,17 +50,18 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@favware/cliff-jumper": "^2.0.0",
|
||||
"@microsoft/api-extractor": "^7.34.6",
|
||||
"@microsoft/api-extractor": "^7.34.7",
|
||||
"@types/node": "16.18.25",
|
||||
"@vitest/coverage-c8": "^0.30.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"eslint": "^8.39.0",
|
||||
"eslint-config-neon": "^0.1.42",
|
||||
"eslint-config-neon": "^0.1.46",
|
||||
"eslint-formatter-pretty": "^5.0.0",
|
||||
"prettier": "^2.8.8",
|
||||
"tsup": "^6.7.0",
|
||||
"turbo": "^1.9.4-canary.7",
|
||||
"typescript": "^5.0.4",
|
||||
"vitest": "^0.29.8"
|
||||
"vitest": "^0.30.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.9.0"
|
||||
|
||||
17
packages/next/.gitignore
vendored
17
packages/next/.gitignore
vendored
@@ -1,8 +1,8 @@
|
||||
# Packages
|
||||
node_modules/
|
||||
node_modules
|
||||
|
||||
# Log files
|
||||
logs/
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
|
||||
@@ -15,13 +15,14 @@ pids
|
||||
.env
|
||||
|
||||
# Dist
|
||||
dist/
|
||||
typings/
|
||||
dist
|
||||
dist-docs
|
||||
|
||||
# Docs
|
||||
docs/**/*
|
||||
!docs/index.json
|
||||
!docs/README.md
|
||||
|
||||
# Miscellaneous
|
||||
.tmp/
|
||||
coverage/
|
||||
tsconfig.tsbuildinfo
|
||||
.turbo
|
||||
.tmp
|
||||
coverage
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
# Autogenerated
|
||||
CHANGELOG.md
|
||||
.turbo
|
||||
dist/
|
||||
docs/**/*
|
||||
!docs/index.yml
|
||||
!docs/README.md
|
||||
coverage/
|
||||
dist-docs/
|
||||
coverage
|
||||
dist
|
||||
dist-docs
|
||||
docs/docs.api.json
|
||||
CHANGELOG.md
|
||||
|
||||
1
packages/next/docs/README.md
Normal file
1
packages/next/docs/README.md
Normal file
@@ -0,0 +1 @@
|
||||
## [View the documentation here.](https://discord.js.org/docs/packages/next/main)
|
||||
@@ -64,18 +64,19 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@favware/cliff-jumper": "^2.0.0",
|
||||
"@microsoft/api-extractor": "^7.34.6",
|
||||
"@microsoft/api-extractor": "^7.34.7",
|
||||
"@types/node": "18.16.3",
|
||||
"@vitest/coverage-c8": "^0.30.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"esbuild-plugin-version-injector": "^1.1.0",
|
||||
"eslint": "^8.39.0",
|
||||
"eslint-config-neon": "^0.1.42",
|
||||
"eslint-config-neon": "^0.1.46",
|
||||
"eslint-formatter-pretty": "^5.0.0",
|
||||
"prettier": "^2.8.8",
|
||||
"tsup": "^6.7.0",
|
||||
"turbo": "^1.9.4-canary.7",
|
||||
"typescript": "^5.0.4",
|
||||
"vitest": "^0.29.8"
|
||||
"vitest": "^0.30.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.13.0"
|
||||
|
||||
18
packages/proxy-container/.gitignore
vendored
18
packages/proxy-container/.gitignore
vendored
@@ -1,8 +1,8 @@
|
||||
# Packages
|
||||
node_modules/
|
||||
node_modules
|
||||
|
||||
# Log files
|
||||
logs/
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
|
||||
@@ -15,18 +15,8 @@ pids
|
||||
.env
|
||||
|
||||
# Dist
|
||||
dist/
|
||||
typings/
|
||||
docs/**/*
|
||||
!docs/index.yml
|
||||
!docs/README.md
|
||||
dist
|
||||
|
||||
# Miscellaneous
|
||||
.tmp/
|
||||
coverage/
|
||||
tsconfig.tsbuildinfo
|
||||
.turbo
|
||||
|
||||
# Yarn files
|
||||
.yarn/install-state.gz
|
||||
.yarn/build-state.yml
|
||||
.tmp
|
||||
|
||||
@@ -1,8 +1,2 @@
|
||||
# Autogenerated
|
||||
CHANGELOG.md
|
||||
.turbo
|
||||
dist/
|
||||
docs/**/*
|
||||
!docs/index.yml
|
||||
!docs/README.md
|
||||
coverage/
|
||||
dist
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM node:16-alpine as builder
|
||||
FROM node:18-alpine AS builder
|
||||
|
||||
RUN apk update
|
||||
RUN apk add --no-cache libc6-compat
|
||||
@@ -10,7 +10,7 @@ COPY manifests .
|
||||
RUN yarn install --immutable
|
||||
RUN rm -rf .yarn/cache
|
||||
|
||||
FROM node:16-alpine AS runner
|
||||
FROM node:18-alpine AS runner
|
||||
|
||||
WORKDIR /usr/proxy
|
||||
|
||||
@@ -18,7 +18,7 @@ RUN addgroup --system --gid 1001 nodejs
|
||||
RUN adduser --system --uid 1001 proxy
|
||||
USER proxy
|
||||
|
||||
COPY --from=installer /usr/proxy .
|
||||
COPY --from=builder /usr/proxy .
|
||||
COPY packs .
|
||||
|
||||
CMD ["node", "--enable-source-maps", "dist/index.js"]
|
||||
|
||||
@@ -52,10 +52,11 @@
|
||||
"@types/node": "16.18.25",
|
||||
"cross-env": "^7.0.3",
|
||||
"eslint": "^8.39.0",
|
||||
"eslint-config-neon": "^0.1.42",
|
||||
"eslint-config-neon": "^0.1.46",
|
||||
"eslint-formatter-pretty": "^5.0.0",
|
||||
"prettier": "^2.8.8",
|
||||
"tsup": "^6.7.0",
|
||||
"turbo": "^1.9.4-canary.7",
|
||||
"typescript": "^5.0.4"
|
||||
},
|
||||
"engines": {
|
||||
|
||||
17
packages/proxy/.gitignore
vendored
17
packages/proxy/.gitignore
vendored
@@ -1,8 +1,8 @@
|
||||
# Packages
|
||||
node_modules/
|
||||
node_modules
|
||||
|
||||
# Log files
|
||||
logs/
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
|
||||
@@ -15,13 +15,14 @@ pids
|
||||
.env
|
||||
|
||||
# Dist
|
||||
dist/
|
||||
typings/
|
||||
dist
|
||||
dist-docs
|
||||
|
||||
# Docs
|
||||
docs/**/*
|
||||
!docs/index.json
|
||||
!docs/README.md
|
||||
|
||||
# Miscellaneous
|
||||
.tmp/
|
||||
coverage/
|
||||
tsconfig.tsbuildinfo
|
||||
.turbo
|
||||
.tmp
|
||||
coverage
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
# Autogenerated
|
||||
CHANGELOG.md
|
||||
.turbo
|
||||
dist/
|
||||
docs/**/*
|
||||
!docs/index.yml
|
||||
!docs/README.md
|
||||
coverage/
|
||||
dist-docs/
|
||||
coverage
|
||||
dist
|
||||
dist-docs
|
||||
docs/docs.api.json
|
||||
CHANGELOG.md
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
[{ "name": "General", "files": [{ "name": "Welcome", "id": "welcome", "path": "../../README.md" }] }]
|
||||
@@ -63,19 +63,20 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@favware/cliff-jumper": "^2.0.0",
|
||||
"@microsoft/api-extractor": "^7.34.6",
|
||||
"@microsoft/api-extractor": "^7.34.7",
|
||||
"@types/node": "16.18.25",
|
||||
"@types/supertest": "^2.0.12",
|
||||
"@vitest/coverage-c8": "^0.30.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"eslint": "^8.39.0",
|
||||
"eslint-config-neon": "^0.1.42",
|
||||
"eslint-config-neon": "^0.1.46",
|
||||
"eslint-formatter-pretty": "^5.0.0",
|
||||
"prettier": "^2.8.8",
|
||||
"supertest": "^6.3.3",
|
||||
"tsup": "^6.7.0",
|
||||
"turbo": "^1.9.4-canary.7",
|
||||
"typescript": "^5.0.4",
|
||||
"vitest": "^0.29.8"
|
||||
"vitest": "^0.30.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.9.0"
|
||||
|
||||
17
packages/rest/.gitignore
vendored
17
packages/rest/.gitignore
vendored
@@ -1,8 +1,8 @@
|
||||
# Packages
|
||||
node_modules/
|
||||
node_modules
|
||||
|
||||
# Log files
|
||||
logs/
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
|
||||
@@ -15,13 +15,14 @@ pids
|
||||
.env
|
||||
|
||||
# Dist
|
||||
dist/
|
||||
typings/
|
||||
dist
|
||||
dist-docs
|
||||
|
||||
# Docs
|
||||
docs/**/*
|
||||
!docs/index.json
|
||||
!docs/README.md
|
||||
|
||||
# Miscellaneous
|
||||
.tmp/
|
||||
coverage/
|
||||
tsconfig.tsbuildinfo
|
||||
.turbo
|
||||
.tmp
|
||||
coverage
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
# Autogenerated
|
||||
CHANGELOG.md
|
||||
.turbo
|
||||
dist/
|
||||
docs/**/*
|
||||
!docs/index.yml
|
||||
!docs/README.md
|
||||
coverage/
|
||||
dist-docs/
|
||||
coverage
|
||||
dist
|
||||
dist-docs
|
||||
docs/docs.api.json
|
||||
CHANGELOG.md
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
[{ "name": "General", "files": [{ "name": "Welcome", "id": "welcome", "path": "../../README.md" }] }]
|
||||
@@ -65,18 +65,19 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@favware/cliff-jumper": "^2.0.0",
|
||||
"@microsoft/api-extractor": "^7.34.6",
|
||||
"@microsoft/api-extractor": "^7.34.7",
|
||||
"@types/node": "16.18.25",
|
||||
"@vitest/coverage-c8": "^0.30.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"esbuild-plugin-version-injector": "^1.1.0",
|
||||
"eslint": "^8.39.0",
|
||||
"eslint-config-neon": "^0.1.42",
|
||||
"eslint-config-neon": "^0.1.46",
|
||||
"eslint-formatter-pretty": "^5.0.0",
|
||||
"prettier": "^2.8.8",
|
||||
"tsup": "^6.7.0",
|
||||
"turbo": "^1.9.4-canary.7",
|
||||
"typescript": "^5.0.4",
|
||||
"vitest": "^0.29.8"
|
||||
"vitest": "^0.30.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.9.0"
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
/* eslint-disable jsdoc/check-param-names */
|
||||
|
||||
import { URL } from 'node:url';
|
||||
import {
|
||||
ALLOWED_EXTENSIONS,
|
||||
|
||||
1
packages/scripts/.eslintignore
Normal file
1
packages/scripts/.eslintignore
Normal file
@@ -0,0 +1 @@
|
||||
src/template
|
||||
@@ -1,4 +1,3 @@
|
||||
{
|
||||
"extends": "../../.eslintrc.json",
|
||||
"ignorePatterns": "src/template/**/*"
|
||||
"extends": "../../.eslintrc.json"
|
||||
}
|
||||
|
||||
16
packages/scripts/.gitignore
vendored
16
packages/scripts/.gitignore
vendored
@@ -1,8 +1,8 @@
|
||||
# Packages
|
||||
node_modules/
|
||||
node_modules
|
||||
|
||||
# Log files
|
||||
logs/
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
|
||||
@@ -15,13 +15,9 @@ pids
|
||||
.env
|
||||
|
||||
# Dist
|
||||
dist/
|
||||
typings/
|
||||
|
||||
docs/**/*
|
||||
dist
|
||||
|
||||
# Miscellaneous
|
||||
.tmp/
|
||||
coverage/
|
||||
|
||||
searchIndex/
|
||||
.turbo
|
||||
.tmp
|
||||
coverage
|
||||
|
||||
@@ -1,9 +1,3 @@
|
||||
# Autogenerated
|
||||
CHANGELOG.md
|
||||
.turbo
|
||||
dist/
|
||||
docs/**/*
|
||||
!docs/index.yml
|
||||
!docs/README.md
|
||||
coverage/
|
||||
src/template/
|
||||
coverage
|
||||
dist
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
"homepage": "https://discord.js.org",
|
||||
"dependencies": {
|
||||
"@discordjs/api-extractor-utils": "workspace:^",
|
||||
"@microsoft/api-extractor-model": "7.26.6",
|
||||
"@microsoft/api-extractor-model": "7.26.7",
|
||||
"@microsoft/tsdoc": "0.14.2",
|
||||
"@microsoft/tsdoc-config": "0.16.2",
|
||||
"commander": "^10.0.1",
|
||||
@@ -60,12 +60,13 @@
|
||||
"@vitest/coverage-c8": "^0.30.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"eslint": "^8.39.0",
|
||||
"eslint-config-neon": "^0.1.42",
|
||||
"eslint-config-neon": "^0.1.46",
|
||||
"eslint-formatter-pretty": "^5.0.0",
|
||||
"prettier": "^2.8.8",
|
||||
"tsup": "^6.7.0",
|
||||
"turbo": "^1.9.4-canary.7",
|
||||
"typescript": "^5.0.4",
|
||||
"vitest": "^0.29.8"
|
||||
"vitest": "^0.30.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.9.0"
|
||||
|
||||
@@ -35,7 +35,10 @@ export async function createPackage(packageName: string, packageDescription?: st
|
||||
// Create files
|
||||
await writeFile(join('src', 'index.ts'), `console.log('Hello, from @discordjs/${packageName}');`);
|
||||
await writeFile('.eslintrc.json', await readFile(join(templateDir, 'template.eslintrc.json'), 'utf8'));
|
||||
await writeFile('.gitignore', await readFile(join(templateDir, 'template.gitignore'), 'utf8'));
|
||||
await writeFile('.lintstagedrc.js', await readFile(join(templateDir, 'template.lintstagedrc.js'), 'utf8'));
|
||||
await writeFile('.prettierignore', await readFile(join(templateDir, 'template.prettierignore'), 'utf8'));
|
||||
await writeFile('.prettierrc.js', await readFile(join(templateDir, 'template.prettierrc.js'), 'utf8'));
|
||||
|
||||
const packageJSON = {
|
||||
...templateJSON,
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
# Autogenerated
|
||||
CHANGELOG.md
|
||||
.turbo
|
||||
dist/
|
||||
docs/**/*
|
||||
!docs/index.yml
|
||||
!docs/README.md
|
||||
coverage/
|
||||
@@ -175,6 +175,8 @@
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
Copyright 2023 Noel Buechler
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"extends": "./api-extractor.json",
|
||||
"mainEntryPointFilePath": "<projectFolder>/dist-docs/index.d.ts"
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
# Packages
|
||||
node_modules/
|
||||
node_modules
|
||||
|
||||
# Log files
|
||||
logs/
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
|
||||
@@ -15,13 +15,14 @@ pids
|
||||
.env
|
||||
|
||||
# Dist
|
||||
dist/
|
||||
typings/
|
||||
dist
|
||||
dist-docs
|
||||
|
||||
# Docs
|
||||
docs/**/*
|
||||
!docs/index.json
|
||||
!docs/README.md
|
||||
|
||||
# Miscellaneous
|
||||
.tmp/
|
||||
coverage/
|
||||
tsconfig.tsbuildinfo
|
||||
.turbo
|
||||
.tmp
|
||||
coverage
|
||||
6
packages/scripts/src/template/template.prettierignore
Normal file
6
packages/scripts/src/template/template.prettierignore
Normal file
@@ -0,0 +1,6 @@
|
||||
.turbo
|
||||
coverage
|
||||
dist
|
||||
dist-docs
|
||||
docs/docs.api.json
|
||||
CHANGELOG.md
|
||||
@@ -15,6 +15,5 @@
|
||||
"**/*.spec.ts",
|
||||
"**/*.spec.js",
|
||||
"**/*.spec.mjs"
|
||||
],
|
||||
"exclude": []
|
||||
]
|
||||
}
|
||||
|
||||
18
packages/ui/.gitignore
vendored
18
packages/ui/.gitignore
vendored
@@ -1,8 +1,8 @@
|
||||
# Packages
|
||||
node_modules/
|
||||
node_modules
|
||||
|
||||
# Log files
|
||||
logs/
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
|
||||
@@ -15,14 +15,10 @@ pids
|
||||
.env
|
||||
|
||||
# Dist
|
||||
dist/
|
||||
typings/
|
||||
docs/**/*
|
||||
!docs/index.json
|
||||
!docs/README.md
|
||||
storybook-static/
|
||||
dist
|
||||
storybook-static
|
||||
|
||||
# Miscellaneous
|
||||
.tmp/
|
||||
coverage/
|
||||
tsconfig.tsbuildinfo
|
||||
.turbo
|
||||
.tmp
|
||||
coverage
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
# Autogenerated
|
||||
CHANGELOG.md
|
||||
.turbo
|
||||
dist/
|
||||
docs/**/*
|
||||
!docs/index.yml
|
||||
!docs/README.md
|
||||
coverage/
|
||||
coverage
|
||||
dist
|
||||
storybook-static
|
||||
|
||||
@@ -72,17 +72,18 @@
|
||||
"chromatic": "^6.17.3",
|
||||
"cross-env": "^7.0.3",
|
||||
"eslint": "^8.39.0",
|
||||
"eslint-config-neon": "^0.1.42",
|
||||
"eslint-config-neon": "^0.1.46",
|
||||
"eslint-formatter-pretty": "^5.0.0",
|
||||
"eslint-plugin-storybook": "^0.6.11",
|
||||
"prettier": "^2.8.8",
|
||||
"prop-types": "^15.8.1",
|
||||
"storybook": "^7.0.7",
|
||||
"turbo": "^1.9.4-canary.7",
|
||||
"typescript": "^5.0.4",
|
||||
"unocss": "^0.51.8",
|
||||
"vite": "^4.3.3",
|
||||
"vite": "^4.3.4",
|
||||
"vite-plugin-dts": "^2.3.0",
|
||||
"vitest": "^0.29.8"
|
||||
"vitest": "^0.30.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.9.0"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type { PropsWithChildren, ReactNode } from 'react';
|
||||
import { DiscordMessageAuthor, type IDiscordMessageAuthor } from './MessageAuthor.jsx';
|
||||
import { DiscordMessageInteraction, type IDiscordMessageInteraction } from './MessageInteraction.jsx';
|
||||
import { DiscordMessageReply, type IDiscordMessageReply } from './MessageReply.jsx';
|
||||
import { DiscordMessageAuthor, type IDiscordMessageAuthor } from './MessageAuthor.js';
|
||||
import { DiscordMessageInteraction, type IDiscordMessageInteraction } from './MessageInteraction.js';
|
||||
import { DiscordMessageReply, type IDiscordMessageReply } from './MessageReply.js';
|
||||
|
||||
export function DiscordMessage({
|
||||
reply,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { PropsWithChildren, ReactNode } from 'react';
|
||||
import { DiscordMessageAuthorReply, type IDiscordMessageAuthorReply } from './MessageAuthorReply.jsx';
|
||||
import { DiscordMessageAuthorReply, type IDiscordMessageAuthorReply } from './MessageAuthorReply.js';
|
||||
|
||||
export function DiscordMessageBaseReply({
|
||||
author,
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import type { PropsWithChildren, ReactNode } from 'react';
|
||||
import { DiscordMessageEmbedAuthor, type IDiscordMessageEmbedAuthor } from './MessageEmbedAuthor.jsx';
|
||||
import type { IDiscordMessageEmbedField } from './MessageEmbedField.jsx';
|
||||
import { DiscordMessageEmbedFields } from './MessageEmbedFields.jsx';
|
||||
import { DiscordMessageEmbedFooter, type IDiscordMessageEmbedFooter } from './MessageEmbedFooter.jsx';
|
||||
import { DiscordMessageEmbedImage, type IDiscordMessageEmbedImage } from './MessageEmbedImage.jsx';
|
||||
import { DiscordMessageEmbedThumbnail, type IDiscordMessageEmbedThumbnail } from './MessageEmbedThumbnail.jsx';
|
||||
import { DiscordMessageEmbedTitle, type IDiscordMessageEmbedTitle } from './MessageEmbedTitle.jsx';
|
||||
import { DiscordMessageEmbedAuthor, type IDiscordMessageEmbedAuthor } from './MessageEmbedAuthor.js';
|
||||
import type { IDiscordMessageEmbedField } from './MessageEmbedField.js';
|
||||
import { DiscordMessageEmbedFields } from './MessageEmbedFields.js';
|
||||
import { DiscordMessageEmbedFooter, type IDiscordMessageEmbedFooter } from './MessageEmbedFooter.js';
|
||||
import { DiscordMessageEmbedImage, type IDiscordMessageEmbedImage } from './MessageEmbedImage.js';
|
||||
import { DiscordMessageEmbedThumbnail, type IDiscordMessageEmbedThumbnail } from './MessageEmbedThumbnail.js';
|
||||
import { DiscordMessageEmbedTitle, type IDiscordMessageEmbedTitle } from './MessageEmbedTitle.js';
|
||||
|
||||
export interface IDiscordMessageEmbed {
|
||||
author?: IDiscordMessageEmbedAuthor | undefined;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { DiscordMessageEmbedField, type IDiscordMessageEmbedField } from './MessageEmbedField.jsx';
|
||||
import { DiscordMessageEmbedField, type IDiscordMessageEmbedField } from './MessageEmbedField.js';
|
||||
|
||||
export interface IDiscordMessageEmbedFields {
|
||||
fields: IDiscordMessageEmbedField[];
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { ReactNode } from 'react';
|
||||
import type { IDiscordMessageAuthorReply } from './MessageAuthorReply.jsx';
|
||||
import { DiscordMessageBaseReply } from './MessageBaseReply.jsx';
|
||||
import type { IDiscordMessageAuthorReply } from './MessageAuthorReply.js';
|
||||
import { DiscordMessageBaseReply } from './MessageBaseReply.js';
|
||||
|
||||
export interface IDiscordMessageInteraction {
|
||||
author?: IDiscordMessageAuthorReply | undefined;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { ReactNode } from 'react';
|
||||
import type { IDiscordMessageAuthorReply } from './MessageAuthorReply.jsx';
|
||||
import { DiscordMessageBaseReply } from './MessageBaseReply.jsx';
|
||||
import type { IDiscordMessageAuthorReply } from './MessageAuthorReply.js';
|
||||
import { DiscordMessageBaseReply } from './MessageBaseReply.js';
|
||||
|
||||
export interface IDiscordMessageReply {
|
||||
author?: IDiscordMessageAuthorReply | undefined;
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
export * from './components/Alert.jsx';
|
||||
export * from './components/Section.jsx';
|
||||
export * from './components/Alert.js';
|
||||
export * from './components/Section.js';
|
||||
|
||||
export * from './components/discord/Message.jsx';
|
||||
export * from './components/discord/MessageAuthor.jsx';
|
||||
export * from './components/discord/MessageAuthorReply.jsx';
|
||||
export * from './components/discord/MessageBaseReply.jsx';
|
||||
export * from './components/discord/MessageEmbed.jsx';
|
||||
export * from './components/discord/MessageEmbedAuthor.jsx';
|
||||
export * from './components/discord/MessageEmbedFooter.jsx';
|
||||
export * from './components/discord/MessageEmbedTitle.jsx';
|
||||
export * from './components/discord/MessageInteraction.jsx';
|
||||
export * from './components/discord/MessageReply.jsx';
|
||||
export * from './components/discord/Messages.jsx';
|
||||
export * from './components/discord/Message.js';
|
||||
export * from './components/discord/MessageAuthor.js';
|
||||
export * from './components/discord/MessageAuthorReply.js';
|
||||
export * from './components/discord/MessageBaseReply.js';
|
||||
export * from './components/discord/MessageEmbed.js';
|
||||
export * from './components/discord/MessageEmbedAuthor.js';
|
||||
export * from './components/discord/MessageEmbedFooter.js';
|
||||
export * from './components/discord/MessageEmbedTitle.js';
|
||||
export * from './components/discord/MessageInteraction.js';
|
||||
export * from './components/discord/MessageReply.js';
|
||||
export * from './components/discord/Messages.js';
|
||||
|
||||
@@ -5,7 +5,7 @@ import { defineConfig } from 'vite';
|
||||
import dts from 'vite-plugin-dts';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [dts(), react(), Unocss({ include: ['.storybook/preview.ts'] })],
|
||||
plugins: [dts(), react(), Unocss({ include: ['.storybook/preview.ts'], configFile: '../../unocss.config.ts' })],
|
||||
build: {
|
||||
lib: {
|
||||
entry: resolve(__dirname, 'src/lib/index.ts'),
|
||||
@@ -22,6 +22,7 @@ export default defineConfig({
|
||||
'@react-icons/all-files/vsc/VscInfo',
|
||||
'@react-icons/all-files/vsc/VscWarning',
|
||||
'@react-icons/all-files/vsc/VscChevronDown',
|
||||
'@react-icons/all-files/fi/FiCheck',
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
16
packages/util/.gitignore
vendored
16
packages/util/.gitignore
vendored
@@ -1,8 +1,8 @@
|
||||
# Packages
|
||||
node_modules/
|
||||
node_modules
|
||||
|
||||
# Log files
|
||||
logs/
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
|
||||
@@ -15,12 +15,14 @@ pids
|
||||
.env
|
||||
|
||||
# Dist
|
||||
dist/
|
||||
typings/
|
||||
dist
|
||||
dist-docs
|
||||
|
||||
# Docs
|
||||
docs/**/*
|
||||
!docs/index.json
|
||||
!docs/README.md
|
||||
|
||||
# Miscellaneous
|
||||
.tmp/
|
||||
coverage/
|
||||
.turbo
|
||||
.tmp
|
||||
coverage
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
# Autogenerated
|
||||
CHANGELOG.md
|
||||
.turbo
|
||||
dist/
|
||||
docs/**/*
|
||||
!docs/index.yml
|
||||
!docs/README.md
|
||||
coverage/
|
||||
dist-docs/
|
||||
coverage
|
||||
dist
|
||||
dist-docs
|
||||
docs/docs.api.json
|
||||
CHANGELOG.md
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
[{ "name": "General", "files": [{ "name": "Welcome", "id": "welcome", "path": "../../README.md" }] }]
|
||||
@@ -54,18 +54,19 @@
|
||||
"homepage": "https://discord.js.org",
|
||||
"devDependencies": {
|
||||
"@favware/cliff-jumper": "^2.0.0",
|
||||
"@microsoft/api-extractor": "^7.34.6",
|
||||
"@microsoft/api-extractor": "^7.34.7",
|
||||
"@types/node": "16.18.25",
|
||||
"@vitest/coverage-c8": "^0.30.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"eslint": "^8.39.0",
|
||||
"eslint-config-neon": "^0.1.42",
|
||||
"eslint-config-neon": "^0.1.46",
|
||||
"eslint-formatter-pretty": "^5.0.0",
|
||||
"prettier": "^2.8.8",
|
||||
"tsd": "^0.28.1",
|
||||
"tsup": "^6.7.0",
|
||||
"turbo": "^1.9.4-canary.7",
|
||||
"typescript": "^5.0.4",
|
||||
"vitest": "^0.29.8"
|
||||
"vitest": "^0.30.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.9.0"
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
*.d.ts
|
||||
@@ -1,12 +1,7 @@
|
||||
{
|
||||
"extends": "../../.eslintrc.json",
|
||||
"plugins": ["eslint-plugin-tsdoc"],
|
||||
"rules": {
|
||||
"import/extensions": 0,
|
||||
"no-restricted-globals": 0
|
||||
},
|
||||
"parserOptions": {
|
||||
"project": "./tsconfig.eslint.json",
|
||||
"extraFileExtensions": [".mjs"]
|
||||
}
|
||||
}
|
||||
|
||||
20
packages/voice/.gitignore
vendored
20
packages/voice/.gitignore
vendored
@@ -1,8 +1,8 @@
|
||||
# Packages
|
||||
node_modules/
|
||||
node_modules
|
||||
|
||||
# Log files
|
||||
logs/
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
|
||||
@@ -11,14 +11,18 @@ pids
|
||||
*.pid
|
||||
*.seed
|
||||
|
||||
# Dist
|
||||
dist/
|
||||
typings/
|
||||
# Env
|
||||
.env
|
||||
|
||||
# Dist
|
||||
dist
|
||||
dist-docs
|
||||
|
||||
# Docs
|
||||
docs/**/*
|
||||
!docs/index.json
|
||||
!docs/README.md
|
||||
|
||||
# Miscellaneous
|
||||
.tmp/
|
||||
coverage/
|
||||
.turbo
|
||||
.tmp
|
||||
coverage
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
# Autogenerated
|
||||
CHANGELOG.md
|
||||
.turbo
|
||||
dist/
|
||||
docs/**/*
|
||||
!docs/index.yml
|
||||
!docs/README.md
|
||||
coverage/
|
||||
dist-docs/
|
||||
coverage
|
||||
dist
|
||||
dist-docs
|
||||
docs/docs.api.json
|
||||
CHANGELOG.md
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
[{ "name": "General", "files": [{ "name": "Welcome", "id": "welcome", "path": "../../README.md" }] }]
|
||||
@@ -61,23 +61,24 @@
|
||||
"ws": "^8.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.21.5",
|
||||
"@babel/core": "^7.21.8",
|
||||
"@babel/preset-env": "^7.21.5",
|
||||
"@babel/preset-typescript": "^7.21.5",
|
||||
"@favware/cliff-jumper": "^2.0.0",
|
||||
"@microsoft/api-extractor": "^7.34.6",
|
||||
"@microsoft/api-extractor": "^7.34.7",
|
||||
"@types/jest": "^29.5.1",
|
||||
"@types/node": "16.18.25",
|
||||
"cross-env": "^7.0.3",
|
||||
"esbuild-plugin-version-injector": "^1.1.0",
|
||||
"eslint": "^8.39.0",
|
||||
"eslint-config-neon": "^0.1.42",
|
||||
"eslint-config-neon": "^0.1.46",
|
||||
"eslint-formatter-pretty": "^5.0.0",
|
||||
"jest": "^29.5.0",
|
||||
"jest-websocket-mock": "^2.4.0",
|
||||
"mock-socket": "^9.2.1",
|
||||
"prettier": "^2.8.8",
|
||||
"tsup": "^6.7.0",
|
||||
"turbo": "^1.9.4-canary.7",
|
||||
"tweetnacl": "^1.0.3",
|
||||
"typescript": "^5.0.4"
|
||||
},
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
/* eslint-disable jsdoc/check-param-names */
|
||||
|
||||
import { Buffer } from 'node:buffer';
|
||||
import { VoiceOpcodes } from 'discord-api-types/voice/v4';
|
||||
import type { VoiceConnection } from '../VoiceConnection';
|
||||
|
||||
17
packages/ws/.gitignore
vendored
17
packages/ws/.gitignore
vendored
@@ -1,8 +1,8 @@
|
||||
# Packages
|
||||
node_modules/
|
||||
node_modules
|
||||
|
||||
# Log files
|
||||
logs/
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
|
||||
@@ -15,13 +15,14 @@ pids
|
||||
.env
|
||||
|
||||
# Dist
|
||||
dist/
|
||||
typings/
|
||||
dist
|
||||
dist-docs
|
||||
|
||||
# Docs
|
||||
docs/**/*
|
||||
!docs/index.json
|
||||
!docs/README.md
|
||||
|
||||
# Miscellaneous
|
||||
.tmp/
|
||||
coverage/
|
||||
tsconfig.tsbuildinfo
|
||||
.turbo
|
||||
.tmp
|
||||
coverage
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
# Autogenerated
|
||||
CHANGELOG.md
|
||||
.turbo
|
||||
dist/
|
||||
docs/**/*
|
||||
!docs/index.yml
|
||||
!docs/README.md
|
||||
coverage/
|
||||
dist-docs/
|
||||
coverage
|
||||
dist
|
||||
dist-docs
|
||||
docs/docs.api.json
|
||||
CHANGELOG.md
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user