Resolves the 4 high-severity esbuild advisories (GHSA-gv7w-rqvm-qjhr, GHSA-g7r4-m6w7-qqqr) deferred from v0.27.0. esbuild 0.17.0-0.28.0 is vulnerable; the fix (0.28.1) is only reachable via vite 8 -- vite 7.3.3 pins esbuild ^0.27.0 and cannot reach it. Dev-server-only; the shipped static bundle was never affected. npm audit: 4 high -> 0. - vite ^7.3.3 -> ^8.0.16, @vitejs/plugin-react ^4.3.0 -> ^5.2.0, tsx ^4.16.0 -> ^4.22.4 (vitest 4.1.8 already supports vite 8) - vite 8 bundles with Rolldown: manualChunks object form -> function form (vite.config.ts) is the only source change required - Full gate chain green (typecheck, lint, knip, validate:locales, 500/500 tests, build); dev/preview + Tauri-context build verified - Bump 5 manifests 0.27.0 -> 0.27.1; CHANGELOG + stack-version docs Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
64 lines
1.8 KiB
JSON
64 lines
1.8 KiB
JSON
{
|
|
"name": "yt-desc-gen",
|
|
"version": "0.27.1",
|
|
"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/",
|
|
"lint:fix": "eslint src/ --fix",
|
|
"knip": "knip",
|
|
"typecheck": "tsc --noEmit",
|
|
"format": "prettier --write \"src/**/*.{ts,tsx,json,css}\"",
|
|
"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"
|
|
},
|
|
"dependencies": {
|
|
"@tauri-apps/api": "^2.11.0",
|
|
"@tauri-apps/plugin-dialog": "^2.0.0",
|
|
"@tauri-apps/plugin-fs": "^2.0.0",
|
|
"@tauri-apps/plugin-opener": "^2.0.0",
|
|
"@tauri-apps/plugin-shell": "^2.0.0",
|
|
"clsx": "^2.1.0",
|
|
"i18next": "^23.15.0",
|
|
"i18next-resources-to-backend": "^1.2.1",
|
|
"lucide-react": "^0.400.0",
|
|
"react": "^18.3.0",
|
|
"react-dom": "^18.3.0",
|
|
"react-hot-toast": "^2.4.0",
|
|
"react-i18next": "^15.0.0",
|
|
"react-router-dom": "^6.26.0",
|
|
"zustand": "^4.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.0.0",
|
|
"@testing-library/jest-dom": "^6.4.0",
|
|
"@testing-library/react": "^16.0.0",
|
|
"@types/react": "^18.3.0",
|
|
"@types/react-dom": "^18.3.0",
|
|
"@vitejs/plugin-react": "^5.2.0",
|
|
"autoprefixer": "^10.4.0",
|
|
"eslint": "^9.0.0",
|
|
"eslint-plugin-react-hooks": "^5.0.0",
|
|
"knip": "^6.14.1",
|
|
"postcss": "^8.5.14",
|
|
"prettier": "^3.3.0",
|
|
"prettier-plugin-tailwindcss": "^0.6.0",
|
|
"tailwindcss": "^3.4.0",
|
|
"tsx": "^4.22.4",
|
|
"typescript": "^5.5.0",
|
|
"typescript-eslint": "^8.0.0",
|
|
"vite": "^8.0.16",
|
|
"vitest": "^4.1.8"
|
|
}
|
|
}
|