add lib/index.js
This commit is contained in:
@@ -0,0 +1,21 @@
|
|||||||
|
/**
|
||||||
|
* dsh-sidebar-boost — composition bundle host entry.
|
||||||
|
*
|
||||||
|
* This package carries no logic of its own: it exists so that a single
|
||||||
|
* `dsh plugin add` installs and activates the whole sidebar suite. The
|
||||||
|
* activation rows live in `cordis.patch.yml` (each guarded against
|
||||||
|
* double-loading), and the browser-side UI comes from the `dsh.client`
|
||||||
|
* manifest field. This host entry is a minimal Cordis plugin so the bundle
|
||||||
|
* has something to load.
|
||||||
|
*/
|
||||||
|
|
||||||
|
export const name = 'dsh-sidebar-boost'
|
||||||
|
|
||||||
|
export const inject = {
|
||||||
|
optional: ['logger'],
|
||||||
|
}
|
||||||
|
|
||||||
|
export function apply(ctx) {
|
||||||
|
const log = ctx.logger ? ctx.logger('sidebar-boost') : console
|
||||||
|
log.info('sidebar suite composition loaded (components activate via cordis.patch.yml)')
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user