Repository navigation
Adds createWorker to @skeld/core and moves all four packages to 0.4.5.
createWorker, from @skeld/core/worker, runs a service's plugins without an HTTP listener. It registers and boots plugins and a gate as a server does, and opens no port. A migration script, a background process or a command-line tool can then use the same database handle, logger and shutdown as the service. A worker has no listen, routes or hooks, and a plugin that declares a route makes start() reject, so it cannot serve by mistake. close() runs every onClose callback in reverse order, as on a server. The framework adds no signal handler; the guide shows how to wire SIGTERM and SIGINT to close.
@skeld/core also fixes a detail in logging. With errorFrames: true, an error logged while a plugin or the gate was still booting kept the process's working directory in its stack frames. The directory is now removed from the first record on.
The data example has a migration script built on createWorker, and its service no longer creates its own tables.
@skeld/auth, @skeld/openapi and @skeld/data are unchanged in behavior. @skeld/openapi needs @skeld/core ^0.4.5.
Install: npm install @skeld/core@0.4.5