feat: update this highly outdated app to use latest packages and custom configs (#1)

Reviewed-on: https://codeberg.org/nhcarrigan/tingle-bot/pulls/1
Co-authored-by: Naomi Carrigan <commits@nhcarrigan.com>
Co-committed-by: Naomi Carrigan <commits@nhcarrigan.com>
This commit is contained in:
2024-09-26 19:46:33 +00:00
committed by Naomi the Technomancer
parent 1339b63378
commit 7c0bd7ad10
74 changed files with 6348 additions and 8905 deletions

View File

@ -3,47 +3,34 @@
"version": "1.0.0",
"description": "",
"main": "index.js",
"type": "module",
"scripts": {
"build": "tsc",
"lint": "eslint src --max-warnings 0",
"start": "node -r dotenv/config prod/index.js",
"test": "ts-mocha -u tdd tests/**/*.spec.ts"
"lint": "eslint src test --max-warnings 0",
"start": "op run --env-file=./prod.env -- node prod/index.js",
"test": "vitest run --coverage"
},
"author": "",
"license": "ISC",
"license": "See license in LICENSE.md",
"engines": {
"node": "16.11.0",
"npm": "8.0.0"
"node": "20",
"pnpm": "9"
},
"devDependencies": {
"@types/chai": "^4.3.0",
"@types/mocha": "^9.1.0",
"@types/node-schedule": "^1.3.2",
"@types/sharp": "^0.29.5",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"chai": "^4.3.6",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsdoc": "^37.7.1",
"eslint-plugin-prettier": "^4.0.0",
"mocha": "^9.2.0",
"prettier": "^2.5.1",
"ts-mocha": "^9.0.2",
"typescript": "^4.5.5"
"@nhcarrigan/eslint-config": "5.0.0-rc1",
"@nhcarrigan/typescript-config": "4.0.0",
"@types/node-schedule": "2.1.7",
"@types/uuid": "10.0.0",
"@vitest/coverage-istanbul": "2.1.1",
"eslint": "9.11.1",
"typescript": "5.6.2",
"vitest": "2.1.1"
},
"dependencies": {
"@discordjs/builders": "^0.12.0",
"@discordjs/rest": "^0.3.0",
"@sentry/integrations": "^6.17.7",
"@sentry/node": "^6.17.7",
"discord.js": "^13.6.0",
"dotenv": "^16.0.0",
"node-schedule": "^2.1.0",
"sharp": "^0.30.1",
"uuid": "^8.3.2",
"winston": "^3.6.0"
"discord.js": "14.16.2",
"node-schedule": "2.1.1",
"sharp": "0.33.5",
"uuid": "10.0.0",
"winston": "3.14.2"
}
}