diff --git a/package-lock.json b/package-lock.json index d6182d2b..b3f364c1 100644 Binary files a/package-lock.json and b/package-lock.json differ diff --git a/package.json b/package.json index f0b540e7..dd53f63d 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,9 @@ "scripts": { "test": "jest", "test:watch": "jest --watch", - "start": "npm run build && node dist/", + "start": "npm run build:util && npm run build && node dist/", "build": "tsc -b .", + "build:util": "tsc -b ./node_modules/fosscord-server-util/", "postinstall": "patch-package" }, "repository": { @@ -37,6 +38,7 @@ "lambert-server": "^1.0.10", "missing-native-js-functions": "^1.2.4", "mongodb": "^3.6.4", + "mongoose": "^5.12.3", "mongoose-long": "^0.3.2", "multer": "^1.4.2", "patch-package": "^6.2.2" diff --git a/tsconfig.json b/tsconfig.json index 97773b99..0976d3f7 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,5 @@ { - "include": ["src/"], + "include": ["src/**/*.ts"], "compilerOptions": { /* Visit https://aka.ms/tsconfig.json to read more about this file */