Skip to content

Commit 3fca638

Browse files
suneettipirneniJiralitekodiakhq[bot]
authored
* feat: add @discordjs/formatters * chore: make requested changes * chore: make requested changes * chore: fix other places * chore: make requested changes Co-authored-by: Jiralite <[email protected]> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent 4e4cbb3 commit 3fca638

29 files changed

+548
-8
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ body:
1616
- builders
1717
- collection
1818
- core
19+
- formatters
1920
- proxy
2021
- proxy-container
2122
- rest

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ body:
1818
- builders
1919
- collection
2020
- core
21+
- formatters
2122
- proxy
2223
- proxy-container
2324
- rest

.github/labeler.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ packages:discord.js:
2222
packages:docgen:
2323
- packages/docgen/*
2424
- packages/docgen/**/*
25+
packages:formatters:
26+
- packages/formatters/*
27+
- packages/formatters/**/*
2528
packages:proxy:
2629
- packages/proxy/*
2730
- packages/proxy/**/*

.github/labels.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@
6262
color: fbca04
6363
- name: packages:docgen
6464
color: fbca04
65+
- name: packages:formatters
66+
color: fbca04
6567
- name: packages:proxy
6668
color: fbca04
6769
- name: packages:proxy-container

.github/workflows/documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
max-parallel: 1
6868
fail-fast: false
6969
matrix:
70-
package: ['brokers', 'builders', 'collection', 'core', 'discord.js', 'proxy', 'rest', 'util', 'voice', 'ws']
70+
package: ['brokers', 'builders', 'collection', 'core', 'discord.js', 'formatters', 'proxy', 'rest', 'util', 'voice', 'ws']
7171
runs-on: ubuntu-latest
7272
env:
7373
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}

.github/workflows/npm-auto-deprecate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ jobs:
2121
uses: ./packages/actions/src/yarnCache
2222

2323
- name: Deprecate versions
24-
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'
24+
run: 'yarn npm-deprecate --name "*dev*" --package @discordjs/brokers @discordjs/builders @discordjs/collection @discordjs/core @discordjs/formatters discord.js @discordjs/proxy @discordjs/rest @discordjs/util @discordjs/voice @discordjs/ws'
2525
env:
2626
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

.github/workflows/publish-dev.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
folder: 'collection'
1919
- package: '@discordjs/core'
2020
folder: 'core'
21+
- package: '@discordjs/formatters'
22+
folder: 'formatters'
2123
- package: 'discord.js'
2224
folder: 'discord.js'
2325
- package: '@discordjs/proxy'

apps/website/src/util/constants.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
1-
export const PACKAGES = ['brokers', 'builders', 'collection', 'core', 'proxy', 'rest', 'util', 'voice', 'ws'];
1+
export const PACKAGES = [
2+
'brokers',
3+
'builders',
4+
'collection',
5+
'core',
6+
'formatters',
7+
'proxy',
8+
'rest',
9+
'util',
10+
'voice',
11+
'ws',
12+
];
213

314
export const DESCRIPTION =
415
"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.";

packages/builders/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
},
5555
"homepage": "https://discord.js.org",
5656
"dependencies": {
57+
"@discordjs/formatters": "workspace:^",
5758
"@discordjs/util": "workspace:^",
5859
"@sapphire/shapeshift": "^3.7.1",
5960
"discord-api-types": "^0.37.20",

packages/builders/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
export * as EmbedAssertions from './messages/embed/Assertions.js';
22
export * from './messages/embed/Embed.js';
3-
export * from './messages/formatters.js';
3+
// TODO: Consider removing this dep in the next major version
4+
export * from '@discordjs/formatters';
45

56
export * as ComponentAssertions from './components/Assertions.js';
67
export * from './components/ActionRow.js';

0 commit comments

Comments
 (0)