Files
paseo/plugin-examples/settings/index.server.ts
T
Mohamed Boudra ae80ec4252 Let plugins contribute settings screens (#4357)
* feat(plugins): contribute settings screens and shared controls

* fix(plugins): localize settings and verify shared UI consumers

* test(composer): unmount draft test roots after each case

* test(app): keep launch terminals alive until cleanup

The fixed ten-second profile lifetime could expire before a busy CI browser attached or finished revisiting the composer. Keep the real process waiting for input until project teardown terminates it.

* test(server): await the initial snapshot before a buffered ref event

Watcher setup can read checkout facts before the initial refresh publishes a snapshot. Wait for publication before injecting the event so the test consistently exercises a second refresh.
2026-09-06 10:22:26 +02:00

8 lines
241 B
TypeScript

import type { PluginServerContext } from "@getpaseo/plugin";
import { preferences } from "./shared/preferences";
export default function contribute(server: PluginServerContext) {
server.registerSettings(preferences);
return () => {};
}