Files
sexy/package.json
T
valknarandClaude Sonnet 5 0bd36b08c9
CI / Static checks (push) Successful in 1m0s
CI / Build and push image (push) Successful in 1m3s
Upgrade to buttplug v5, add battery level display, bump to 0.2.0
buttplug-wasm@3.0.0 still declares buttplug@^4.0.2 as its dependency,
and v5 changed the OutputCmd wire shape (Value: number[] -> number) -
a real protocol difference, not just a type mismatch. Confirmed by
testing against real Lovense hardware that device control still works
in practice, so the bump stands; the risk is documented at the
client.connect() cast in case a future device/build doesn't fare as
well.

Also fixes a Map vs ReadonlyMap mismatch in the version-agnostic
feature-type extraction (v4 returns Map, v5 returns ReadonlyMap) that
surfaced while making this change, and adds a battery indicator to each
connected device's card - reads once on connect, refreshes every 60s,
using device.hasInput("Battery") to detect support.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W8WkFF5ppURBAB918593Eb
2026-08-25 17:33:48 +02:00

49 lines
1.2 KiB
JSON

{
"name": "sexy",
"version": "0.2.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "NODE_ENV=production next start",
"lint": "eslint",
"db:generate": "drizzle-kit generate",
"db:migrate": "drizzle-kit migrate"
},
"dependencies": {
"better-sqlite3": "^13.0.3",
"buttplug": "^5.0.1",
"buttplug-wasm": "^3.0.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"drizzle-orm": "^0.45.2",
"jose": "^6.2.10",
"lucide-react": "^1.33.0",
"next": "16.3.2",
"next-themes": "^0.4.6",
"radix-ui": "^1.6.7",
"react": "19.2.8",
"react-dom": "19.2.8",
"recharts": "3.8.0",
"shadcn": "^4.19.0",
"sonner": "^2.0.8",
"tailwind-merge": "^3.6.0",
"tw-animate-css": "^1.4.0",
"zod": "^4.4.3",
"zustand": "^5.0.15"
},
"devDependencies": {
"@tailwindcss/postcss": "^4",
"@types/better-sqlite3": "^7.6.13",
"@types/node": "^22",
"@types/react": "^19",
"@types/react-dom": "^19",
"drizzle-kit": "^0.31.10",
"eslint": "^9",
"eslint-config-next": "16.3.2",
"tailwindcss": "^4",
"typescript": "^5"
},
"packageManager": "pnpm@11.21.0"
}