tynd remove
tynd remove @acme/plugin-indexertynd remove logtynd remove fs sqlitetynd remove @acme/plugin-indexer --no-uninstalltynd remove is the inverse of tynd add. Each argument is a capability alias or a plugin package name:
- a host API (for example
log) is removed fromapis; - a plugin-backed capability (for example
fs→@tynd/plugin-fs, orsqlite→@tynd/plugin-sql) leavesapiswhen it has a host API, and its plugin package is removed; - any other argument is a plugin package: its entry leaves
plugins(string or object form).
Each removed plugin package then goes through bun remove <package> in the project root. The command edits the same config formats as tynd add and keeps their key order, indentation, line endings and comments, except YAML comments, which are lost.
| Flag | Default | Effect |
|---|---|---|
--cwd <dir> |
. |
Project directory |
--no-uninstall |
false | Edit the config only; keep the dependency in package.json |
What can go wrong
Section titled “What can go wrong”- A package argument must be a package name (
@scope/plugin-nameorplugin-name); versions, paths and flags are refused before any change. - A package that is not in
pluginsis reported asis not declared;bun removestill runs unless--no-uninstallis set. - A capability that is not in
apisis reported asis not configured. - Removing the last entry of
apisorpluginsdrops the key, sotynd removeaftertynd addleaves the config as it was. - An
apisorpluginsarray with dynamic entries (spreads, variables) is refused: edit it manually. - The command is all or nothing: if any argument fails (an invalid name,
bun remove), every project file it touched (the config,package.json, the lock file) is restored.