From 2fe7530cd4cb04b6983133c54b03fe6cd95a0365 Mon Sep 17 00:00:00 2001 From: LukeGus Date: Tue, 13 Oct 2026 16:33:20 -0500 Subject: [PATCH] chore: update paths for renamed local folders --- CONTRIBUTING.md | 2 +- scripts/build-plugins.cjs | 2 +- scripts/dev.mjs | 6 ++---- scripts/lib/dev-runner.mjs | 2 +- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7771685cd..7fa44b80a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -25,7 +25,7 @@ Termix is a small core plus plugins. This repo is the core: hosts, credentials, npm run dev ``` -This builds everything, starts the backend and then the Vite server at `http://localhost:5173/`. Backend changes restart the backend, and plugin changes in `../Termix-Plugins` rebuild and reload that plugin. `npm run dev:electron` does the same with the desktop app, and `npm run dev -- --help` lists the other options. +This builds everything, starts the backend and then the Vite server at `http://localhost:5173/`. Backend changes restart the backend, and plugin changes in `../Plugins` rebuild and reload that plugin. `npm run dev:electron` does the same with the desktop app, and `npm run dev -- --help` lists the other options. ## Useful commands diff --git a/scripts/build-plugins.cjs b/scripts/build-plugins.cjs index 1a585d11a..f441490e8 100644 --- a/scripts/build-plugins.cjs +++ b/scripts/build-plugins.cjs @@ -7,7 +7,7 @@ * pinned sha256 and unpacked. * * For development, `--local ` (or TERMIX_LOCAL_PLUGINS) points at a - * folder of plugin repos like ../Termix-Plugins. A plugin there whose sources + * folder of plugin repos like ../Plugins. A plugin there whose sources * changed since its last build is rebuilt first with this checkout's SDK, so * SDK edits apply without publishing, then any built one (has * dist/) is copied in place of its pin, or added when it has no pin. diff --git a/scripts/dev.mjs b/scripts/dev.mjs index 0b97b69d6..9d4474a27 100644 --- a/scripts/dev.mjs +++ b/scripts/dev.mjs @@ -3,7 +3,7 @@ * and options. * * Every target builds the SDK and stages plugins (local builds from - * ../Termix-Plugins when it exists), then: + * ../Plugins when it exists), then: * * - web: compiles the backend in watch mode, starts it, then starts Vite. A * backend or SDK change restarts the backend. A plugin change rebuilds that @@ -652,9 +652,7 @@ async function main() { const pluginsDir = options.local ? path.resolve( root, - options.pluginsDir ?? - process.env.TERMIX_LOCAL_PLUGINS ?? - "../Termix-Plugins", + options.pluginsDir ?? process.env.TERMIX_LOCAL_PLUGINS ?? "../Plugins", ) : null; const localPlugins = diff --git a/scripts/lib/dev-runner.mjs b/scripts/lib/dev-runner.mjs index 20128c757..13a2a074a 100644 --- a/scripts/lib/dev-runner.mjs +++ b/scripts/lib/dev-runner.mjs @@ -122,7 +122,7 @@ Targets docker Build the production image and run it with your local plugins Options - --plugins Plugin repos to build and watch (default ../Termix-Plugins) + --plugins Plugin repos to build and watch (default ../Plugins) --no-local Use only the plugins pinned in docker/bundled-plugins.json --db sqlite (default), postgres or mysql. Postgres and MySQL run in Docker --guacd Run guacd in Docker for remote desktop