Merge pull request #516 from VermiumSifell/main

Updated npm packages
This commit is contained in:
Axel Olausson Holtenäs 2022-12-13 14:01:45 +01:00 committed by GitHub
commit c59feb91a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 479 additions and 7261 deletions

View file

@ -33,5 +33,5 @@
"[prisma]": {
"editor.defaultFormatter": "Prisma.prisma"
},
"conventionalCommits.scopes": ["git", "github"]
"conventionalCommits.scopes": ["git", "github", "npm"]
}

View file

@ -1,4 +1,4 @@
FROM node:19 AS builder
FROM node:19-alpine AS builder
# Create app directory
WORKDIR /app

7708
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
{
"name": "xyter",
"version": "v1.1.0",
"version": "v1.1.1",
"description": "Earn credits while chatting! And more",
"main": "dist/index.js",
"scripts": {
@ -33,26 +33,26 @@
"email": "vermium@zyner.org"
},
"dependencies": {
"@prisma/client": "^4.5.0",
"@prisma/client": "^4.7.1",
"@types/i18next-fs-backend": "^1.1.2",
"axios": "^1.0.0",
"chance": "^1.1.8",
"axios": "^1.2.1",
"chance": "^1.1.9",
"date-fns": "^2.29.3",
"discord.js": "^14.0.0",
"dotenv": "^16.0.1",
"discord.js": "^14.7.1",
"dotenv": "^16.0.3",
"node-schedule": "^2.1.0",
"typescript": "^4.8.4",
"typescript": "^4.9.4",
"uuid": "^9.0.0",
"winston": "^3.8.2",
"winston-daily-rotate-file": "^4.6.1"
"winston-daily-rotate-file": "^4.7.1"
},
"devDependencies": {
"@types/chance": "1.1.3",
"@types/node-schedule": "2.1.0",
"@types/uuid": "9.0.0",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"eslint": "^8.26.0",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@typescript-eslint/parser": "^5.46.1",
"eslint": "^8.29.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-no-loops": "0.3.0",
@ -60,7 +60,7 @@
"lint-staged": "13.0.4",
"nodemon": "2.0.20",
"prettier": "2.8.0",
"prisma": "^4.5.0",
"prisma": "^4.7.1",
"semantic-release": "^19.0.5"
},
"lint-staged": {

View file

@ -73,8 +73,8 @@ export default {
logger.silly(createGuildMember);
const reputationType = async (reputation: number) => {
if (reputation > 0) return `negative reputation of ${reputation}`;
if (reputation < 0) return `positive reputation of ${reputation}`;
if (reputation < 0) return `negative reputation of ${reputation}`;
if (reputation > 0) return `positive reputation of ${reputation}`;
return "neutral reputation";
};