chore: Update /core constants (#8874)

This commit is contained in:
Jiralite
2022-11-28 08:14:16 +00:00
committed by GitHub
parent ebf9991df7
commit ed68a1af5b
8 changed files with 9 additions and 5 deletions

View File

@@ -15,6 +15,7 @@ body:
- brokers - brokers
- builders - builders
- collection - collection
- core
- rest - rest
- proxy - proxy
- proxy-container - proxy-container

View File

@@ -16,6 +16,7 @@ body:
- discord.js - discord.js
- builders - builders
- collection - collection
- core
- rest - rest
- proxy - proxy
- proxy-container - proxy-container

View File

@@ -67,7 +67,7 @@ jobs:
max-parallel: 1 max-parallel: 1
fail-fast: false fail-fast: false
matrix: matrix:
package: ['brokers', 'builders', 'collection', 'discord.js', 'proxy', 'rest', 'util', 'voice', 'ws'] package: ['brokers', 'builders', 'collection', 'core', 'discord.js', 'proxy', 'rest', 'util', 'voice', 'ws']
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}

View File

@@ -21,6 +21,6 @@ jobs:
uses: ./packages/actions/src/yarnCache uses: ./packages/actions/src/yarnCache
- name: Deprecate versions - name: Deprecate versions
run: 'yarn npm-deprecate --name "*dev*" --package @discordjs/brokers @discordjs/builders @discordjs/collection discord.js @discordjs/proxy @discordjs/rest @discordjs/util @discordjs/voice @discordjs/ws' run: 'yarn npm-deprecate --name "*dev*" --package @discordjs/brokers @discordjs/builders @discordjs/collection @discordjs/core discord.js @discordjs/proxy @discordjs/rest @discordjs/util @discordjs/voice @discordjs/ws'
env: env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

View File

@@ -16,6 +16,8 @@ jobs:
folder: 'builders' folder: 'builders'
- package: '@discordjs/collection' - package: '@discordjs/collection'
folder: 'collection' folder: 'collection'
- package: '@discordjs/core'
folder: 'core'
- package: 'discord.js' - package: 'discord.js'
folder: 'discord.js' folder: 'discord.js'
- package: '@discordjs/proxy' - package: '@discordjs/proxy'

View File

@@ -390,5 +390,5 @@ export default async function Page({ params }: { params: { slug: string[] } }) {
} }
export const config = { export const config = {
unstable_includeFiles: [`../../packages/{brokers,builders,collection,proxy,rest,util,voice,ws}/README.md`], unstable_includeFiles: [`../../packages/{brokers,builders,collection,core,proxy,rest,util,voice,ws}/README.md`],
}; };

View File

@@ -1,4 +1,4 @@
export const PACKAGES = ['brokers', 'builders', 'collection', 'proxy', 'rest', 'util', 'voice', 'ws']; export const PACKAGES = ['brokers', 'builders', 'collection', 'core', 'proxy', 'rest', 'util', 'voice', 'ws'];
export const DESCRIPTION = export const DESCRIPTION =
"discord.js is a powerful node.js module that allows you to interact with the Discord API very easily. It takes a much more object-oriented approach than most other JS Discord libraries, making your bot's code significantly tidier and easier to comprehend."; "discord.js is a powerful node.js module that allows you to interact with the Discord API very easily. It takes a much more object-oriented approach than most other JS Discord libraries, making your bot's code significantly tidier and easier to comprehend.";

View File

@@ -28,7 +28,7 @@ export interface MemberJSON {
summary: string | null; summary: string | null;
} }
export const PACKAGES = ['builders', 'collection', 'proxy', 'rest', 'util', 'voice', 'ws']; export const PACKAGES = ['builders', 'collection', 'core', 'proxy', 'rest', 'util', 'voice', 'ws'];
let idx = 0; let idx = 0;
export function createApiModel(data: any) { export function createApiModel(data: any) {