Skip to content

Commit 127931d

Browse files
authored
feat: website (#8043)
1 parent 5259639 commit 127931d

37 files changed

+6564
-178
lines changed

Diff for: .eslintrc.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"root": true,
33
"extends": "marine/prettier/node",
44
"parserOptions": {
5-
"project": "./tsconfig.eslint.json",
6-
"extraFileExtensions": [".mjs"]
5+
"project": "./tsconfig.eslint.json"
76
},
87
"ignorePatterns": ["**/dist/*"],
98
"env": {

Diff for: .github/labeler.yml

+4
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ chore:
3030
- packages/voice/*
3131
- packages/voice/**/*
3232

33+
'packages:website':
34+
- packages/website/*
35+
- packages/website/**/*
36+
3337
'packages:ws':
3438
- packages/ws/*
3539
- packages/ws/**/*

Diff for: .github/labels.yml

+2
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@
6060
color: 'fbca04'
6161
- name: 'packages:ws'
6262
color: 'fbca04'
63+
- name: 'packages:website'
64+
color: 'fbca04'
6365
- name: 'performance'
6466
color: '80c042'
6567
- name: 'permissions'

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ client.login('token');
101101

102102
## Links
103103

104-
- [Website](https://discord.js.org/) ([source](https://github.com/discordjs/website))
104+
- [Website](https://discord.js.org/) ([source](https://github.com/discordjs/discord.js/tree/main/packages/website))
105105
- [Documentation](https://discord.js.org/#/docs)
106106
- [Guide](https://discordjs.guide/) ([source](https://github.com/discordjs/guide))
107107
See also the [Update Guide](https://discordjs.guide/additional-info/changes-in-v13.html), including updated and removed items in the library.

Diff for: packages/actions/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
## Links
1414

15-
- [Website](https://discord.js.org/) ([source](https://github.com/discordjs/website))
15+
- [Website](https://discord.js.org/) ([source](https://github.com/discordjs/discord.js/tree/main/packages/website))
1616
- [Documentation](https://discord.js.org/#/docs)
1717
- [Guide](https://discordjs.guide/) ([source](https://github.com/discordjs/guide))
1818
See also the [Update Guide](https://discordjs.guide/additional-info/changes-in-v13.html), including updated and removed items in the library.

Diff for: packages/actions/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"eslint": "^8.17.0",
5454
"eslint-config-marine": "^9.4.1",
5555
"eslint-config-prettier": "^8.5.0",
56+
"eslint-import-resolver-typescript": "^2.7.1",
5657
"eslint-plugin-import": "^2.26.0",
5758
"prettier": "^2.6.2",
5859
"tsup": "^6.1.0",

Diff for: packages/builders/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Here are some examples for the builders and utilities you can find in this packa
3030

3131
## Links
3232

33-
- [Website](https://discord.js.org/) ([source](https://github.com/discordjs/website))
33+
- [Website](https://discord.js.org/) ([source](https://github.com/discordjs/discord.js/tree/main/packages/website))
3434
- [Documentation](https://discord.js.org/#/docs/builders)
3535
- [Guide](https://discordjs.guide/) ([source](https://github.com/discordjs/guide))
3636
See also the [Update Guide](https://discordjs.guide/additional-info/changes-in-v13.html), including updated and removed items in the library.

Diff for: packages/builders/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
"eslint": "^8.17.0",
7070
"eslint-config-marine": "^9.4.1",
7171
"eslint-config-prettier": "^8.5.0",
72+
"eslint-import-resolver-typescript": "^2.7.1",
7273
"eslint-plugin-import": "^2.26.0",
7374
"prettier": "^2.6.2",
7475
"tsup": "^6.1.0",

Diff for: packages/collection/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pnpm add @discordjs/collection
2828

2929
## Links
3030

31-
- [Website](https://discord.js.org/) ([source](https://github.com/discordjs/website))
31+
- [Website](https://discord.js.org/) ([source](https://github.com/discordjs/discord.js/tree/main/packages/website))
3232
- [Documentation](https://discord.js.org/#/docs/collection)
3333
- [Guide](https://discordjs.guide/) ([source](https://github.com/discordjs/guide))
3434
See also the [Update Guide](https://discordjs.guide/additional-info/changes-in-v13.html), including updated and removed items in the library.

Diff for: packages/collection/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
"eslint": "^8.17.0",
5858
"eslint-config-marine": "^9.4.1",
5959
"eslint-config-prettier": "^8.5.0",
60+
"eslint-import-resolver-typescript": "^2.7.1",
6061
"eslint-plugin-import": "^2.26.0",
6162
"prettier": "^2.6.2",
6263
"tsup": "^6.1.0",

Diff for: packages/discord.js/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ client.login('token');
101101

102102
## Links
103103

104-
- [Website](https://discord.js.org/) ([source](https://github.com/discordjs/website))
104+
- [Website](https://discord.js.org/) ([source](https://github.com/discordjs/discord.js/tree/main/packages/website))
105105
- [Documentation](https://discord.js.org/#/docs)
106106
- [Guide](https://discordjs.guide/) ([source](https://github.com/discordjs/guide))
107107
See also the [Update Guide](https://discordjs.guide/additional-info/changes-in-v13.html), including updated and removed items in the library.

Diff for: packages/docgen/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
## Links
1414

15-
- [Website](https://discord.js.org/) ([source](https://github.com/discordjs/website))
15+
- [Website](https://discord.js.org/) ([source](https://github.com/discordjs/discord.js/tree/main/packages/website))
1616
- [Documentation](https://discord.js.org/#/docs)
1717
- [Guide](https://discordjs.guide/) ([source](https://github.com/discordjs/guide))
1818
See also the [Update Guide](https://discordjs.guide/additional-info/changes-in-v13.html), including updated and removed items in the library.

Diff for: packages/docgen/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
"eslint": "^8.17.0",
6565
"eslint-config-marine": "^9.4.1",
6666
"eslint-config-prettier": "^8.5.0",
67+
"eslint-import-resolver-typescript": "^2.7.1",
6768
"eslint-plugin-import": "^2.26.0",
6869
"prettier": "^2.6.2",
6970
"tsup": "^6.1.0",

Diff for: packages/proxy/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pnpm add @discordjs/proxy
2828

2929
## Links
3030

31-
- [Website](https://discord.js.org/) ([source](https://github.com/discordjs/website))
31+
- [Website](https://discord.js.org/) ([source](https://github.com/discordjs/discord.js/tree/main/packages/website))
3232
- [Documentation](https://discord.js.org/#/docs/proxy)
3333
- [Guide](https://discordjs.guide/) ([source](https://github.com/discordjs/guide))
3434
See also the [Update Guide](https://discordjs.guide/additional-info/changes-in-v13.html), including updated and removed items in the library.

Diff for: packages/proxy/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
"eslint": "^8.17.0",
6868
"eslint-config-marine": "^9.4.1",
6969
"eslint-config-prettier": "^8.5.0",
70+
"eslint-import-resolver-typescript": "^2.7.1",
7071
"eslint-plugin-import": "^2.26.0",
7172
"prettier": "^2.6.2",
7273
"supertest": "^6.2.3",

Diff for: packages/rest/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ try {
7373

7474
## Links
7575

76-
- [Website](https://discord.js.org/) ([source](https://github.com/discordjs/website))
76+
- [Website](https://discord.js.org/) ([source](https://github.com/discordjs/discord.js/tree/main/packages/website))
7777
- [Documentation](https://discord.js.org/#/docs/rest)
7878
- [Guide](https://discordjs.guide/) ([source](https://github.com/discordjs/guide))
7979
See also the [Update Guide](https://discordjs.guide/additional-info/changes-in-v13.html), including updated and removed items in the library.

Diff for: packages/rest/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
"eslint": "^8.17.0",
6767
"eslint-config-marine": "^9.4.1",
6868
"eslint-config-prettier": "^8.5.0",
69+
"eslint-import-resolver-typescript": "^2.7.1",
6970
"eslint-plugin-import": "^2.26.0",
7071
"prettier": "^2.6.2",
7172
"tsup": "^6.1.0",

Diff for: packages/scripts/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
## Links
1414

15-
- [Website](https://discord.js.org/) ([source](https://github.com/discordjs/website))
15+
- [Website](https://discord.js.org/) ([source](https://github.com/discordjs/discord.js/tree/main/packages/website))
1616
- [Documentation](https://discord.js.org/#/docs)
1717
- [Guide](https://discordjs.guide/) ([source](https://github.com/discordjs/guide))
1818
See also the [Update Guide](https://discordjs.guide/additional-info/changes-in-v13.html), including updated and removed items in the library.

Diff for: packages/scripts/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"eslint": "^8.17.0",
5353
"eslint-config-marine": "^9.4.1",
5454
"eslint-config-prettier": "^8.5.0",
55+
"eslint-import-resolver-typescript": "^2.7.1",
5556
"eslint-plugin-import": "^2.26.0",
5657
"prettier": "^2.6.2",
5758
"tsup": "^6.1.0",

Diff for: packages/voice/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ try installing another.
6262

6363
## Links
6464

65-
- [Website](https://discord.js.org/) ([source](https://github.com/discordjs/website))
65+
- [Website](https://discord.js.org/) ([source](https://github.com/discordjs/discord.js/tree/main/packages/website))
6666
- [Documentation](https://discord.js.org/#/docs/voice)
6767
- [Guide](https://discordjs.guide/) ([source](https://github.com/discordjs/guide))
6868
See also the [Update Guide](https://discordjs.guide/additional-info/changes-in-v13.html), including updated and removed items in the library.

Diff for: packages/voice/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
"eslint": "^8.17.0",
7373
"eslint-config-marine": "^9.4.1",
7474
"eslint-config-prettier": "^8.5.0",
75+
"eslint-import-resolver-typescript": "^2.7.1",
7576
"eslint-plugin-import": "^2.26.0",
7677
"jest": "^28.1.0",
7778
"jest-websocket-mock": "^2.3.0",

Diff for: packages/website/.eslintrc.json

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"extends": ["marine/prettier/react", "../../.eslintrc.json"],
3+
"settings": {
4+
"react": {
5+
"version": "detect"
6+
}
7+
},
8+
"rules": {
9+
"react/react-in-jsx-scope": 0,
10+
"react/jsx-filename-extension": [1, { "extensions": [".tsx"] }]
11+
}
12+
}

Diff for: packages/website/.gitignore

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Packages
2+
node_modules/
3+
4+
# Log files
5+
logs/
6+
*.log
7+
npm-debug.log*
8+
9+
# Runtime data
10+
pids
11+
*.pid
12+
*.seed
13+
14+
# Env
15+
.env
16+
17+
# Dist
18+
dist/
19+
typings/
20+
.cache/
21+
build/
22+
23+
# Miscellaneous
24+
.tmp/
25+
coverage/

Diff for: packages/website/.prettierignore

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Autogenerated
2+
CHANGELOG.md
3+
.turbo
4+
dist/
5+
docs/**/*
6+
!docs/index.yml
7+
!docs/README.md
8+
coverage/
9+
tsup.config.*.mjs
10+
.cache
11+
build/

Diff for: packages/website/.prettierrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('../../.prettierrc.json');

0 commit comments

Comments
 (0)