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 -1
View File
@@ -1,5 +1,5 @@
"use strict";
const link = require("lib/link");
const link = require("@clusterio/lib/link");
// schema used for syncing technologies to and from the master
+2 -4
View File
@@ -1,8 +1,6 @@
"use strict";
const needle = require("needle");
const plugin = require("lib/plugin");
const luaTools = require("lib/luaTools");
const plugin = require("@clusterio/lib/plugin");
const luaTools = require("@clusterio/lib/luaTools");
function unexpectedError(err) {
+1 -1
View File
@@ -2,7 +2,7 @@
const fs = require("fs-extra");
const path = require("path");
const plugin = require("lib/plugin");
const plugin = require("@clusterio/lib/plugin");
class MasterPlugin extends plugin.BaseMasterPlugin {