Skip to content

Commit 9f327dd

Browse files
authored
chore: docusaurus upgrade (#1163)
* chore: docusaurus upgrade * chore: lock my file * fix: oi * chore: drop broken links to a warn * chore: screw it, no direct link * chore: doing it live * chore: bring it back * chore: remove client redirect as its needless * chore: deno install bc why not * chore: tabs
1 parent 5d472cb commit 9f327dd

21 files changed

+32826
-25815
lines changed

website/.eslintrc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"root": true,
33
"extends": ["neon/common", "neon/node", "neon/typescript", "neon/react", "neon/jsx", "neon/jsx-a11y", "neon/prettier"],
44
"parserOptions": {
5-
"ecmaVersion": 2020,
5+
"ecmaVersion": 2022,
66
"sourceType": "module",
77
"ecmaFeatures": {
88
"jsx": true
@@ -28,6 +28,9 @@
2828
"rules": {
2929
"@typescript-eslint/consistent-type-definitions": ["error", "interface"],
3030
"import/extensions": "off",
31-
"no-restricted-globals": "off"
31+
"no-restricted-globals": "off",
32+
"tsdoc/syntax": "off",
33+
"@typescript-eslint/unbound-method": "off",
34+
"import/order": "off"
3235
}
3336
}

website/docs/Introduction.mdx

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,52 @@ Discord API Types is a community-maintained project that brings API types for Di
2828

2929
## Installation
3030

31-
Install with [`npm`](https://www.npmjs.com/) / [`yarn`](https://yarnpkg.com) / [`pnpm`](https://pnpm.js.org/):
31+
Install with [`npm`](https://www.npmjs.com/) / [`yarn`](https://yarnpkg.com) / [`pnpm`](https://pnpm.js.org/) /
32+
[`bun`](https://bun.sh/) / [`deno`](https://deno.land/):
3233

33-
```bash npm2yarn2pnpm
34+
<Tabs groupId="npm2yarn2pnpm">
35+
<TabItem value="npm" label="npm">
36+
37+
```bash
3438
npm install discord-api-types
3539
```
3640

41+
</TabItem>
42+
43+
<TabItem value="yarn" label="yarn">
44+
45+
```bash
46+
yarn add discord-api-types
47+
```
48+
49+
</TabItem>
50+
51+
<TabItem value="pnpm" label="pnpm">
52+
53+
```bash
54+
pnpm add discord-api-types
55+
```
56+
57+
</TabItem>
58+
59+
<TabItem value="bun" label="bun">
60+
61+
```bash
62+
bun add discord-api-types
63+
```
64+
65+
</TabItem>
66+
67+
<TabItem value="deno" label="deno">
68+
69+
```bash
70+
deno install npm:discord-api-types
71+
```
72+
73+
</TabItem>
74+
75+
</Tabs>
76+
3777
### Usage
3878

3979
You can only import this module by specifying the API version you want to target. Append `/v*` to the import path, where

website/docusaurus.config.js

Lines changed: 0 additions & 255 deletions
This file was deleted.

0 commit comments

Comments
 (0)