Files
loki/package.json
T
g-butandClaude Sonnet 4.6 27d9ce0171 feat(thoughts): add image and Mermaid diagram support to parser and renderer
- Parser: new 'image' block (![alt](src)) and 'code' block (fenced backtick blocks)
  Paragraph accumulator breaks on backtick fences and ![ so neither leaks into prose
- MermaidDiagram client component: dynamic mermaid import, dark theme matching
  Cockpit surface colors; SVG inline; falls back to raw text on render error
- Page: Next.js Image for image blocks with figcaption; MermaidDiagram for mermaid
  fenced blocks; pre/code for all other lang tags
- Images convention: /public/thoughts/{slug}/, referenced as /thoughts/{slug}/file

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-08 17:42:45 +02:00

51 lines
1.3 KiB
JSON

{
"name": "cockpit",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"migrate": "drizzle-kit push",
"lint": "eslint",
"check:design": "bash scripts/check-design-system.sh",
"smoke": "bash scripts/smoke.sh",
"prepare": "husky"
},
"dependencies": {
"@auth/drizzle-adapter": "^1.11.2",
"@base-ui/react": "^1.3.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"date-fns": "^4.1.0",
"drizzle-orm": "^0.45.2",
"lucide-react": "^1.7.0",
"mermaid": "^11.14.0",
"next": "16.2.4",
"next-auth": "^5.0.0-beta.31",
"next-themes": "^0.4.6",
"postgres": "^3.4.8",
"react": "19.2.4",
"react-dom": "19.2.4",
"shadcn": "^4.1.2",
"tailwind-merge": "^3.5.0",
"tw-animate-css": "^1.4.0",
"zod": "^4.3.6"
},
"devDependencies": {
"@tailwindcss/postcss": "^4",
"@types/better-sqlite3": "^7.6.13",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"better-sqlite3": "^12.8.0",
"drizzle-kit": "^0.31.10",
"eslint": "^9",
"eslint-config-next": "16.2.4",
"husky": "^9.1.7",
"tailwindcss": "^4",
"tsx": "^4.21.0",
"typescript": "^5"
}
}