mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 23:04:52 +09:00
Move BaseControllerPlugin to controller/src/BaseControllerPlugin.ts Move BaseInstancePlugin to host/src/BaseInstancePlugin.ts Move BaseControlPlugin to ctl/src/BaseCtlPlugin.ts Move BaseWebPlugin to web_ui/src/BaseWebPlugin.ts This solves the circular package dependency problem of the base plugins needing types that are available only in the dependencies to lib.
10 lines
360 B
TypeScript
10 lines
360 B
TypeScript
import { bootstrap } from "./controller";
|
|
export { default as Controller } from "./src/Controller";
|
|
export { default as ControlConnection } from "./src/ControlConnection";
|
|
export { default as InstanceInfo } from "./src/InstanceInfo";
|
|
export { default as BaseControllerPlugin } from "./src/BaseControllerPlugin";
|
|
|
|
if (module === require.main) {
|
|
bootstrap();
|
|
}
|