A new, compact interface on Radix primitives, Motion, cmdk and sonner. Design system - Tokens for surfaces, text, accent and states in dark and light, used everywhere (no more hard-coded red/yellow/pink); Inter and JetBrains Mono self-hosted; compact controls that grow to 44px on touch screens. - Primitives rebuilt on Radix: Button, IconButton (cannot render without a name), Field/Input/Select/Textarea (labels wired to controls; the ten selects that shared id="type" are gone), Switch, Checkbox, Tabs, SegmentedControl, Accordion (closed content is inert), Dialog, AlertDialog, Sheet, Popover, Tooltip, Card, Badge, Banner, EmptyState, PageHeader, NumberField. - Animated icons (copy→check, sun↔moon, hover micro-motion on the nav) that follow the OS reduce-motion setting. App shell - Collapsible sidebar with grouped pages and a sliding active marker; top bar with the command palette, output/interface language, theme and donate; on phones a bottom bar with four pages plus "More". - Ctrl/⌘+K command palette: go anywhere, copy title/description/tags, apply a profile/preset/template, switch theme or languages. - Skip link, one h1 per page, <main> focusable; toasts no longer share a corner with three other floating elements. Pages - Editor: two columns with a sticky live preview (tabs, counters, copy) or a sheet on phones; sections reordered so video type and game come first; genres are a searchable picker instead of a wall of 42 chips; expand/collapse all; a button to the Output page. - Output: a YouTube preview (what search results and the "…more" fold show), language tabs, Copy All in the header (floating on phones). - Profiles/presets/templates share one card with Apply + Undo; History, Logs, Batch, Social, Playlist, Settings, About, Legal, the consent screen and the error pages all use the same primitives. Fixes - Ctrl/⌘+Shift+C ignored the YouTube limits and Strict Mode. - Number settings clamped on every keystroke; they now save on blur. - Hard-coded English on Playlist, Batch, Logs, Profiles and Settings. - Flags as language icons (Windows shows letters) → native name + code. - The consent screen could not change language or theme. - About: dead Discord invite removed; contact addresses by purpose. - Desktop window is resizable (1280×820, min 960×640). Initial load 262 KB gzip (budget 280): the command palette, the genre list and the Output page load on demand. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
87 lines
2.9 KiB
JSON
87 lines
2.9 KiB
JSON
{
|
|
"name": "yt-desc-gen",
|
|
"version": "0.38.0",
|
|
"private": true,
|
|
"license": "Apache-2.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc && vite build",
|
|
"preview": "vite preview",
|
|
"test": "vitest",
|
|
"test:run": "vitest run",
|
|
"test:coverage": "vitest run --coverage",
|
|
"lint": "eslint src/ tests/ scripts/ worker/ build-plugins/",
|
|
"lint:fix": "eslint src/ tests/ scripts/ worker/ build-plugins/ --fix",
|
|
"knip": "knip",
|
|
"typecheck": "tsc --noEmit",
|
|
"typecheck:all": "tsc --noEmit -p tsconfig.check.json",
|
|
"format": "prettier --write \"{src,tests,scripts,worker,build-plugins}/**/*.{ts,tsx,css}\"",
|
|
"format:check": "prettier --check \"{src,tests,scripts,worker,build-plugins}/**/*.{ts,tsx,css}\"",
|
|
"check:version": "tsx scripts/check-version-sync.ts",
|
|
"validate:locales": "tsx scripts/validate-locales.ts",
|
|
"generate:locale": "tsx scripts/generate-locale-template.ts",
|
|
"tauri": "tauri",
|
|
"tauri:dev": "tauri dev",
|
|
"tauri:build": "tauri build",
|
|
"generate:brand": "tsx scripts/generate-brand-assets.ts",
|
|
"cf:dev": "wrangler dev",
|
|
"cf:check": "wrangler deploy --dry-run --outdir .wrangler/dry-run",
|
|
"check:tauri": "tsx scripts/check-tauri-versions.ts",
|
|
"check:bundle": "tsx scripts/check-bundle-size.ts",
|
|
"check:licenses": "tsx scripts/third-party.ts",
|
|
"generate:third-party": "tsx scripts/third-party.ts --write"
|
|
},
|
|
"dependencies": {
|
|
"@fontsource-variable/inter": "^5.3.0",
|
|
"@fontsource-variable/jetbrains-mono": "^5.3.0",
|
|
"@tauri-apps/api": "^2.12.0",
|
|
"@tauri-apps/plugin-dialog": "^2.8.0",
|
|
"@tauri-apps/plugin-fs": "^2.6.0",
|
|
"@tauri-apps/plugin-opener": "^2.7.0",
|
|
"@tauri-apps/plugin-shell": "^2.4.0",
|
|
"clsx": "^2.1.1",
|
|
"cmdk": "^1.1.1",
|
|
"i18next": "^26.4.2",
|
|
"i18next-resources-to-backend": "^1.2.3",
|
|
"lucide-react": "^1.49.0",
|
|
"motion": "^13.4.6",
|
|
"radix-ui": "^1.6.7",
|
|
"react": "^19.3.0",
|
|
"react-dom": "^19.3.0",
|
|
"react-i18next": "^17.0.15",
|
|
"react-router-dom": "^7.18.4",
|
|
"simple-icons": "^16.33.0",
|
|
"sonner": "^2.0.8",
|
|
"zustand": "^5.0.15"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@resvg/resvg-js": "2.6.2",
|
|
"@tailwindcss/postcss": "^4.3.3",
|
|
"@tauri-apps/cli": "2.12.0",
|
|
"@testing-library/jest-dom": "^7.0.1",
|
|
"@testing-library/react": "^16.3.3",
|
|
"@types/node": "^26.6.3",
|
|
"@types/react": "^19.3.0",
|
|
"@types/react-dom": "^19.3.0",
|
|
"@vitejs/plugin-react": "^6.1.1",
|
|
"@vitest/coverage-v8": "^4.1.11",
|
|
"autoprefixer": "^10.6.1",
|
|
"eslint": "^10.11.0",
|
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
"knip": "^6.38.0",
|
|
"marked": "18.0.14",
|
|
"postcss": "^8.5.28",
|
|
"prettier": "^3.9.9",
|
|
"prettier-plugin-tailwindcss": "^0.8.1",
|
|
"tailwindcss": "^4.3.3",
|
|
"tsx": "^4.23.15",
|
|
"typescript": "^5.9.3",
|
|
"typescript-eslint": "^8.71.0",
|
|
"vite": "^8.3.1",
|
|
"vitest": "^4.1.11",
|
|
"wrangler": "4.144.0"
|
|
}
|
|
}
|