Skip to content

Commit

Permalink
chore: bump sapphire framework to v5
Browse files Browse the repository at this point in the history
  • Loading branch information
Lutonite committed Dec 16, 2023
1 parent 4eef678 commit feda5b3
Show file tree
Hide file tree
Showing 30 changed files with 7,383 additions and 10,933 deletions.
1 change: 0 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ trim_trailing_whitespace = true
insert_final_newline = true

[*.yml]
indent_style = space
indent_size = 2
3 changes: 2 additions & 1 deletion .sapphirerc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"arguments": "arguments",
"commands": "commands",
"listeners": "listeners",
"preconditions": "preconditions"
"preconditions": "preconditions",
"interaction-handlers": "interaction-handlers"
},
"customFileTemplates": {
"enabled": false,
Expand Down
1 change: 1 addition & 0 deletions docker/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cache
12 changes: 12 additions & 0 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: '3.8'
services:
cache:
image: redis:alpine
restart: unless-stopped
ports: [ '6379:6379' ]
command: redis-server --save 60 1 --loglevel warning
volumes:
- ./cache:/data
volumes:
cache:
driver: local
10,741 changes: 0 additions & 10,741 deletions package-lock.json

This file was deleted.

114 changes: 60 additions & 54 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,86 +2,92 @@
"name": "heig-ddc-discord-bot",
"version": "1.5.0",
"private": true,
"main": "build/src/bot.js",
"main": "dist/bot.js",
"license": "MIT",
"type": "commonjs",
"scripts": {
"sapphire": "sapphire",
"generate": "sapphire generate",
"build": "tsc",
"build:watch": "tsc --watch",
"lint": "eslint src --ext ts",
"lint:fix": "npm run lint -- --fix",
"tsc:check": "tsc --noEmit",
"dev": "npm run build && NODE_ENV=development run-p build:watch start",
"dev:inspect": "npm run build && NODE_ENV=development run-p build:watch start:inspect",
"start": "node build/src/bot.js",
"start:inspect": "node --inspect build/src/bot.js",
"start": "node dist/bot.js",
"start:inspect": "node --inspect dist/bot.js",
"test": "run-p lint tsc:check",
"release": "HUSKY=0 standard-version",
"prepare": "husky install"
},
"license": "MIT",
"dependencies": {
"@sapphire/decorators": "^6.0.0",
"@sapphire/discord.js-utilities": "^6.0.2",
"@sapphire/fetch": "^2.4.1",
"@sapphire/framework": "^4.2.0",
"@sapphire/plugin-editable-commands": "^3.0.0",
"@sapphire/plugin-hmr": "^2.0.0",
"@sapphire/plugin-logger": "^3.0.1",
"@sapphire/plugin-pattern-commands": "^5.0.0",
"@sapphire/plugin-scheduled-tasks": "^6.0.0",
"@sapphire/plugin-subcommands": "^4.0.0",
"@sapphire/ratelimits": "^2.4.5",
"@sapphire/result": "^2.6.0",
"@sapphire/stopwatch": "^1.5.0",
"@sapphire/utilities": "^3.11.0",
"@twurple/api": "^6.0.3",
"@twurple/auth": "^6.0.3",
"@twurple/eventsub-ws": "^6.0.3",
"any-date-parser": "^1.5.3",
"bufferutil": "^4.0.7",
"bullmq": "^3.7.2",
"@sapphire/decorators": "^6.0.3",
"@sapphire/discord-utilities": "^3.2.1",
"@sapphire/discord.js-utilities": "^7.1.4",
"@sapphire/fetch": "^3.0.0",
"@sapphire/framework": "^5.0.4",
"@sapphire/pieces": "^4.1.0",
"@sapphire/plugin-editable-commands": "^4.0.1",
"@sapphire/plugin-hmr": "^3.0.0",
"@sapphire/plugin-logger": "^4.0.1",
"@sapphire/plugin-pattern-commands": "^6.0.1",
"@sapphire/plugin-scheduled-tasks": "^9.0.1",
"@sapphire/plugin-subcommands": "^6.0.1",
"@sapphire/ratelimits": "^2.4.8",
"@sapphire/result": "^2.6.5",
"@sapphire/stopwatch": "^1.5.1",
"@sapphire/utilities": "^3.14.0",
"@twurple/api": "^7.0.6",
"@twurple/auth": "^7.0.6",
"@twurple/eventsub-ws": "^7.0.6",
"any-date-parser": "^1.5.4",
"bufferutil": "^4.0.8",
"bullmq": "^4.15.4",
"common-tags": "^1.8.2",
"dayjs": "^1.11.7",
"discord.js": "^14.7.1",
"dotenv": "^16.0.3",
"dayjs": "^1.11.10",
"discord.js": "^14.14.1",
"dotenv": "^16.3.1",
"erlpack": "github:discord/erlpack",
"firebase-admin": "^11.5.0",
"firelord": "^2.3.6",
"ioredis": "^5.3.1",
"firebase-admin": "^11.10.1",
"firelord": "^2.7.1",
"ioredis": "^5.3.2",
"ms": "^2.1.3",
"utf-8-validate": "^6.0.2",
"zlib-sync": "^0.1.8"
"protobufjs": "^7.2.5",
"ts-proto": "^1.165.1",
"utf-8-validate": "^6.0.3",
"zlib-sync": "^0.1.9"
},
"devDependencies": {
"@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.4",
"@sapphire/ts-config": "^3.3.4",
"@types/common-tags": "^1.8.1",
"@types/ms": "^0.7.31",
"@types/node": "^18.14.1",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@sapphire/cli": "^1.9.1",
"@sapphire/ts-config": "^5.0.0",
"@twurple/eventsub-base": "^7.0.6",
"@types/common-tags": "^1.8.4",
"@types/ms": "^0.7.34",
"@types/node": "^20.10.4",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.34.0",
"eslint": "^8.56.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.6.0",
"eslint-import-resolver-node": "^0.3.7",
"eslint-import-resolver-typescript": "^3.5.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.2.1",
"firebase": "^9.17.1",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-node": "^0.3.9",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.0.1",
"firebase": "^10.7.1",
"husky": "^8.0.3",
"lint-staged": "^13.1.2",
"lint-staged": "^15.2.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.4",
"resolve.exports": "^2.0.0",
"prettier": "^3.1.1",
"resolve.exports": "^2.0.2",
"standard-version": "^9.5.0",
"typescript": "~4.9.5"
"typescript": "~5.3.3"
},
"engines": {
"node": ">=18"
},
"imports": {
"#src/*": "./build/src/*.js"
}
}
Loading

0 comments on commit feda5b3

Please sign in to comment.