summary refs log tree commit diff
path: root/bundle
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-23 16:03:50 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-23 16:03:50 +0200
commitc398c1512e86bccda737fef188e97956b50cdfb5 (patch)
tree170778232ba79da4cdda1b6e6af0c3c07a57a0cc /bundle
parent:sparkles: example value in documentation (diff)
downloadserver-c398c1512e86bccda737fef188e97956b50cdfb5.tar.xz
:bug: fix (pre) install scripts
Diffstat (limited to 'bundle')
-rw-r--r--bundle/package-lock.json16
-rw-r--r--bundle/package.json2
2 files changed, 15 insertions, 3 deletions
diff --git a/bundle/package-lock.json b/bundle/package-lock.json
index 0ed6b03a..aaa0c1ee 100644
--- a/bundle/package-lock.json
+++ b/bundle/package-lock.json
@@ -64,7 +64,7 @@
 				"express": "^4.17.1",
 				"express-validator": "^6.9.2",
 				"form-data": "^3.0.0",
-				"i18next": "^19.8.5",
+				"i18next": "^19.9.2",
 				"i18next-http-middleware": "^3.1.3",
 				"i18next-node-fs-backend": "^2.1.3",
 				"jsonwebtoken": "^8.5.1",
@@ -90,6 +90,7 @@
 				"@types/express": "^4.17.9",
 				"@types/i18next-node-fs-backend": "^2.1.0",
 				"@types/jest": "^27.0.1",
+				"@types/jest-expect-message": "^1.0.3",
 				"@types/jsonwebtoken": "^8.5.0",
 				"@types/mongodb": "^3.6.9",
 				"@types/mongoose": "^5.10.5",
@@ -105,6 +106,8 @@
 				"caxa": "^2.1.0",
 				"image-size": "^1.0.0",
 				"jest": "^26.6.3",
+				"jest-expect-message": "^1.0.2",
+				"jest-runtime": "^27.2.1",
 				"saslprep": "^1.0.3",
 				"ts-node": "^9.1.1",
 				"ts-node-dev": "^1.1.6",
@@ -116,6 +119,7 @@
 		"../cdn": {
 			"name": "@fosscord/cdn",
 			"version": "1.0.0",
+			"hasInstallScript": true,
 			"license": "ISC",
 			"dependencies": {
 				"@fosscord/util": "file:../util",
@@ -154,12 +158,14 @@
 				"@types/node": "^14.17.0",
 				"@types/node-fetch": "^2.5.7",
 				"@types/uuid": "^8.3.0",
+				"@zerollup/ts-transform-paths": "^1.7.18",
 				"ts-patch": "^1.4.4"
 			}
 		},
 		"../gateway": {
 			"name": "@fosscord/gateway",
 			"version": "1.0.0",
+			"hasInstallScript": true,
 			"license": "ISC",
 			"dependencies": {
 				"@fosscord/util": "file:../util",
@@ -185,6 +191,7 @@
 				"@types/node-fetch": "^2.5.12",
 				"@types/uuid": "^8.3.0",
 				"@types/ws": "^7.4.0",
+				"@zerollup/ts-transform-paths": "^1.7.18",
 				"ts-node-dev": "^1.1.6",
 				"ts-patch": "^1.4.4",
 				"typescript": "^4.2.3"
@@ -1692,6 +1699,7 @@
 				"@types/express": "^4.17.9",
 				"@types/i18next-node-fs-backend": "^2.1.0",
 				"@types/jest": "^27.0.1",
+				"@types/jest-expect-message": "^1.0.3",
 				"@types/jsonwebtoken": "^8.5.0",
 				"@types/mongodb": "^3.6.9",
 				"@types/mongoose": "^5.10.5",
@@ -1720,11 +1728,13 @@
 				"express": "^4.17.1",
 				"express-validator": "^6.9.2",
 				"form-data": "^3.0.0",
-				"i18next": "^19.8.5",
+				"i18next": "^19.9.2",
 				"i18next-http-middleware": "^3.1.3",
 				"i18next-node-fs-backend": "^2.1.3",
 				"image-size": "^1.0.0",
 				"jest": "^26.6.3",
+				"jest-expect-message": "^1.0.2",
+				"jest-runtime": "^27.2.1",
 				"jsonwebtoken": "^8.5.1",
 				"lambert-server": "^1.2.10",
 				"missing-native-js-functions": "^1.2.15",
@@ -1764,6 +1774,7 @@
 				"@types/node": "^14.17.0",
 				"@types/node-fetch": "^2.5.7",
 				"@types/uuid": "^8.3.0",
+				"@zerollup/ts-transform-paths": "^1.7.18",
 				"body-parser": "^1.19.0",
 				"btoa": "^1.2.1",
 				"cheerio": "^1.0.0-rc.5",
@@ -1799,6 +1810,7 @@
 				"@types/node-fetch": "^2.5.12",
 				"@types/uuid": "^8.3.0",
 				"@types/ws": "^7.4.0",
+				"@zerollup/ts-transform-paths": "^1.7.18",
 				"ajv": "^8.5.0",
 				"amqplib": "^0.8.0",
 				"dotenv": "^8.2.0",
diff --git a/bundle/package.json b/bundle/package.json
index 4b4e8286..c2b6851e 100644
--- a/bundle/package.json
+++ b/bundle/package.json
@@ -5,7 +5,7 @@
 	"main": "src/start.js",
 	"scripts": {
 		"prepare": "ts-patch install -s",
-		"preinstall": "cd ../util && npm i && cd ../api && npm i && cd ../cdn && npm i && cd ../gateway && npm i",
+		"preinstall": "cd ../util && npm --production=false i && cd ../api && npm --production=false i && cd ../cdn && npm --production=false i && cd ../gateway && npm --production=false i",
 		"build": "npm run build:util && npm run build:api && npm run build:cdn && npm run build:gateway && npm run build:bundle",
 		"build:bundle": "npx tsc -b .",
 		"build:util": "cd ../util/ && npm run build",