Skip to content

Commit

Permalink
chore: Update /core constants (#8874)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Nov 28, 2022
1 parent ebf9991 commit ed68a1a
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Expand Up @@ -15,6 +15,7 @@ body:
- brokers
- builders
- collection
- core
- rest
- proxy
- proxy-container
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Expand Up @@ -16,6 +16,7 @@ body:
- discord.js
- builders
- collection
- core
- rest
- proxy
- proxy-container
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Expand Up @@ -67,7 +67,7 @@ jobs:
max-parallel: 1
fail-fast: false
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
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-auto-deprecate.yml
Expand Up @@ -21,6 +21,6 @@ jobs:
uses: ./packages/actions/src/yarnCache

- 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:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
2 changes: 2 additions & 0 deletions .github/workflows/publish-dev.yml
Expand Up @@ -16,6 +16,8 @@ jobs:
folder: 'builders'
- package: '@discordjs/collection'
folder: 'collection'
- package: '@discordjs/core'
folder: 'core'
- package: 'discord.js'
folder: 'discord.js'
- package: '@discordjs/proxy'
Expand Down
2 changes: 1 addition & 1 deletion apps/website/src/app/docs/[...slug]/page.tsx
Expand Up @@ -390,5 +390,5 @@ export default async function Page({ params }: { params: { slug: string[] } }) {
}

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`],
};
2 changes: 1 addition & 1 deletion apps/website/src/util/constants.ts
@@ -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 =
"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.";
Expand Down
2 changes: 1 addition & 1 deletion packages/scripts/src/generateIndex.ts
Expand Up @@ -28,7 +28,7 @@ export interface MemberJSON {
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;

export function createApiModel(data: any) {
Expand Down

1 comment on commit ed68a1a

@vercel
Copy link

@vercel vercel bot commented on ed68a1a Nov 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.