Skip to content

Commit

Permalink
chore: deps
Browse files Browse the repository at this point in the history
  • Loading branch information
leomotors committed Mar 1, 2024
1 parent 1b03c5b commit 7e0e33d
Show file tree
Hide file tree
Showing 14 changed files with 2,092 additions and 1,667 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lts/hydrogen
lts/iron
22 changes: 11 additions & 11 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@
"lint": "eslint src"
},
"devDependencies": {
"@vitejs/plugin-vue-jsx": "3.0.2",
"@vue/eslint-config-prettier": "8.0.0",
"@vitejs/plugin-vue-jsx": "3.1.0",
"@vue/eslint-config-prettier": "9.0.0",
"@vue/eslint-config-typescript": "12.0.0",
"@vue/tsconfig": "0.4.0",
"autoprefixer": "10.4.16",
"eslint": "8.50.0",
"eslint-plugin-vue": "9.17.0",
"postcss": "8.4.30",
"tailwindcss": "3.3.3",
"typescript": "5.2.2",
"vite": "4.4.9",
"@vue/tsconfig": "0.5.1",
"autoprefixer": "10.4.17",
"eslint": "8.57.0",
"eslint-plugin-vue": "9.22.0",
"postcss": "8.4.35",
"tailwindcss": "3.4.1",
"typescript": "5.3.3",
"vite": "5.1.4",
"vitepress": "1.0.0-rc.4",
"vue": "3.3.4"
"vue": "3.4.21"
}
}
20 changes: 10 additions & 10 deletions apps/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@
},
"devDependencies": {
"@leomotors/config": "0.11.0",
"@trivago/prettier-plugin-sort-imports": "4.2.0",
"@typescript-eslint/eslint-plugin": "6.7.2",
"@typescript-eslint/parser": "6.7.2",
"eslint": "8.50.0",
"prettier": "3.0.3",
"typescript": "5.2.2"
"@trivago/prettier-plugin-sort-imports": "4.3.0",
"@typescript-eslint/eslint-plugin": "7.1.0",
"@typescript-eslint/parser": "7.1.0",
"eslint": "8.57.0",
"prettier": "3.2.5",
"typescript": "5.3.3"
},
"dependencies": {
"cocoa-discord": "^3.0.0",
"discord.js": "14.13.0",
"dotenv": "16.3.1",
"zod": "3.22.2"
"cocoa-discord": "workspace:^",
"discord.js": "14.14.1",
"dotenv": "16.4.5",
"zod": "3.22.4"
}
}
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@cocoa-discord/turborepo",
"private": true,
"packageManager": "pnpm@8.7.6",
"packageManager": "pnpm@8.15.4",
"scripts": {
"build:app": "FORCE_COLOR=2 turbo run build:app",
"build": "FORCE_COLOR=2 turbo run build",
Expand All @@ -14,20 +14,20 @@
},
"devDependencies": {
"@leomotors/config": "0.11.0",
"@trivago/prettier-plugin-sort-imports": "4.2.0",
"@types/eslint": "8.44.3",
"@types/node": "18.17.19",
"@typescript-eslint/eslint-plugin": "6.7.2",
"@typescript-eslint/parser": "6.7.2",
"eslint": "8.50.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-import": "2.28.1",
"eslint-plugin-prettier": "5.0.0",
"@trivago/prettier-plugin-sort-imports": "4.3.0",
"@types/eslint": "8.56.5",
"@types/node": "20.11.24",
"@typescript-eslint/eslint-plugin": "7.1.0",
"@typescript-eslint/parser": "7.1.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-sort-destructure-keys": "1.5.0",
"prettier": "3.0.3",
"turbo": "1.10.14",
"typescript": "5.2.2",
"vite": "4.4.9",
"vitest": "0.34.5"
"prettier": "3.2.5",
"turbo": "1.12.4",
"typescript": "5.3.3",
"vite": "5.1.4",
"vitest": "1.3.1"
}
}
23 changes: 11 additions & 12 deletions packages/cocoa-discord/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,20 @@
],
"devDependencies": {
"@leomotors/scripts": "3.1.0",
"@types/sinon": "10.0.16",
"@vitest/coverage-v8": "0.34.5",
"bun-types": "1.0.3",
"rimraf": "5.0.1",
"sinon": "16.0.0",
"ts-node": "10.9.1",
"typedoc": "0.25.1",
"typescript": "5.2.2",
"vitest": "0.34.5"
"@types/sinon": "17.0.3",
"@vitest/coverage-v8": "1.3.1",
"rimraf": "5.0.5",
"sinon": "17.0.1",
"ts-node": "10.9.2",
"typedoc": "0.25.9",
"typescript": "5.3.3",
"vitest": "1.3.1"
},
"dependencies": {
"chalk": "^5.3.0",
"commander": "^11.0.0",
"discord-api-types": "^0.37.57",
"discord.js": "^14.13.0"
"commander": "^12.0.0",
"discord-api-types": "^0.37.71",
"discord.js": "^14.14.1"
},
"exports": {
".": "./dist/main/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/cocoa-discord/src/main/loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export class Loader<T> {
readonly name: string;
protected _data: T;
protected readonly filePath?: string;
private reloadInterval?: NodeJS.Timer;
private reloadInterval?: NodeJS.Timeout;

initialPromise?: Promise<void>;

Expand Down
4 changes: 2 additions & 2 deletions packages/cocoa-discord/src/slash/SlashCenter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ export class SlashCenter extends ManagementCenter<
const emb = command
? this.commandHelp(command, ctx, style)
: style
? style.apply(ctx, allEmb)
: allEmb;
? style.apply(ctx, allEmb)
: allEmb;
const ephemeral = getEphemeral(ctx);
await ctx.reply({
embeds: [emb],
Expand Down
4 changes: 2 additions & 2 deletions packages/cocoa-discord/src/slash/class/decorators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ export namespace Param {
choices: T extends string
? ACO<string>
: T extends number
? ACO<number>
: never,
? ACO<number>
: never,
) {
return (
mod: SlashModuleClass,
Expand Down
3 changes: 2 additions & 1 deletion packages/cocoa-discord/src/template/status.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference types="bun-types" />
import { APIEmbedField } from "discord-api-types/v10";
import { CommandInteraction, Message } from "discord.js";

Expand All @@ -16,7 +15,9 @@ export interface GetStatusFieldsOption {
}

export function getRuntimeVersion() {
// @ts-expect-error Bun Types
if (typeof Bun !== "undefined") {
// @ts-expect-error Bun Types
return `Bun v${Bun.version}`;
} else {
return `Node.js ${process.version}`;
Expand Down
34 changes: 17 additions & 17 deletions packages/music-module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,27 +26,27 @@
"devDependencies": {
"@discordjs/opus": "0.9.0",
"@leomotors/scripts": "3.1.0",
"@trivago/prettier-plugin-sort-imports": "4.2.0",
"@types/uuid": "9.0.4",
"@typescript-eslint/eslint-plugin": "6.7.2",
"@typescript-eslint/parser": "6.7.2",
"dotenv": "16.3.1",
"eslint": "8.50.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-import": "2.28.1",
"eslint-plugin-prettier": "5.0.0",
"@trivago/prettier-plugin-sort-imports": "4.3.0",
"@types/uuid": "9.0.8",
"@typescript-eslint/eslint-plugin": "7.1.0",
"@typescript-eslint/parser": "7.1.0",
"dotenv": "16.4.5",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-prettier": "5.1.3",
"libsodium-wrappers": "0.7.13",
"prettier": "3.0.3",
"rimraf": "5.0.1",
"typedoc": "0.25.1",
"typescript": "5.2.2"
"prettier": "3.2.5",
"rimraf": "5.0.5",
"typedoc": "0.25.9",
"typescript": "5.3.3"
},
"dependencies": {
"@discordjs/voice": "^0.16.0",
"@discordjs/voice": "^0.16.1",
"chalk": "^5.3.0",
"cocoa-discord": "^3.0.0",
"discord.js": "^14.13.0",
"microsoft-cognitiveservices-speech-sdk": "^1.32.0",
"cocoa-discord": "workspace:^",
"discord.js": "^14.14.1",
"microsoft-cognitiveservices-speech-sdk": "^1.35.0",
"play-dl": "^1.9.7",
"tslib": "^2.6.2",
"uuid": "^9.0.1"
Expand Down
4 changes: 1 addition & 3 deletions packages/music-module/src/adapters/cognitive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,7 @@ export abstract class CognitiveSearch {

private static async getNames() {
const result = await fetch(
`https://${
this.#SPEECH_REGION
}.tts.speech.microsoft.com/cognitiveservices/voices/list`,
`https://${this.#SPEECH_REGION}.tts.speech.microsoft.com/cognitiveservices/voices/list`,
{
headers: {
"Ocp-Apim-Subscription-Key": this.#SPEECH_KEY,
Expand Down
5 changes: 3 additions & 2 deletions packages/music-module/src/adapters/youtube.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ export class YoutubeAdapter implements Playable {
.addInlineFields(
{
name: "🎙️Author",
value: `[${this.video.channel?.name ?? "Unknown"}](${this.video
.channel?.url})`,
value: `[${this.video.channel?.name ?? "Unknown"}](${
this.video.channel?.url
})`,
},
{
name: "⌛Duration",
Expand Down
4 changes: 2 additions & 2 deletions packages/tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"test": "FORCE_COLOR=2 vitest run"
},
"devDependencies": {
"@vitest/coverage-v8": "0.34.5",
"vitest": "0.34.5"
"@vitest/coverage-v8": "1.3.1",
"vitest": "1.3.1"
}
}
Loading

0 comments on commit 7e0e33d

Please sign in to comment.