Split up into multiple packages with Lerna

Split up codebase into the packages @clsterio/lib, @clusterio/master,
@clusterio/slave, and @clusterio/ctl using lerna to manage them.  This
will allow deployment to use only the parts needed reducing install
size, and better separate the code into shared library, master, slave
and control.
This commit is contained in:
Hornwitser committed 2020-09-21 18:00:07 +02:00
1 parent 198d5c344b
commit bf5a4a8a9c
133 files changed
+367 -259

No files matched your search

@@ -1,4 +1,4 @@
const objectOps = require("lib/objectOps");
const objectOps = require("@clusterio/lib/objectOps");
const needle = require("needle");
const pluginConfig = require("./config")
const isJson = require("./isJson")
@@ -2,7 +2,7 @@ const assert = require("assert");
const child_process = require("child_process");
const functions = require("../interfacingFunctions");
const luamin = require("luamin");
const isFactorioCommand = require("lib/isFactorioCommand");
const isFactorioCommand = require("@clusterio/lib/isFactorioCommand");
const nock = require("nock");
// sinon does weird prototype manipulation and so doen't need to be saved to anything.