The first SonarQube Cloud scan reported 57 issues. 45 are fixed in code, the 11 on the saved itch.io test pages leave the scan via .sonarcloud.properties, and css:S8776 (Tailwind's @utility nesting) is a false positive to mark on SonarQube Cloud. Worker: trailing slashes and the gate cookie's padding are trimmed by trimEnd() instead of /\/+$/ (quadratic on the public 404 path); the feed and collection parsers lose their backtracking regexes; compareCodeUnits keeps the code-unit sorts (the rule's localeCompare is locale-dependent); Number.*, DEFAULT_SIZES, crypto.randomUUID; i18n-edit.mjs reads stdin. Pipeline: the NSFW notices are one selector list, either class (the rule's ".a.b" would need both), each tested; plain if-guards; update_info.main returns None; no plain-http adapter; [[ ]] in cf_build_status.sh. Supply chain: requirements*.txt are hash-locked pip-tools compiles of requirements*.in (on Python 3.14, which Dependabot reads from the header), installed with --require-hashes --only-binary :all: in block scalars; npm ci --ignore-scripts in CI and the release builds (verified by manual release runs on all platforms); npm run cf:check. Release 4.4.2: also ships the toolchain upgrade (#149, #154) and Dependabot #141-#148, #150, #152, #153. CLAUDE.md gotchas 40 and 41. [skip-discuss] Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
81 lines
2.3 KiB
JSON
81 lines
2.3 KiB
JSON
{
|
|
"name": "webapp",
|
|
"private": true,
|
|
"version": "4.4.2",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=26"
|
|
},
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"lint": "eslint .",
|
|
"knip": "knip",
|
|
"preview": "vite preview",
|
|
"tauri": "tauri",
|
|
"tauri:dev": "tauri dev",
|
|
"tauri:build": "tauri build",
|
|
"test": "vitest run",
|
|
"check:tauri": "node scripts/check-tauri-versions.mjs",
|
|
"cf:types": "wrangler types --env-file=types.env --strict-vars=false",
|
|
"cf:check": "wrangler deploy --dry-run --env=",
|
|
"cf:dev": "wrangler dev"
|
|
},
|
|
"dependencies": {
|
|
"@fontsource-variable/geist": "^5.3.0",
|
|
"@fontsource-variable/geist-mono": "^5.3.0",
|
|
"@radix-ui/react-checkbox": "^1.4.1",
|
|
"@radix-ui/react-dialog": "^1.3.1",
|
|
"@radix-ui/react-label": "^2.1.17",
|
|
"@radix-ui/react-popover": "^1.3.1",
|
|
"@radix-ui/react-separator": "^1.2.0",
|
|
"@radix-ui/react-slot": "^1.5.0",
|
|
"@radix-ui/react-switch": "^1.4.1",
|
|
"@radix-ui/react-tabs": "^1.2.1",
|
|
"@tanstack/react-query": "^5.104.4",
|
|
"@tanstack/react-query-devtools": "^5.104.4",
|
|
"@tanstack/react-query-persist-client": "^5.104.4",
|
|
"@tauri-apps/api": "^2.12.4",
|
|
"@tauri-apps/plugin-opener": "^2.7.2",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"fflate": "^0.8.3",
|
|
"idb-keyval": "^6.3.0",
|
|
"jose": "^6.2.12",
|
|
"lucide-react": "^1.59.0",
|
|
"react": "^19.3.1",
|
|
"react-dom": "^19.3.1",
|
|
"react-router": "^8.4.0",
|
|
"recharts": "^3.10.1",
|
|
"tailwind-merge": "^3.7.0",
|
|
"zustand": "^5.0.15"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@tailwindcss/vite": "^4.3.3",
|
|
"@tauri-apps/cli": "^2.12.3",
|
|
"@types/node": "^26.6.5",
|
|
"@types/react": "^19.3.0",
|
|
"@types/react-dom": "^19.3.0",
|
|
"@typescript/native": "npm:typescript@^7.0.2",
|
|
"@vitejs/plugin-react": "^6.1.2",
|
|
"eslint": "^10.12.0",
|
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
"eslint-plugin-react-refresh": "^0.5.7",
|
|
"globals": "^17.13.0",
|
|
"knip": "^6.40.0",
|
|
"tailwindcss": "^4.3.3",
|
|
"tw-animate-css": "^1.4.0",
|
|
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
"typescript-eslint": "^8.71.1",
|
|
"vite": "^8.3.4",
|
|
"vitest": "^5.0.5",
|
|
"wrangler": "^4.149.0"
|
|
},
|
|
"allowScripts": {
|
|
"esbuild": true,
|
|
"workerd": true
|
|
}
|
|
}
|