mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-23 08:23:12 +09:00
Add checkEnabled and rename plugin loading files
plugins.checkEnabled(name) tells if a plugin is in the load list. #plugin_module is renamed to #import_plugin. loadPluginMigrations moves into PluginLoader.ts, leaving plugin_loader.ts with plugin discovery and details, so it is renamed to plugin_info.ts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
68c5ea82e7
commit
47c84fc289
12 files changed
+118
-101
No files matched your search
@@ -38,12 +38,12 @@
|
||||
},
|
||||
"import": "./src/zlib_sync.browser.ts"
|
||||
},
|
||||
"#plugin_module": {
|
||||
"#import_plugin": {
|
||||
"node": {
|
||||
"types": "./src/plugin_module.node.ts",
|
||||
"default": "./dist/node/src/plugin_module.node.js"
|
||||
"types": "./src/import_plugin.node.ts",
|
||||
"default": "./dist/node/src/import_plugin.node.js"
|
||||
},
|
||||
"import": "./src/plugin_module.browser.ts"
|
||||
"import": "./src/import_plugin.browser.ts"
|
||||
},
|
||||
"#is_deep_strict_equal": {
|
||||
"node": {
|
||||
|
||||
Reference in new issue
Block a user