mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 06:05:24 +00:00
chore: remove references to plugin sdk ARCHITECTURE.md
This commit is contained in:
1 parent
4ce551822b
commit
fff373d5bd
46 files changed
+1008
-86
No files matched your search
@@ -16,4 +16,3 @@ npx termix-plugin sign <file.tmxplug> # needs TERMIX_PLUGIN_SIGNING_KEY
|
||||
|
||||
Start from
|
||||
[Termix-Plugin-Template](https://github.com/Termix-SSH/Termix-Plugin-Template).
|
||||
The full contract is in [ARCHITECTURE.md](./ARCHITECTURE.md).
|
||||
@@ -8,7 +8,7 @@
|
||||
"url": "git+https://github.com/Termix-SSH/Termix.git",
|
||||
"directory": "packages/plugin-sdk"
|
||||
},
|
||||
"homepage": "https://github.com/Termix-SSH/Termix/blob/main/packages/plugin-sdk/ARCHITECTURE.md",
|
||||
"homepage": "https://github.com/Termix-SSH/Termix/tree/main/packages/plugin-sdk#readme",
|
||||
"type": "module",
|
||||
"engines": {
|
||||
"node": ">=22"
|
||||
@@ -77,7 +77,6 @@
|
||||
"cli",
|
||||
"schema",
|
||||
"tsconfig.plugin.json",
|
||||
"ARCHITECTURE.md",
|
||||
"README.md"
|
||||
],
|
||||
"scripts": {
|
||||
|
||||
@@ -96,9 +96,8 @@ export interface PluginFiles {
|
||||
* Scoped by name: every table carries the p_<id>_ prefix, and `refs` exposes
|
||||
* users, ssh_data, roles and user_roles read-only so a plugin can join against
|
||||
* them without being able to write them. In-process code could reach around
|
||||
* all of this - see "What this protects, and what it does not" in
|
||||
* ARCHITECTURE.md. The capability, the prefix, lint and review are the
|
||||
* contract, not a sandbox.
|
||||
* all of this. The capability, the prefix, lint and review are the contract,
|
||||
* not a sandbox.
|
||||
*/
|
||||
export interface PluginDatabase {
|
||||
/** Registers a definition and returns its queryable table object. */
|
||||
|
||||
@@ -420,8 +420,7 @@ export interface PluginManifest {
|
||||
* never bundles them: they stay a real dependency in the plugin's own
|
||||
* package.json and are resolved from node_modules at runtime instead,
|
||||
* because esbuild bundling a native addon breaks the relative path it uses
|
||||
* to locate its compiled binary. See ARCHITECTURE.md under "native
|
||||
* dependencies".
|
||||
* to locate its compiled binary.
|
||||
*/
|
||||
nativeDependencies?: string[];
|
||||
/** How a linked desktop treats this plugin. Defaults to "mirror". */
|
||||
|
||||
@@ -6,8 +6,7 @@
|
||||
* import { pluginVitestConfig } from "@termix/plugin-sdk/vitest-preset";
|
||||
* export default pluginVitestConfig(import.meta.url);
|
||||
*
|
||||
* Two projects, matching the layout in ARCHITECTURE.md: tests/backend runs in
|
||||
* node, tests/frontend in jsdom.
|
||||
* Two projects: tests/backend runs in node, tests/frontend in jsdom.
|
||||
*/
|
||||
|
||||
import fs from "node:fs";
|
||||
|
||||
Reference in new issue
Block a user