Files
gpuix/examples/package.json
T
Tommy D. Rossi db3b9b4f05 Add Solid chat example, preload, and mount memory scripts
Port the chat example to @gpuix/solid under examples/solid with jsx
preserve, the Solid bunfig preload, and a matching automation driver.

examples/package.json now depends on @gpuix/solid and solid-js and
adds chat-solid. bun.lock follows that.

mem-mount.tsx (React) and examples/solid/mem-mount.tsx print mount
time plus RSS/heap for the same ChatApp so the two adapters can be
compared.

Session: ses_f3c65bfd5ffegJLklT8domWQ7B
2026-09-21 16:48:21 +02:00

40 lines
1.1 KiB
JSON

{
"name": "@gpuix/examples",
"version": "0.1.0",
"private": true,
"scripts": {
"blurred-window": "bun --hot blurred-window.tsx",
"counter": "bun --hot counter.tsx",
"diff": "bun --hot diff.tsx",
"test": "vitest run --exclude '**/*.perf.test.tsx'",
"test:perf": "vitest run chat.perf.test.tsx timeline.perf.test.tsx",
"native-text": "bun --hot native-text.tsx",
"chat": "bun --hot chat.tsx",
"chat-solid": "bun --hot solid/chat.tsx",
"infinite-chat": "bun --hot infinite-chat.tsx",
"timeline": "bun --hot timeline.tsx",
"mail": "bun --hot mail.tsx",
"compile": "bun compile-chat.ts",
"bench:serde": "bun bench-serialization.ts"
},
"dependencies": {
"@gpuix/react": "workspace:^",
"@gpuix/solid": "workspace:^",
"solid-js": "1.9.15",
"@kmamal/sdl": "^0.11.12",
"diff": "^7.0.0",
"react": "^19.2.4",
"safe-mdx": "1.14.0",
"shiki": "^3.0.0",
"string-dedent": "^3.0.2"
},
"devDependencies": {
"@types/mdast": "^4.0.4",
"@types/react": "^19.2.0",
"cbor-x": "^1.6.6",
"msgpackr": "^2.0.6",
"tsx": "^4.19.0",
"vitest": "^4.0.18"
}
}