mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 01:23:31 +01:00
build: Bump dependencies (#11333)
* build: bump dependencies * fix: guide build * build: amend package.json.hbs * build: create-discord-bot * style: formatting * build: final change --------- Co-authored-by: almeidx <github@almeidx.dev>
This commit is contained in:
@@ -63,24 +63,24 @@
|
||||
"dependencies": {
|
||||
"@discordjs/formatters": "workspace:^",
|
||||
"@sapphire/snowflake": "^3.5.5",
|
||||
"discord-api-types": "^0.38.31"
|
||||
"discord-api-types": "^0.38.36"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@discordjs/api-extractor": "workspace:^",
|
||||
"@discordjs/scripts": "workspace:^",
|
||||
"@favware/cliff-jumper": "^6.0.0",
|
||||
"@types/node": "^22.18.13",
|
||||
"@types/node": "^22.19.1",
|
||||
"@vitest/coverage-v8": "^3.2.4",
|
||||
"cpy-cli": "^6.0.0",
|
||||
"cross-env": "^10.1.0",
|
||||
"esbuild-plugin-version-injector": "^1.2.1",
|
||||
"eslint": "^9.38.0",
|
||||
"eslint": "^9.39.1",
|
||||
"eslint-config-neon": "^0.2.9",
|
||||
"eslint-formatter-compact": "^9.0.1",
|
||||
"eslint-formatter-pretty": "^7.0.0",
|
||||
"prettier": "^3.6.2",
|
||||
"tsup": "^8.5.0",
|
||||
"turbo": "^2.5.8",
|
||||
"prettier": "^3.7.4",
|
||||
"tsup": "^8.5.1",
|
||||
"turbo": "^2.6.3",
|
||||
"typescript": "~5.9.3",
|
||||
"vitest": "^3.2.4"
|
||||
},
|
||||
|
||||
@@ -10,18 +10,17 @@ import { ChannelSlowmodeMixin } from './mixins/ChannelSlowmodeMixin.js';
|
||||
import { ChannelTopicMixin } from './mixins/ChannelTopicMixin.js';
|
||||
import { TextChannelMixin } from './mixins/TextChannelMixin.js';
|
||||
|
||||
export interface AnnouncementChannel<Omitted extends keyof APINewsChannel | '' = ''>
|
||||
extends MixinTypes<
|
||||
Channel<ChannelType.GuildAnnouncement>,
|
||||
[
|
||||
TextChannelMixin<ChannelType.GuildAnnouncement>,
|
||||
ChannelParentMixin<ChannelType.GuildAnnouncement>,
|
||||
ChannelPermissionMixin<ChannelType.GuildAnnouncement>,
|
||||
ChannelPinMixin<ChannelType.GuildAnnouncement>,
|
||||
ChannelSlowmodeMixin<ChannelType.GuildAnnouncement>,
|
||||
ChannelTopicMixin<ChannelType.GuildAnnouncement>,
|
||||
]
|
||||
> {}
|
||||
export interface AnnouncementChannel<Omitted extends keyof APINewsChannel | '' = ''> extends MixinTypes<
|
||||
Channel<ChannelType.GuildAnnouncement>,
|
||||
[
|
||||
TextChannelMixin<ChannelType.GuildAnnouncement>,
|
||||
ChannelParentMixin<ChannelType.GuildAnnouncement>,
|
||||
ChannelPermissionMixin<ChannelType.GuildAnnouncement>,
|
||||
ChannelPinMixin<ChannelType.GuildAnnouncement>,
|
||||
ChannelSlowmodeMixin<ChannelType.GuildAnnouncement>,
|
||||
ChannelTopicMixin<ChannelType.GuildAnnouncement>,
|
||||
]
|
||||
> {}
|
||||
|
||||
/**
|
||||
* Sample Implementation of a structure for announcement channels, usable by direct end consumers.
|
||||
|
||||
@@ -11,19 +11,20 @@ import { GuildChannelMixin } from './mixins/GuildChannelMixin.js';
|
||||
import { TextChannelMixin } from './mixins/TextChannelMixin.js';
|
||||
import { ThreadChannelMixin } from './mixins/ThreadChannelMixin.js';
|
||||
|
||||
export interface AnnouncementThreadChannel<Omitted extends keyof APIAnnouncementThreadChannel | '' = ''>
|
||||
extends MixinTypes<
|
||||
Channel<ChannelType.AnnouncementThread>,
|
||||
[
|
||||
TextChannelMixin<ChannelType.AnnouncementThread>,
|
||||
ChannelOwnerMixin<ChannelType.AnnouncementThread>,
|
||||
ChannelParentMixin<ChannelType.AnnouncementThread>,
|
||||
ChannelPinMixin<ChannelType.AnnouncementThread>,
|
||||
ChannelSlowmodeMixin<ChannelType.AnnouncementThread>,
|
||||
GuildChannelMixin<ChannelType.AnnouncementThread>,
|
||||
ThreadChannelMixin<ChannelType.AnnouncementThread>,
|
||||
]
|
||||
> {}
|
||||
export interface AnnouncementThreadChannel<
|
||||
Omitted extends keyof APIAnnouncementThreadChannel | '' = '',
|
||||
> extends MixinTypes<
|
||||
Channel<ChannelType.AnnouncementThread>,
|
||||
[
|
||||
TextChannelMixin<ChannelType.AnnouncementThread>,
|
||||
ChannelOwnerMixin<ChannelType.AnnouncementThread>,
|
||||
ChannelParentMixin<ChannelType.AnnouncementThread>,
|
||||
ChannelPinMixin<ChannelType.AnnouncementThread>,
|
||||
ChannelSlowmodeMixin<ChannelType.AnnouncementThread>,
|
||||
GuildChannelMixin<ChannelType.AnnouncementThread>,
|
||||
ThreadChannelMixin<ChannelType.AnnouncementThread>,
|
||||
]
|
||||
> {}
|
||||
|
||||
/**
|
||||
* Sample Implementation of a structure for announcement threads, usable by direct end consumers.
|
||||
|
||||
@@ -6,11 +6,10 @@ import { Channel } from './Channel.js';
|
||||
import { ChannelPermissionMixin } from './mixins/ChannelPermissionMixin.js';
|
||||
import { GuildChannelMixin } from './mixins/GuildChannelMixin.js';
|
||||
|
||||
export interface CategoryChannel<Omitted extends keyof APIGuildCategoryChannel | '' = ''>
|
||||
extends MixinTypes<
|
||||
Channel<ChannelType.GuildCategory>,
|
||||
[ChannelPermissionMixin<ChannelType.GuildCategory>, GuildChannelMixin<ChannelType.GuildCategory>]
|
||||
> {}
|
||||
export interface CategoryChannel<Omitted extends keyof APIGuildCategoryChannel | '' = ''> extends MixinTypes<
|
||||
Channel<ChannelType.GuildCategory>,
|
||||
[ChannelPermissionMixin<ChannelType.GuildCategory>, GuildChannelMixin<ChannelType.GuildCategory>]
|
||||
> {}
|
||||
|
||||
/**
|
||||
* Sample Implementation of a structure for category channels, usable by direct end consumers.
|
||||
|
||||
@@ -7,11 +7,10 @@ import { ChannelPinMixin } from './mixins/ChannelPinMixin.js';
|
||||
import { DMChannelMixin } from './mixins/DMChannelMixin.js';
|
||||
import { TextChannelMixin } from './mixins/TextChannelMixin.js';
|
||||
|
||||
export interface DMChannel<Omitted extends keyof APIDMChannel | '' = ''>
|
||||
extends MixinTypes<
|
||||
Channel<ChannelType.DM>,
|
||||
[DMChannelMixin<ChannelType.DM>, TextChannelMixin<ChannelType.DM>, ChannelPinMixin<ChannelType.DM>]
|
||||
> {}
|
||||
export interface DMChannel<Omitted extends keyof APIDMChannel | '' = ''> extends MixinTypes<
|
||||
Channel<ChannelType.DM>,
|
||||
[DMChannelMixin<ChannelType.DM>, TextChannelMixin<ChannelType.DM>, ChannelPinMixin<ChannelType.DM>]
|
||||
> {}
|
||||
|
||||
/**
|
||||
* Sample Implementation of a structure for dm channels, usable by direct end consumers.
|
||||
|
||||
@@ -9,16 +9,15 @@ import { ChannelPermissionMixin } from './mixins/ChannelPermissionMixin.js';
|
||||
import { ChannelTopicMixin } from './mixins/ChannelTopicMixin.js';
|
||||
import { ThreadOnlyChannelMixin } from './mixins/ThreadOnlyChannelMixin.js';
|
||||
|
||||
export interface ForumChannel<Omitted extends keyof APIGuildForumChannel | '' = ''>
|
||||
extends MixinTypes<
|
||||
Channel<ChannelType.GuildForum>,
|
||||
[
|
||||
ChannelParentMixin<ChannelType.GuildForum>,
|
||||
ChannelPermissionMixin<ChannelType.GuildForum>,
|
||||
ChannelTopicMixin<ChannelType.GuildForum>,
|
||||
ThreadOnlyChannelMixin<ChannelType.GuildForum>,
|
||||
]
|
||||
> {}
|
||||
export interface ForumChannel<Omitted extends keyof APIGuildForumChannel | '' = ''> extends MixinTypes<
|
||||
Channel<ChannelType.GuildForum>,
|
||||
[
|
||||
ChannelParentMixin<ChannelType.GuildForum>,
|
||||
ChannelPermissionMixin<ChannelType.GuildForum>,
|
||||
ChannelTopicMixin<ChannelType.GuildForum>,
|
||||
ThreadOnlyChannelMixin<ChannelType.GuildForum>,
|
||||
]
|
||||
> {}
|
||||
|
||||
/**
|
||||
* Sample Implementation of a structure for forum channels, usable by direct end consumers.
|
||||
|
||||
@@ -8,16 +8,15 @@ import { DMChannelMixin } from './mixins/DMChannelMixin.js';
|
||||
import { GroupDMMixin } from './mixins/GroupDMMixin.js';
|
||||
import { TextChannelMixin } from './mixins/TextChannelMixin.js';
|
||||
|
||||
export interface GroupDMChannel<Omitted extends keyof APIGroupDMChannel | '' = ''>
|
||||
extends MixinTypes<
|
||||
Channel<ChannelType.GroupDM>,
|
||||
[
|
||||
DMChannelMixin<ChannelType.GroupDM>,
|
||||
TextChannelMixin<ChannelType.GroupDM>,
|
||||
ChannelOwnerMixin<ChannelType.GroupDM>,
|
||||
GroupDMMixin,
|
||||
]
|
||||
> {}
|
||||
export interface GroupDMChannel<Omitted extends keyof APIGroupDMChannel | '' = ''> extends MixinTypes<
|
||||
Channel<ChannelType.GroupDM>,
|
||||
[
|
||||
DMChannelMixin<ChannelType.GroupDM>,
|
||||
TextChannelMixin<ChannelType.GroupDM>,
|
||||
ChannelOwnerMixin<ChannelType.GroupDM>,
|
||||
GroupDMMixin,
|
||||
]
|
||||
> {}
|
||||
|
||||
/**
|
||||
* Sample Implementation of a structure for group dm channels, usable by direct end consumers.
|
||||
|
||||
@@ -8,16 +8,15 @@ import { ChannelPermissionMixin } from './mixins/ChannelPermissionMixin.js';
|
||||
import { ChannelTopicMixin } from './mixins/ChannelTopicMixin.js';
|
||||
import { ThreadOnlyChannelMixin } from './mixins/ThreadOnlyChannelMixin.js';
|
||||
|
||||
export interface MediaChannel<Omitted extends keyof APIGuildMediaChannel | '' = ''>
|
||||
extends MixinTypes<
|
||||
Channel<ChannelType.GuildMedia>,
|
||||
[
|
||||
ChannelParentMixin<ChannelType.GuildMedia>,
|
||||
ChannelPermissionMixin<ChannelType.GuildMedia>,
|
||||
ChannelTopicMixin<ChannelType.GuildMedia>,
|
||||
ThreadOnlyChannelMixin<ChannelType.GuildMedia>,
|
||||
]
|
||||
> {}
|
||||
export interface MediaChannel<Omitted extends keyof APIGuildMediaChannel | '' = ''> extends MixinTypes<
|
||||
Channel<ChannelType.GuildMedia>,
|
||||
[
|
||||
ChannelParentMixin<ChannelType.GuildMedia>,
|
||||
ChannelPermissionMixin<ChannelType.GuildMedia>,
|
||||
ChannelTopicMixin<ChannelType.GuildMedia>,
|
||||
ThreadOnlyChannelMixin<ChannelType.GuildMedia>,
|
||||
]
|
||||
> {}
|
||||
|
||||
/**
|
||||
* Sample Implementation of a structure for media channels, usable by direct end consumers.
|
||||
|
||||
@@ -10,18 +10,17 @@ import { ChannelSlowmodeMixin } from './mixins/ChannelSlowmodeMixin.js';
|
||||
import { TextChannelMixin } from './mixins/TextChannelMixin.js';
|
||||
import { ThreadChannelMixin } from './mixins/ThreadChannelMixin.js';
|
||||
|
||||
export interface PrivateThreadChannel<Omitted extends keyof APIPrivateThreadChannel | '' = ''>
|
||||
extends MixinTypes<
|
||||
Channel<ChannelType.PrivateThread>,
|
||||
[
|
||||
TextChannelMixin<ChannelType.PrivateThread>,
|
||||
ChannelOwnerMixin<ChannelType.PrivateThread>,
|
||||
ChannelParentMixin<ChannelType.PrivateThread>,
|
||||
ChannelPinMixin<ChannelType.PrivateThread>,
|
||||
ChannelSlowmodeMixin<ChannelType.PrivateThread>,
|
||||
ThreadChannelMixin<ChannelType.PrivateThread>,
|
||||
]
|
||||
> {}
|
||||
export interface PrivateThreadChannel<Omitted extends keyof APIPrivateThreadChannel | '' = ''> extends MixinTypes<
|
||||
Channel<ChannelType.PrivateThread>,
|
||||
[
|
||||
TextChannelMixin<ChannelType.PrivateThread>,
|
||||
ChannelOwnerMixin<ChannelType.PrivateThread>,
|
||||
ChannelParentMixin<ChannelType.PrivateThread>,
|
||||
ChannelPinMixin<ChannelType.PrivateThread>,
|
||||
ChannelSlowmodeMixin<ChannelType.PrivateThread>,
|
||||
ThreadChannelMixin<ChannelType.PrivateThread>,
|
||||
]
|
||||
> {}
|
||||
|
||||
/**
|
||||
* Sample Implementation of a structure for private thread channels, usable by direct end consumers.
|
||||
|
||||
@@ -11,19 +11,18 @@ import { ChannelSlowmodeMixin } from './mixins/ChannelSlowmodeMixin.js';
|
||||
import { TextChannelMixin } from './mixins/TextChannelMixin.js';
|
||||
import { ThreadChannelMixin } from './mixins/ThreadChannelMixin.js';
|
||||
|
||||
export interface PublicThreadChannel<Omitted extends keyof APIPublicThreadChannel | '' = ''>
|
||||
extends MixinTypes<
|
||||
Channel<ChannelType.PublicThread>,
|
||||
[
|
||||
TextChannelMixin<ChannelType.PublicThread>,
|
||||
ChannelOwnerMixin<ChannelType.PublicThread>,
|
||||
ChannelParentMixin<ChannelType.PublicThread>,
|
||||
ChannelPinMixin<ChannelType.PublicThread>,
|
||||
ChannelSlowmodeMixin<ChannelType.PublicThread>,
|
||||
ThreadChannelMixin<ChannelType.PublicThread>,
|
||||
AppliedTagsMixin,
|
||||
]
|
||||
> {}
|
||||
export interface PublicThreadChannel<Omitted extends keyof APIPublicThreadChannel | '' = ''> extends MixinTypes<
|
||||
Channel<ChannelType.PublicThread>,
|
||||
[
|
||||
TextChannelMixin<ChannelType.PublicThread>,
|
||||
ChannelOwnerMixin<ChannelType.PublicThread>,
|
||||
ChannelParentMixin<ChannelType.PublicThread>,
|
||||
ChannelPinMixin<ChannelType.PublicThread>,
|
||||
ChannelSlowmodeMixin<ChannelType.PublicThread>,
|
||||
ThreadChannelMixin<ChannelType.PublicThread>,
|
||||
AppliedTagsMixin,
|
||||
]
|
||||
> {}
|
||||
|
||||
/**
|
||||
* Sample Implementation of a structure for public thread channels, usable by direct end consumers.
|
||||
|
||||
@@ -9,17 +9,16 @@ import { ChannelSlowmodeMixin } from './mixins/ChannelSlowmodeMixin.js';
|
||||
import { ChannelWebhookMixin } from './mixins/ChannelWebhookMixin.js';
|
||||
import { VoiceChannelMixin } from './mixins/VoiceChannelMixin.js';
|
||||
|
||||
export interface StageChannel<Omitted extends keyof APIGuildStageVoiceChannel | '' = ''>
|
||||
extends MixinTypes<
|
||||
Channel<ChannelType.GuildStageVoice>,
|
||||
[
|
||||
ChannelParentMixin<ChannelType.GuildStageVoice>,
|
||||
ChannelPermissionMixin<ChannelType.GuildStageVoice>,
|
||||
ChannelSlowmodeMixin<ChannelType.GuildStageVoice>,
|
||||
ChannelWebhookMixin<ChannelType.GuildStageVoice>,
|
||||
VoiceChannelMixin<ChannelType.GuildStageVoice>,
|
||||
]
|
||||
> {}
|
||||
export interface StageChannel<Omitted extends keyof APIGuildStageVoiceChannel | '' = ''> extends MixinTypes<
|
||||
Channel<ChannelType.GuildStageVoice>,
|
||||
[
|
||||
ChannelParentMixin<ChannelType.GuildStageVoice>,
|
||||
ChannelPermissionMixin<ChannelType.GuildStageVoice>,
|
||||
ChannelSlowmodeMixin<ChannelType.GuildStageVoice>,
|
||||
ChannelWebhookMixin<ChannelType.GuildStageVoice>,
|
||||
VoiceChannelMixin<ChannelType.GuildStageVoice>,
|
||||
]
|
||||
> {}
|
||||
|
||||
export class StageChannel<Omitted extends keyof APIGuildStageVoiceChannel | '' = ''> extends Channel<
|
||||
ChannelType.GuildStageVoice,
|
||||
|
||||
@@ -10,18 +10,17 @@ import { ChannelSlowmodeMixin } from './mixins/ChannelSlowmodeMixin.js';
|
||||
import { ChannelTopicMixin } from './mixins/ChannelTopicMixin.js';
|
||||
import { TextChannelMixin } from './mixins/TextChannelMixin.js';
|
||||
|
||||
export interface TextChannel<Omitted extends keyof APITextChannel | '' = ''>
|
||||
extends MixinTypes<
|
||||
Channel<ChannelType.GuildText>,
|
||||
[
|
||||
TextChannelMixin<ChannelType.GuildText>,
|
||||
ChannelParentMixin<ChannelType.GuildText>,
|
||||
ChannelPermissionMixin<ChannelType.GuildText>,
|
||||
ChannelPinMixin<ChannelType.GuildText>,
|
||||
ChannelSlowmodeMixin<ChannelType.GuildText>,
|
||||
ChannelTopicMixin<ChannelType.GuildText>,
|
||||
]
|
||||
> {}
|
||||
export interface TextChannel<Omitted extends keyof APITextChannel | '' = ''> extends MixinTypes<
|
||||
Channel<ChannelType.GuildText>,
|
||||
[
|
||||
TextChannelMixin<ChannelType.GuildText>,
|
||||
ChannelParentMixin<ChannelType.GuildText>,
|
||||
ChannelPermissionMixin<ChannelType.GuildText>,
|
||||
ChannelPinMixin<ChannelType.GuildText>,
|
||||
ChannelSlowmodeMixin<ChannelType.GuildText>,
|
||||
ChannelTopicMixin<ChannelType.GuildText>,
|
||||
]
|
||||
> {}
|
||||
|
||||
export class TextChannel<Omitted extends keyof APITextChannel | '' = ''> extends Channel<
|
||||
ChannelType.GuildText,
|
||||
|
||||
@@ -9,17 +9,16 @@ import { ChannelSlowmodeMixin } from './mixins/ChannelSlowmodeMixin.js';
|
||||
import { ChannelWebhookMixin } from './mixins/ChannelWebhookMixin.js';
|
||||
import { VoiceChannelMixin } from './mixins/VoiceChannelMixin.js';
|
||||
|
||||
export interface VoiceChannel<Omitted extends keyof APIGuildVoiceChannel | '' = ''>
|
||||
extends MixinTypes<
|
||||
Channel<ChannelType.GuildVoice>,
|
||||
[
|
||||
ChannelParentMixin<ChannelType.GuildVoice>,
|
||||
ChannelPermissionMixin<ChannelType.GuildVoice>,
|
||||
ChannelSlowmodeMixin<ChannelType.GuildVoice>,
|
||||
ChannelWebhookMixin<ChannelType.GuildVoice>,
|
||||
VoiceChannelMixin<ChannelType.GuildVoice>,
|
||||
]
|
||||
> {}
|
||||
export interface VoiceChannel<Omitted extends keyof APIGuildVoiceChannel | '' = ''> extends MixinTypes<
|
||||
Channel<ChannelType.GuildVoice>,
|
||||
[
|
||||
ChannelParentMixin<ChannelType.GuildVoice>,
|
||||
ChannelPermissionMixin<ChannelType.GuildVoice>,
|
||||
ChannelSlowmodeMixin<ChannelType.GuildVoice>,
|
||||
ChannelWebhookMixin<ChannelType.GuildVoice>,
|
||||
VoiceChannelMixin<ChannelType.GuildVoice>,
|
||||
]
|
||||
> {}
|
||||
|
||||
export class VoiceChannel<Omitted extends keyof APIGuildVoiceChannel | '' = ''> extends Channel<
|
||||
ChannelType.GuildVoice,
|
||||
|
||||
Reference in New Issue
Block a user