mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 06:05:24 +00:00
feat: rebuild workspaces as the reference plugin
This commit is contained in:
1 parent
d774df8b41
commit
f217d8db89
79 files changed
+32995
-2184
No files matched your search
@@ -2,12 +2,15 @@
|
||||
|
||||
Save and restore named tab/split layouts per user.
|
||||
|
||||
Bundled with Termix and enabled by default.
|
||||
Bundled with Termix and enabled by default. This is the reference
|
||||
conversion: it imports only `@termix/plugin-sdk`, and "Converting a feature
|
||||
into a plugin" in packages/plugin-sdk/ARCHITECTURE.md points here for each step.
|
||||
|
||||
## Layout
|
||||
|
||||
manifest.json id, capabilities and what this plugin contributes
|
||||
src/backend/ activate(ctx) / deactivate(), plus the routes
|
||||
src/backend/ activate(ctx), the table, repository and routes
|
||||
migrations/ one .sql per dialect, generated from src/backend/tables.ts
|
||||
src/frontend/ the UI it registers
|
||||
locales/en.json its strings (English only; the rest are translated)
|
||||
tests/backend/ vitest, node
|
||||
@@ -18,5 +21,6 @@ Bundled with Termix and enabled by default.
|
||||
npm run build bundle into dist/
|
||||
npm run test run this plugin's tests
|
||||
npm run typecheck
|
||||
npx termix-plugin migrations <name> after changing src/backend/tables.ts
|
||||
|
||||
See packages/plugin-sdk/ARCHITECTURE.md for the contract this follows.
|
||||
Reference in new issue
Block a user