Skip to content

Commit 8dd8379

Browse files
committed
feat(plugin-messages): dogfood the panel in the minimal Next hub example
Mount @devframes/plugin-messages alongside the other built-in plugins in examples/minimal-next-devframe-hub, matching the Vite hub, and assert its dock registers.
1 parent 85313b0 commit 8dd8379

5 files changed

Lines changed: 9 additions & 1 deletion

File tree

examples/minimal-next-devframe-hub/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"@devframes/plugin-code-server": "workspace:*",
1818
"@devframes/plugin-git": "workspace:*",
1919
"@devframes/plugin-inspect": "workspace:*",
20+
"@devframes/plugin-messages": "workspace:*",
2021
"@devframes/plugin-terminals": "workspace:*",
2122
"colorjs.io": "catalog:frontend",
2223
"devframe": "workspace:*",

examples/minimal-next-devframe-hub/src/client/devframe/minimal-next-devframe-hub.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const BUILTIN_PLUGIN_PACKAGES = [
2929
'@devframes/plugin-code-server',
3030
'@devframes/plugin-inspect',
3131
'@devframes/plugin-a11y',
32+
'@devframes/plugin-messages',
3233
] as const
3334

3435
async function loadBuiltinPlugins(): Promise<DevframeDefinition[]> {

examples/minimal-next-devframe-hub/tests/minimal-next-devframe-hub.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ describe('minimal-next-devframe-hub (example)', () => {
3636
expect(dockIds).toContain('~terminals')
3737
expect(dockIds).toContain('~messages')
3838
expect(dockIds).toContain('~settings')
39+
// The dogfooded built-in plugin packages mount their own docks.
40+
expect(dockIds).toContain('devframes-plugin-messages')
3941
})
4042

4143
it('lists startup and demo messages through the kit-local RPC', async () => {

pnpm-lock.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

turbo.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@
6161
"@devframes/plugin-terminals#build",
6262
"@devframes/plugin-code-server#build",
6363
"@devframes/plugin-inspect#build",
64-
"@devframes/plugin-a11y#build"
64+
"@devframes/plugin-a11y#build",
65+
"@devframes/plugin-messages#build"
6566
],
6667
"outputs": ["dist/**"]
6768
},

0 commit comments

Comments
 (0)