Skip to content
This repository was archived by the owner on Dec 22, 2023. It is now read-only.

Commit 49a40b4

Browse files
committed
chore: update deps
1 parent 900b11e commit 49a40b4

24 files changed

+1759
-1486
lines changed

apps/guide/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<div align="center">
22
<a href="https://guildedts.js.org">
3-
<img src="https://guildedts.js.org/banner.png" width="700" alt="Guilded.TS"/>
3+
<img src="https://guildedts.js.org/banner.png" width="700" alt="Guilded.TS" />
44
</a>
55
<div>
6-
<A href="https://guildedts.js.org/support">
7-
<img src="https://shields.yoki-labs.xyz/shields/vanity/guildedts?style=for-the-badge" alt="Guilded server">
6+
<a href="https://guildedts.js.org/support">
7+
<img src="https://shields.yoki-labs.xyz/shields/vanity/guildedts?style=for-the-badge" alt="Guilded server" />
88
</a>
99
<a href="https://npmjs.com/guilded.ts">
1010
<img src="https://img.shields.io/npm/v/guilded.ts?style=for-the-badge" alt="Version" />

apps/guide/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"dependencies": {
2121
"@vuepress/client": "2.0.0-beta.60",
2222
"@vuepress/plugin-search": "2.0.0-beta.60",
23-
"vue": "^3.2.45",
23+
"vue": "^3.2.47",
2424
"vuepress-vite": "2.0.0-beta.60"
2525
}
2626
}

apps/website/.eslintrc.json

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
{
2-
"extends": ["next/core-web-vitals", "../../.eslintrc.json"],
3-
"rules": {
4-
"@next/next/no-head-element": "off"
5-
}
2+
"extends": ["next/core-web-vitals", "../../.eslintrc.json"]
63
}

apps/website/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<div align="center">
22
<a href="https://guildedts.js.org">
3-
<img src="https://guildedts.js.org/banner.png" width="700" alt="Guilded.TS"/>
3+
<img src="https://guildedts.js.org/banner.png" width="700" alt="Guilded.TS" />
44
</a>
55
<div>
6-
<A href="https://guildedts.js.org/support">
7-
<img src="https://shields.yoki-labs.xyz/shields/vanity/guildedts?style=for-the-badge" alt="Guilded server">
6+
<a href="https://guildedts.js.org/support">
7+
<img src="https://shields.yoki-labs.xyz/shields/vanity/guildedts?style=for-the-badge" alt="Guilded server" />
88
</a>
99
<a href="https://npmjs.com/guilded.ts">
1010
<img src="https://img.shields.io/npm/v/guilded.ts?style=for-the-badge" alt="Version" />

apps/website/next.config.js

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ module.exports = {
1515
destination: 'https://guide.guildedts.js.org',
1616
permanent: false,
1717
},
18+
{
19+
source: '/npm',
20+
destination: 'https://npmjs.com/package/guilded.ts',
21+
permanent: false,
22+
},
1823
{
1924
source: '/github',
2025
destination: 'https://github.com/guildedts/guilded.ts',

apps/website/package.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@
1919
"lint": "next lint"
2020
},
2121
"dependencies": {
22-
"next": "^13.0.0",
22+
"next": "^13.2.0",
2323
"react": "^18.2.0",
2424
"react-dom": "^18.2.0",
25-
"react-icons": "^4.6.0"
25+
"react-icons": "^4.7.1"
2626
},
2727
"devDependencies": {
28-
"@types/react": "18.0.27",
29-
"@types/react-dom": "^18.0.7",
30-
"autoprefixer": "^10.4.12",
31-
"eslint-config-next": "^13.0.0",
32-
"postcss": "^8.4.18",
33-
"tailwindcss": "^3.2.1",
34-
"typescript": "^4.8.4"
28+
"@types/react": "18.0.28",
29+
"@types/react-dom": "^18.0.11",
30+
"autoprefixer": "^10.4.13",
31+
"eslint-config-next": "^13.2.0",
32+
"postcss": "^8.4.21",
33+
"tailwindcss": "^3.2.7",
34+
"typescript": "^4.9.5"
3535
}
3636
}

apps/website/src/app/head.tsx

-13
This file was deleted.

apps/website/src/app/layout.tsx

+12-6
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
11
import 'styles.css';
22
import Footer from 'components/Footer';
33
import Navbar from 'components/Navbar';
4+
import { Metadata } from 'next';
5+
6+
export const metadata: Metadata = {
7+
title: 'Guilded.TS',
8+
description: 'A feature rich NPM package for interacting with the Guilded API.',
9+
viewport: { width: 'device-width', initialScale: 1 },
10+
icons: '/logo.png',
11+
};
412

513
export default function Layout({ children }: React.PropsWithChildren) {
614
return (
715
<html lang="en">
8-
<body>
9-
<div className="flex flex-col h-screen">
10-
<Navbar />
11-
<main className="p-6 flex-grow max-w-5xl w-full mx-auto">{children}</main>
12-
<Footer />
13-
</div>
16+
<body className="flex flex-col h-screen">
17+
<Navbar />
18+
<main className="p-6 flex-grow max-w-5xl w-full mx-auto">{children}</main>
19+
<Footer />
1420
</body>
1521
</html>
1622
);

apps/website/src/app/page.tsx

+7-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@ export default function Page() {
66
return (
77
<div className="space-y-5">
88
<div className="text-center">
9-
<Image src="/banner.png" alt="Guilded.TS" width={1200} height={300} />
9+
<Image
10+
className="pointer-events-none"
11+
src="/banner.png"
12+
alt="Guilded.TS"
13+
width={1200}
14+
height={300}
15+
/>
1016
<Command>npm install guilded.ts</Command>
1117
</div>
1218
<div>

apps/website/src/components/IconLinks.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
import { SiGithub, SiGuilded } from 'react-icons/si';
1+
import { SiGithub, SiGuilded, SiNpm } from 'react-icons/si';
22
import { IconType } from 'react-icons';
33

44
const Links: Record<string, [href: string, Icon: IconType]> = {
5+
NPM: ['/npm', SiNpm],
56
GitHub: ['/github', SiGithub],
67
'Support Server': ['/support', SiGuilded],
78
};

example/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div align="center">
22
<a href="https://guildedts.js.org">
3-
<img src="https://guildedts.js.org/banner.png" width="700" alt="Guilded.TS"/>
3+
<img src="https://guildedts.js.org/banner.png" width="700" alt="Guilded.TS" />
44
</a>
55
</div>
66

package.json

+16-16
Original file line numberDiff line numberDiff line change
@@ -20,28 +20,28 @@
2020
"publish": "pnpm build && ts-node scripts/publish"
2121
},
2222
"devDependencies": {
23-
"@changesets/cli": "^2.25.0",
24-
"@commitlint/cli": "^17.1.2",
25-
"@commitlint/config-angular": "^17.1.0",
26-
"@favware/npm-deprecate": "^1.0.5",
27-
"@types/node": "^18.11.5",
23+
"@changesets/cli": "^2.26.0",
24+
"@commitlint/cli": "^17.4.4",
25+
"@commitlint/config-angular": "^17.4.4",
26+
"@favware/npm-deprecate": "^1.0.7",
27+
"@types/node": "^18.14.1",
2828
"@types/node-fetch": "^2.6.2",
29-
"@typescript-eslint/eslint-plugin": "^5.41.0",
30-
"@typescript-eslint/parser": "^5.41.0",
31-
"eslint": "^8.26.0",
29+
"@typescript-eslint/eslint-plugin": "^5.53.0",
30+
"@typescript-eslint/parser": "^5.53.0",
31+
"eslint": "^8.34.0",
3232
"eslint-config-prettier": "^8.6.0",
3333
"eslint-plugin-markdown": "^3.0.0",
3434
"eslint-plugin-prettier": "^4.2.1",
3535
"guilded.ts": "workspace:^",
36-
"husky": "^8.0.1",
37-
"lint-staged": "^13.0.3",
38-
"prettier": "^2.7.1",
36+
"husky": "^8.0.3",
37+
"lint-staged": "^13.1.2",
38+
"prettier": "^2.8.4",
3939
"ts-node": "^10.9.1",
40-
"tsup": "^6.5.0",
41-
"turbo": "^1.7.0",
42-
"typedoc": "^0.23.18",
40+
"tsup": "^6.6.3",
41+
"turbo": "^1.8.2",
42+
"typedoc": "^0.23.25",
4343
"typedoc-plugin-missing-exports": "^1.0.0",
44-
"typescript": "^4.8.4"
44+
"typescript": "^4.9.5"
4545
},
46-
"packageManager": "pnpm@7.26.0"
46+
"packageManager": "pnpm@7.28.0"
4747
}

packages/builders/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<div align="center">
22
<a href="https://guildedts.js.org">
3-
<img src="https://guildedts.js.org/banner.png" width="700" alt="Guilded.TS"/>
3+
<img src="https://guildedts.js.org/banner.png" width="700" alt="Guilded.TS" />
44
</a>
55
<div>
6-
<A href="https://guildedts.js.org/support">
7-
<img src="https://shields.yoki-labs.xyz/shields/vanity/guildedts?style=for-the-badge" alt="Guilded server">
6+
<a href="https://guildedts.js.org/support">
7+
<img src="https://shields.yoki-labs.xyz/shields/vanity/guildedts?style=for-the-badge" alt="Guilded server" />
88
</a>
99
<a href="https://npmjs.com/@guildedts/builders">
1010
<img src="https://img.shields.io/npm/v/@guildedts/builders?style=for-the-badge" alt="Version" />
@@ -20,7 +20,7 @@
2020

2121
# About
2222

23-
@guildedts/builders is a NPM package with a set of builders for creating a Guilded bot.
23+
`@guildedts/builders` is a NPM package with a set of builders for creating a Guilded bot.
2424

2525
# Links
2626

packages/framework/README.md

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<div align="center">
22
<a href="https://guildedts.js.org">
3-
<img src="https://guildedts.js.org/banner.png" width="700" alt="Guilded.TS"/>
3+
<img src="https://guildedts.js.org/banner.png" width="700" alt="Guilded.TS" />
44
</a>
55
<div>
6-
<A href="https://guildedts.js.org/support">
7-
<img src="https://shields.yoki-labs.xyz/shields/vanity/guildedts?style=for-the-badge" alt="Guilded server">
6+
<a href="https://guildedts.js.org/support">
7+
<img src="https://shields.yoki-labs.xyz/shields/vanity/guildedts?style=for-the-badge" alt="Guilded server" />
88
</a>
99
<a href="https://npmjs.com/@guildedts/framework">
1010
<img src="https://img.shields.io/npm/v/@guildedts/framework?style=for-the-badge" alt="Version" />
@@ -20,7 +20,7 @@
2020

2121
# About
2222

23-
@guildedts/framework is a powerful framework for creating a Guilded bot.
23+
`@guildedts/framework` is a powerful framework for creating a Guilded bot.
2424

2525
# Links
2626

@@ -39,9 +39,9 @@
3939

4040
# Example usage
4141

42-
`commands/echo.js`:
43-
4442
```js
43+
// commands/echo.js
44+
4545
import { Command, StringArgument } from '@guildedts/framework';
4646
// Or
4747
const { Command, StringArgument } = require('@guildedts/framework');
@@ -65,8 +65,6 @@ export default Echo;
6565
module.exports = Echo;
6666
```
6767

68-
Start the bot:
69-
7068
```sh
7169
# Start the bot
7270
gts start

packages/framework/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@
3333
"lint": "eslint src"
3434
},
3535
"dependencies": {
36-
"@discordjs/collection": "^1.2.0",
36+
"@discordjs/collection": "^1.3.0",
3737
"chalk": "^4.1.2",
3838
"commander": "^10.0.0",
3939
"fast-glob": "^3.2.12",
4040
"guilded.ts": "workspace:^",
41-
"joi": "^17.6.4",
42-
"yaml": "^2.1.3"
41+
"joi": "^17.8.3",
42+
"yaml": "^2.2.1"
4343
}
4444
}

packages/guilded-api-typings/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<div align="center">
22
<a href="https://guildedts.js.org">
3-
<img src="https://guildedts.js.org/banner.png" width="700" alt="Guilded.TS"/>
3+
<img src="https://guildedts.js.org/banner.png" width="700" alt="Guilded.TS" />
44
</a>
55
<div>
6-
<A href="https://guildedts.js.org/support">
7-
<img src="https://shields.yoki-labs.xyz/shields/vanity/guildedts?style=for-the-badge" alt="Guilded server">
6+
<a href="https://guildedts.js.org/support">
7+
<img src="https://shields.yoki-labs.xyz/shields/vanity/guildedts?style=for-the-badge" alt="Guilded server" />
88
</a>
99
<a href="https://npmjs.com/guilded-api-typings">
1010
<img src="https://img.shields.io/npm/v/guilded-api-typings?style=for-the-badge" alt="Version" />
@@ -20,7 +20,7 @@
2020

2121
# About
2222

23-
guilded-api-typings is a NPM package that provides typings for the Guilded API.
23+
`guilded-api-typings` is a NPM package that provides typings for the Guilded API.
2424

2525
# Links
2626

@@ -39,4 +39,4 @@ guilded-api-typings is a NPM package that provides typings for the Guilded API.
3939

4040
---
4141

42-
**Maintained by [Gamertike](https://gamertike.com) | [Contribute](https://github.com/guildedts/guilded.ts/tree/main/.github/CONTRIBUTING.md) | Inspired by [discord.js](https://discord.js.org)**
42+
**Maintained by [Gamertike](https://gamertike.com) | [Contribute](https://github.com/guildedts/guilded.ts/tree/main/.github/CONTRIBUTING.md) | Inspired by [discord-api-types](https://discord-api-types.dev)**

packages/guilded.ts/README.md

+5-22
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<div align="center">
22
<a href="https://guildedts.js.org">
3-
<img src="https://guildedts.js.org/banner.png" width="700" alt="Guilded.TS"/>
3+
<img src="https://guildedts.js.org/banner.png" width="700" alt="Guilded.TS" />
44
</a>
55
<div>
6-
<A href="https://guildedts.js.org/support">
7-
<img src="https://shields.yoki-labs.xyz/shields/vanity/guildedts?style=for-the-badge" alt="Guilded server">
6+
<a href="https://guildedts.js.org/support">
7+
<img src="https://shields.yoki-labs.xyz/shields/vanity/guildedts?style=for-the-badge" alt="Guilded server" />
88
</a>
99
<a href="https://npmjs.com/guilded.ts">
1010
<img src="https://img.shields.io/npm/v/guilded.ts?style=for-the-badge" alt="Version" />
@@ -20,7 +20,7 @@
2020

2121
# About
2222

23-
Guilded.TS is feature rich NPM package for interacting with the Guilded API.
23+
`guilded.ts` is feature rich NPM package for interacting with the Guilded API.
2424

2525
# Links
2626

@@ -30,6 +30,7 @@ Guilded.TS is feature rich NPM package for interacting with the Guilded API.
3030
- [Guilded.TS Guilded Server](https://guildedts.js.org/support)
3131
- [GitHub](https://github.com/guildedts/guilded.ts/tree/main/packages/guilded.ts)
3232
- [NPM](https://npmjs.com/guilded.ts)
33+
- [Example](https://github.com/guildedts/guilded.ts/tree/main/example)
3334

3435
# Packages
3536

@@ -47,24 +48,6 @@ Guilded.TS is feature rich NPM package for interacting with the Guilded API.
4748
- `yarn add guilded.ts`
4849
- `pnpm add guilded.ts`
4950

50-
# Example usage
51-
52-
```js
53-
import Client from 'guilded.ts';
54-
// Or
55-
const { Client } = require('guilded.ts');
56-
57-
const client = new Client();
58-
59-
client.once('ready', () => console.log(`Logged in as ${client.user!.name}`));
60-
client.on('disconnect', () => console.log('Disconnected from Guilded'));
61-
client.on('messageCreate', (message) => {
62-
if (message.content === 'ping') message.reply('Pong!');
63-
});
64-
65-
client.login('BOT_TOKEN');
66-
```
67-
6851
---
6952

7053
**Maintained by [Gamertike](https://gamertike.com) | [Contribute](https://github.com/guildedts/guilded.ts/tree/main/.github/CONTRIBUTING.md) | Inspired by [discord.js](https://discord.js.org)**

packages/guilded.ts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"lint": "eslint src"
2929
},
3030
"dependencies": {
31-
"@discordjs/collection": "^1.2.0",
31+
"@discordjs/collection": "^1.3.0",
3232
"@guildedts/builders": "workspace:^",
3333
"@guildedts/rest": "workspace:^",
3434
"@guildedts/ws": "workspace:^",

0 commit comments

Comments
 (0)