Skip to content

Commit

Permalink
Merge pull request #306 from na2na-p/topic/vc
Browse files Browse the repository at this point in the history
VC周り
  • Loading branch information
na2na-p authored Dec 4, 2023
2 parents 6cf37a3 + 3849436 commit e2605aa
Show file tree
Hide file tree
Showing 40 changed files with 1,435 additions and 1,770 deletions.
3 changes: 1 addition & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
],
"root": true,
"env": {
"node": true,
"jest": true
"node": true
},
"ignorePatterns": [
".eslintrc.js"
Expand Down
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
nodejs 20.9.0
pnpm 8.10.5
python 3.11.6
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
},
"cSpell.words": [
"jetdisc",
"libsodium",
"swcrc"
]
}
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Discord Bot

# 必要なもの

.tool-versionsを参照してください。
asdfを使っている場合はそのまま入ります。

- Node.js
- pnpm
- Python

Pythonは、`@discordjs/opus`の入れるのに必要です。
32 changes: 0 additions & 32 deletions jest.config.js

This file was deleted.

18 changes: 10 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,37 +12,39 @@
"lint:fix": "yarn lint --fix",
"fmt": "prettier --config ./.prettierrc --list-different \"src/**/*.{js,json,ts,tsx,css,md}\"",
"fmt:fix": "yarn fmt --write",
"test": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js",
"test:coverage": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --coverage --silent",
"test:watch": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --watch"
"test": "vitest src/",
"test:coverage": "vitest src/ --coverage --silent"
},
"keywords": [],
"author": "",
"license": "MIT",
"devDependencies": {
"@jest/globals": "^29.7.0",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.96",
"@swc/jest": "^0.2.29",
"@tsconfig/strictest": "^2.0.2",
"@types/jest": "^29.5.8",
"@types/lodash-es": "^4.17.11",
"@types/node": "^20.9.0",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"@vitest/coverage-v8": "^0.34.6",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.0",
"jest": "^29.7.0",
"prettier": "^3.0.3",
"tsx": "^4.1.1",
"typescript": "^5.2.2"
"typescript": "^5.2.2",
"vitest": "^0.34.6"
},
"dependencies": {
"@discordjs/opus": "^0.9.0",
"@discordjs/voice": "^0.16.1",
"@t3-oss/env-core": "^0.7.1",
"chalk": "^5.3.0",
"discord.js": "^14.14.1",
"dotenv": "^16.3.1",
"eslint": "^8.53.0",
"libsodium-wrappers": "^0.7.13",
"lodash-es": "^4.17.21",
"resolve": "^1.22.8",
"zod": "^3.22.4"
}
Expand Down
Loading

0 comments on commit e2605aa

Please sign in to comment.