diff --git a/api/package-lock.json b/api/package-lock.json index 63724688..1242dc06 100644 Binary files a/api/package-lock.json and b/api/package-lock.json differ diff --git a/api/package.json b/api/package.json index 37db6ff3..dca56b1b 100644 --- a/api/package.json +++ b/api/package.json @@ -10,7 +10,9 @@ "start": "npm run build && node dist/start", "build": "npx tsc -b .", "build-docker": "tsc -p tsconfig-docker.json", - "dev": "tsnd --respawn src/start.ts" + "dev": "tsnd --respawn src/start.ts", + "patch": "patch-package", + "postinstall": "npm run patch" }, "repository": { "type": "git", @@ -52,7 +54,8 @@ "saslprep": "^1.0.3", "ts-node": "^9.1.1", "ts-node-dev": "^1.1.6", - "typescript": "^4.4.2" + "typescript": "^4.4.2", + "typescript-json-schema": "^0.50.1" }, "dependencies": { "@fosscord/util": "file:../util", @@ -81,6 +84,7 @@ "mongoose-long": "^0.3.2", "multer": "^1.4.2", "node-fetch": "^2.6.1", + "patch-package": "^6.4.7", "supertest": "^6.1.6", "typeorm": "^0.2.37" }, diff --git a/bundle/package.json b/bundle/package.json index 63945135..29608663 100644 --- a/bundle/package.json +++ b/bundle/package.json @@ -52,7 +52,6 @@ "async-exit-hook": "^2.0.1", "express": "^4.17.1", "missing-native-js-functions": "^1.2.13", - "mongodb-memory-server": "^7.3.6", "node-os-utils": "^1.3.5" } }