mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
- @assistant-ui/react ^0.11.53 -> ^0.14.29, react-markdown ^0.11.9 -> ^0.14.7 - resolves @assistant-ui/tap 0.9.8, which ships the upstream fix for bulk message prepends (per-scheduler MAX_UPDATE_DEPTH guard, PR assistant-ui/assistant-ui#5370) that the local patch covered for 0.3.5 - API migration: useAssistantApi -> useAui, useAssistantState -> useAuiState with s.* selector access; TextMessagePart type-guard for content.find; portable DefaultComponentsMap annotation for memoizeMarkdownComponents Verified: tsc clean, 1762 unit tests, history-load e2e 12/12 against the unpatched upstream scheduler.
49 lines
2.4 KiB
JSON
49 lines
2.4 KiB
JSON
{
|
|
"name": "hapi",
|
|
"private": true,
|
|
"workspaces": [
|
|
"cli",
|
|
"shared",
|
|
"hub",
|
|
"web",
|
|
"website",
|
|
"docs"
|
|
],
|
|
"scripts": {
|
|
"build:site": "bun run --cwd website build && bun run --cwd docs docs:build && cp -r docs/.vitepress/dist website/dist/public/docs",
|
|
"dev": "concurrently \"bun run dev:hub\" \"bun run dev:web\" --kill-others-on-exit",
|
|
"build": "bun run build:cli && bun run build:web && (cd hub && bun run generate:embedded-web-assets) && bun run build:hub",
|
|
"build:cli": "bun run typecheck:cli",
|
|
"build:single-exe": "bun run download:tunwg && bun run build:web && (cd hub && bun run generate:embedded-web-assets) && (cd cli && bun run build:exe:allinone)",
|
|
"build:single-exe:all": "bun run download:tunwg && bun run build:web && (cd hub && bun run generate:embedded-web-assets) && (cd cli && bun run build:exe:allinone:all)",
|
|
"download:tunwg": "bun run hub/scripts/download-tunwg.ts",
|
|
"build:hub": "cd hub && bun run build",
|
|
"build:web": "cd web && bun run build",
|
|
"dev:hub": "cd hub && bun run dev",
|
|
"dev:web": "cd web && bun run dev",
|
|
"typecheck": "bun run typecheck:cli && bun run typecheck:web && bun run typecheck:hub",
|
|
"typecheck:cli": "cd cli && bun run typecheck",
|
|
"typecheck:hub": "cd hub && bun run typecheck",
|
|
"typecheck:web": "cd web && bun run typecheck",
|
|
"test": "bun run test:cli && bun run test:hub && bun run test:web && bun run test:shared",
|
|
"test:cli": "cd cli && bun run test",
|
|
"test:hub": "cd hub && bun run test",
|
|
"test:web": "cd web && bun run test",
|
|
"test:shared": "cd shared && bun run test",
|
|
"test:e2e": "playwright test",
|
|
"test:e2e:ui": "playwright test --ui",
|
|
"test:mermaid-lightbox:playwright": "timeout 600 node scripts/dev/mermaid-lightbox-playwright.mjs",
|
|
"test:mermaid-lightbox:live": "timeout 900 env HAPI_LIVE=1 playwright test -c web/playwright.live.config.ts",
|
|
"seed:mermaid-lightbox:session": "bun run scripts/dev/mermaid-lightbox-seed-session-db.ts",
|
|
"clean-session": "bun run hub/scripts/cleanup-sessions.ts",
|
|
"release-all": "cd cli && bun run release-all"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.60.0",
|
|
"concurrently": "^9.2.1",
|
|
"playwright": "1.60.0",
|
|
"react-devtools-core": "^7.0.1",
|
|
"vite-plugin-pwa": "^1.2.0"
|
|
}
|
|
}
|