Files
factorio-clusterio/test/lib
bbassieandClaude Fable 5.1 5606d5d553 Add plugin install command to controller, host and ctl
Installing a plugin used to take two steps, npm install followed by plugin
add, and both silently did their work in whatever directory they were run
from. The new plugin install <package> subcommand runs npm install --save
and then discovers the plugin through the existing loadPluginList logic,
so the plugin list is updated in the same step.

The command refuses to run outside a Clusterio installation, detected by
the package.json the installer writes or one that depends on a Clusterio
package. plugin add with a bare package name warns in the same situation.

Reinstalling a plugin that is already listed reports it as such instead of
failing. Installing a package without the clusterio-plugin keyword fails.

Fixes #1008

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-10 00:36:47 +00:00
..
2024-01-15 03:49:41 +01:00
2026-04-09 22:53:13 +02:00
2026-04-09 22:53:13 +02:00
2026-04-09 22:53:13 +02:00
2026-04-09 22:53:13 +02:00
2023-07-28 16:03:29 +02:00
2026-04-09 22:53:13 +02:00
2026-07-25 15:23:34 +01:00