Skip to content

Commit 3bc84ea

Browse files
authored
chore: bump deps (#43)
* chore: bump deps
1 parent 5c60f7a commit 3bc84ea

File tree

5 files changed

+423
-846
lines changed

5 files changed

+423
-846
lines changed

package.json

+13-13
Original file line numberDiff line numberDiff line change
@@ -14,29 +14,29 @@
1414
"dd": "yarn dedupe --strategy highest"
1515
},
1616
"devDependencies": {
17-
"@commitlint/cli": "^18.4.3",
18-
"@commitlint/config-conventional": "^18.4.3",
17+
"@commitlint/cli": "^18.4.4",
18+
"@commitlint/config-conventional": "^18.4.4",
1919
"@favware/rollup-type-bundler": "^3.2.1",
20-
"@kbotdev/eslint-config": "^1.1.1",
21-
"@kbotdev/prettier-config": "^1.0.1",
22-
"@kbotdev/ts-config": "^1.0.1",
23-
"@types/node": "^20.10.4",
24-
"@typescript-eslint/eslint-plugin": "^6.13.2",
25-
"@typescript-eslint/parser": "^6.13.2",
20+
"@kbotdev/eslint-config": "^2.0.1",
21+
"@kbotdev/prettier-config": "^1.0.2",
22+
"@kbotdev/ts-config": "^1.0.2",
23+
"@types/node": "^20.10.7",
24+
"@typescript-eslint/eslint-plugin": "^6.18.0",
25+
"@typescript-eslint/parser": "^6.18.0",
2626
"concurrently": "^8.2.2",
2727
"esbuild-plugin-file-path-extensions": "^2.0.0",
2828
"esbuild-plugin-version-injector": "^1.2.1",
29-
"eslint": "^8.55.0",
29+
"eslint": "^8.56.0",
3030
"eslint-config-prettier": "^9.1.0",
3131
"eslint-import-resolver-typescript": "^3.6.1",
32-
"eslint-plugin-import": "^2.29.0",
33-
"eslint-plugin-prettier": "^5.0.1",
32+
"eslint-plugin-import": "^2.29.1",
33+
"eslint-plugin-prettier": "^5.1.2",
3434
"gen-esm-wrapper": "^1.1.3",
3535
"husky": "^8.0.3",
3636
"lint-staged": "^15.2.0",
3737
"prettier": "^3.1.1",
38-
"tsx": "^4.6.2",
39-
"turbo": "^1.11.1",
38+
"tsx": "^4.7.0",
39+
"turbo": "^1.11.3",
4040
"typescript": "^5.3.3"
4141
},
4242
"lint-staged": {

packages/modules/.prettierignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.turbo/
2+
dist/
3+
node_modules/

packages/modules/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,16 @@
5454
},
5555
"homepage": "https://github.com/KBot-discord/plugins/tree/main/packages/modules",
5656
"dependencies": {
57-
"@sapphire/plugin-subcommands": "^6.0.1",
57+
"@sapphire/plugin-subcommands": "^6.0.2",
5858
"tslib": "^2.6.2"
5959
},
6060
"devDependencies": {
6161
"@favware/rollup-type-bundler": "^3.2.1",
62-
"@sapphire/framework": "^5.0.4",
62+
"@sapphire/framework": "^5.0.5",
6363
"concurrently": "^8.2.2",
6464
"discord.js": "^14.14.1",
6565
"tsup": "^8.0.1",
66-
"tsx": "^4.6.2",
66+
"tsx": "^4.7.0",
6767
"typescript": "^5.3.3"
6868
},
6969
"engines": {

packages/modules/src/preconditions/ModuleEnabled.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,21 @@ export class ModuleEnabledPrecondition extends Precondition {
1616
interaction: ModuleCommandInteractionUnion,
1717
command: ChatInputModuleCommand
1818
): Promise<Result<unknown, UserError>> {
19-
return this.run(interaction, command);
19+
return await this.run(interaction, command);
2020
}
2121

2222
public override async contextMenuRun(
2323
interaction: ModuleCommandInteractionUnion,
2424
command: ContextMenuModuleCommand
2525
): Promise<Result<unknown, UserError>> {
26-
return this.run(interaction, command);
26+
return await this.run(interaction, command);
2727
}
2828

2929
public override async messageRun(
3030
message: Message, //
3131
command: MessageModuleCommand
3232
): Promise<Result<unknown, UserError>> {
33-
return this.run(message, command);
33+
return await this.run(message, command);
3434
}
3535

3636
private async run(interaction: ModuleCommandInteractionUnion, command: ModuleCommandUnion): Promise<Result<unknown, UserError>> {
@@ -65,16 +65,16 @@ export class ModuleEnabledPrecondition extends Precondition {
6565
}
6666
});
6767

68-
return this.error({
68+
return await this.error({
6969
message: command.errorMessage(module.fullName, command.name)
7070
});
7171
}
7272

7373
if (result.unwrap()) {
74-
return this.ok();
74+
return await this.ok();
7575
}
7676

77-
return this.error({
77+
return await this.error({
7878
message: command.disabledMessage(module.fullName, command.name)
7979
});
8080
}

0 commit comments

Comments
 (0)