chore: update deps

This commit is contained in:
xHyroM 2022-08-12 20:09:24 +02:00
parent 77e4c64e16
commit 7abc71d4e5
3 changed files with 4 additions and 4 deletions

BIN
bun.lockb

Binary file not shown.

View file

@ -7,11 +7,11 @@
"cloudflare:tunnel": "sudo cloudflared tunnel run" "cloudflare:tunnel": "sudo cloudflared tunnel run"
}, },
"devDependencies": { "devDependencies": {
"bun-types": "^0.1.2" "bun-types": "^0.1.8"
}, },
"dependencies": { "dependencies": {
"@discordjs/collection": "^0.7.0", "@discordjs/collection": "^0.7.0",
"bun-utilities": "^0.1.3", "bun-utilities": "^0.2.1",
"create-hmac": "^1.1.7", "create-hmac": "^1.1.7",
"discord-api-types": "^0.36.1", "discord-api-types": "^0.36.1",
"hono": "^1.6.4", "hono": "^1.6.4",

View file

@ -1,8 +1,8 @@
import { InteractionResponseType, MessageFlags } from 'discord-api-types/v10'; import { InteractionResponseType, MessageFlags } from 'discord-api-types/v10';
import { Command } from '../structures/Command'; import { Command } from '../structures/Command';
import { exec } from 'bun-utilities'; import { exec } from 'bun-utilities/spawn';
const commitHash = (await exec(['git', 'log', '--pretty=format:\'%h\'', '-n', '1'])).stdout.replaceAll('\'', ''); const commitHash = exec(['git', 'log', '--pretty=format:\'%h\'', '-n', '1']).stdout.replaceAll('\'', '');
new Command({ new Command({
name: 'version', name: 'version',