refactor: convert to bun workspaces monorepo

- Move web app into apps/web/
- Create packages/shared/ with shared types
- Create plugins/decky-vault/ scaffold
- Root package.json manages workspaces only
This commit is contained in:
2026-06-28 05:20:28 +08:00
parent c4bede20d4
commit cd72b7a948
345 changed files with 488 additions and 126 deletions
@@ -0,0 +1,27 @@
"use client"
import { SettingsEditor, type SettingCategory } from "@/components/wizard/settings-editor"
import { SlidersHorizontal } from "lucide-react"
interface SettingsStepProps {
value: SettingCategory[]
onChange: (value: SettingCategory[]) => void
}
export function SettingsStep({ value, onChange }: SettingsStepProps) {
return (
<div className="space-y-4">
<div className="flex items-start gap-3">
<SlidersHorizontal className="h-4 w-4 text-primary mt-0.5 flex-shrink-0" />
<div>
<h3 className="text-sm font-semibold text-text">Game Settings</h3>
<p className="text-xs text-text/60 mt-1">
Configure the in-game settings you used during testing. Add categories and settings as needed, or load defaults to get started.
</p>
</div>
</div>
<SettingsEditor value={value} onChange={onChange} />
</div>
)
}