summary refs log tree commit diff
path: root/scripts/install.js
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/install.js')
-rw-r--r--scripts/install.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/scripts/install.js b/scripts/install.js
deleted file mode 100644
index db9dadbc..00000000
--- a/scripts/install.js
+++ /dev/null
@@ -1,23 +0,0 @@
-const path = require("path");
-const fs = require("fs");
-const parts = ["api", "util", "cdn", "gateway"];
-
-const bundle = require("../package.json");
-
-for (const part of parts) {
-	const { devDependencies, dependencies } = require(path.join(
-		"..",
-		"..",
-		part,
-		"package.json"
-	));
-	bundle.devDependencies = { ...bundle.devDependencies, ...devDependencies };
-	bundle.dependencies = { ...bundle.dependencies, ...dependencies };
-	delete bundle.dependencies["@fosscord/util"];
-}
-
-fs.writeFileSync(
-	path.join(__dirname, "..", "package.json"),
-	JSON.stringify(bundle, null, "\t"),
-	{ encoding: "utf8" }
-);