add npm i fosscord-server-util to postinstall

This commit is contained in:
Flam3rboy 2021-04-09 14:00:17 +02:00
parent cf9007ddce
commit c601c328db
2 changed files with 17 additions and 1 deletions

15
package-lock.json generated
View File

@ -26,6 +26,7 @@
"missing-native-js-functions": "^1.2.6",
"mongodb": "^3.6.4",
"mongoose": "^5.12.3",
"mongoose-autopopulate": "^0.12.3",
"mongoose-long": "^0.3.2",
"multer": "^1.4.2",
"patch-package": "^6.2.2"
@ -8408,6 +8409,14 @@
"url": "https://opencollective.com/mongoose"
}
},
"node_modules/mongoose-autopopulate": {
"version": "0.12.3",
"resolved": "https://registry.npmjs.org/mongoose-autopopulate/-/mongoose-autopopulate-0.12.3.tgz",
"integrity": "sha512-yNmYsfi6OpS/GQ+48mkB0KQ199ExHmmPrt3wt3fyxPHPMtEBGts7yq3wBQR6VgKCPOQaKvCI1URbJCPOtrPeLw==",
"peerDependencies": {
"mongoose": "4.x || 5.x"
}
},
"node_modules/mongoose-legacy-pluralize": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/mongoose-legacy-pluralize/-/mongoose-legacy-pluralize-1.0.2.tgz",
@ -19159,6 +19168,12 @@
}
}
},
"mongoose-autopopulate": {
"version": "0.12.3",
"resolved": "https://registry.npmjs.org/mongoose-autopopulate/-/mongoose-autopopulate-0.12.3.tgz",
"integrity": "sha512-yNmYsfi6OpS/GQ+48mkB0KQ199ExHmmPrt3wt3fyxPHPMtEBGts7yq3wBQR6VgKCPOQaKvCI1URbJCPOtrPeLw==",
"requires": {}
},
"mongoose-legacy-pluralize": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/mongoose-legacy-pluralize/-/mongoose-legacy-pluralize-1.0.2.tgz",

View File

@ -9,7 +9,7 @@
"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"
"postinstall": "npm i github:fosscord/fosscord-server-util && patch-package"
},
"repository": {
"type": "git",
@ -39,6 +39,7 @@
"missing-native-js-functions": "^1.2.6",
"mongodb": "^3.6.4",
"mongoose": "^5.12.3",
"mongoose-autopopulate": "^0.12.3",
"mongoose-long": "^0.3.2",
"multer": "^1.4.2",
"patch-package": "^6.2.2"