mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 07:04:53 +09:00
Reorganise packages/lib
Move the majority of the script files into a src directory to be consistent with the organisation of the other packages.
This commit is contained in:
1 parent
bfe119eaa3
commit
bc574ee1cb
48 files changed
+41
-41
No files matched your search
+14
-14
@@ -1,15 +1,15 @@
|
||||
export * from "./config";
|
||||
export * from "./data";
|
||||
export * from "./errors";
|
||||
export * from "./factorio/exchange_string";
|
||||
export * from "./helpers";
|
||||
export * from "./ini";
|
||||
export * from "./link";
|
||||
export * from "./logging";
|
||||
export * from "./plugin";
|
||||
export * from "./schema";
|
||||
export * from "./users";
|
||||
export * from "./src/config";
|
||||
export * from "./src/data";
|
||||
export * from "./src/errors";
|
||||
export * from "./src/factorio/exchange_string";
|
||||
export * from "./src/helpers";
|
||||
export * from "./src/ini";
|
||||
export * from "./src/link";
|
||||
export * from "./src/logging";
|
||||
export * from "./src/plugin";
|
||||
export * from "./src/schema";
|
||||
export * from "./src/users";
|
||||
|
||||
export { default as ExponentialBackoff } from "./ExponentialBackoff";
|
||||
export { default as PlayerStats } from "./PlayerStats";
|
||||
export { default as RateLimiter } from "./RateLimiter";
|
||||
export { default as ExponentialBackoff } from "./src/ExponentialBackoff";
|
||||
export { default as PlayerStats } from "./src/PlayerStats";
|
||||
export { default as RateLimiter } from "./src/RateLimiter";
|
||||
+25
-25
@@ -4,32 +4,32 @@
|
||||
*/
|
||||
"use strict";
|
||||
const libBuildMod = require("./build_mod");
|
||||
const libCommand = require("./command");
|
||||
const libConfig = require("./config");
|
||||
const libData = require("./data");
|
||||
const libDatabase = require("./database");
|
||||
const libErrors = require("./errors");
|
||||
const libFactorio = require("./factorio");
|
||||
const libFileOps = require("./file_ops");
|
||||
const libHash = require("./hash");
|
||||
const libHelpers = require("./helpers");
|
||||
const libIni = require("./ini");
|
||||
const libLink = require("./link");
|
||||
const libLogging = require("./logging");
|
||||
const libLoggingUtils = require("./logging_utils");
|
||||
const libLuaTools = require("./lua_tools");
|
||||
const libPlugin = require("./plugin");
|
||||
const libPluginLoader = require("./plugin_loader");
|
||||
const libPrometheus = require("./prometheus");
|
||||
const libSchema = require("./schema");
|
||||
const libSharedCommands = require("./shared_commands");
|
||||
const libStream = require("./stream");
|
||||
const libUsers = require("./users");
|
||||
const libZipOps = require("./zip_ops");
|
||||
const libCommand = require("./src/command");
|
||||
const libConfig = require("./src/config");
|
||||
const libData = require("./src/data");
|
||||
const libDatabase = require("./src/database");
|
||||
const libErrors = require("./src/errors");
|
||||
const libFactorio = require("./src/factorio");
|
||||
const libFileOps = require("./src/file_ops");
|
||||
const libHash = require("./src/hash");
|
||||
const libHelpers = require("./src/helpers");
|
||||
const libIni = require("./src/ini");
|
||||
const libLink = require("./src/link");
|
||||
const libLogging = require("./src/logging");
|
||||
const libLoggingUtils = require("./src/logging_utils");
|
||||
const libLuaTools = require("./src/lua_tools");
|
||||
const libPlugin = require("./src/plugin");
|
||||
const libPluginLoader = require("./src/plugin_loader");
|
||||
const libPrometheus = require("./src/prometheus");
|
||||
const libSchema = require("./src/schema");
|
||||
const libSharedCommands = require("./src/shared_commands");
|
||||
const libStream = require("./src/stream");
|
||||
const libUsers = require("./src/users");
|
||||
const libZipOps = require("./src/zip_ops");
|
||||
|
||||
const ExponentialBackoff = require("./ExponentialBackoff");
|
||||
const PlayerStats = require("./PlayerStats");
|
||||
const RateLimiter = require("./RateLimiter");
|
||||
const ExponentialBackoff = require("./src/ExponentialBackoff");
|
||||
const PlayerStats = require("./src/PlayerStats");
|
||||
const RateLimiter = require("./src/RateLimiter");
|
||||
|
||||
|
||||
module.exports = {
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -6,7 +6,7 @@ const Jimp = require("jimp");
|
||||
const JSZip = require("jszip");
|
||||
|
||||
const libIni = require("../ini");
|
||||
const libBuildMod = require("../build_mod");
|
||||
const libBuildMod = require("../../build_mod");
|
||||
const libZipOps = require("../zip_ops");
|
||||
|
||||
/**
|
||||
@@ -35,7 +35,7 @@ async function generateExportMod(server) {
|
||||
build: true,
|
||||
pack: true,
|
||||
// XXX fix path when moving lib/factorio to host
|
||||
sourceDir: path.join(__dirname, "..", "..", "host", "lua", "export"),
|
||||
sourceDir: path.join(__dirname, "..", "..", "..", "host", "lua", "export"),
|
||||
outputDir: server.writePath("mods"),
|
||||
bumpPatch: false,
|
||||
factorioVersion: server.version.replace(/\.\d+$/, ""),
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user