mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-11 23:04:52 +09:00
Plugins had no way to update the config fields and permissions core stores for them, so renaming inventory_sync needed migrations in core packages. A plugin can now declare a migrationEntrypoint. It's loaded on the controller and hosts before configs and roles are read, for every plugin in the plugin list, and attaches handlers to sync hooks for the controller, host and instance configs and roles. lib gets helpers to rename config fields and permissions, and each config gets a hidden <plugin>.version field set after load so migrations can tell which version saved the data. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
41 lines
894 B
JSON
41 lines
894 B
JSON
{
|
|
"extends": "../../tsconfig.browser.json",
|
|
"include": [
|
|
"browser.ts",
|
|
"package.json",
|
|
"./src/api.ts",
|
|
"./src/AsyncHook.ts",
|
|
"./src/SyncHook.ts",
|
|
"./src/config/*.ts",
|
|
"./src/data/*.ts",
|
|
"./src/external/*.ts",
|
|
"./src/check_singleton_import.ts",
|
|
"./src/datastore.ts",
|
|
"./src/errors.ts",
|
|
"./src/export.ts",
|
|
"./src/factorio/exchange_string.ts",
|
|
"./src/helpers.ts",
|
|
"./src/hash.ts",
|
|
"./src/ini.ts",
|
|
"./src/is_deep_strict_equal.browser.ts",
|
|
"./src/link/*.ts",
|
|
"./src/lua_tools.ts",
|
|
"./src/logging.ts",
|
|
"./src/permissions.ts",
|
|
"./src/prometheus.ts",
|
|
"./src/loadPlugin.ts",
|
|
"./src/plugin.ts",
|
|
"./src/schema.ts",
|
|
"./src/subscriptions.ts",
|
|
"./src/zip_ops.ts",
|
|
"./src/file_ops.ts",
|
|
"./src/ExponentialBackoff.ts",
|
|
"./src/RateLimiter.ts",
|
|
"./src/TypedEventEmitter.ts",
|
|
"./src/ValueCache.ts",
|
|
],
|
|
"compilerOptions": {
|
|
"rootDir": ".",
|
|
}
|
|
}
|