Fixes the wails3 dev boot failure and removes remaining v2-isms so the tree matches a stock v3 project. - frontend/package.json: add missing build:dev script (vite build --minify false --mode development). The dev taskflow runs npm run build:dev, which v2-era package.json never had - this was the wails3 dev boot failure. - frontend/vite.config.ts: add the @wailsio/runtime vite plugin (typed custom events, as in every v3 template) and the server host/port/strictPort block (5173, matching the dev task). - Remove stale v2 build dirs build/darwin + build/windows (v2 wails scaffolding; v3 generates its own via build-assets if ever needed). - Delete untracked frontend/package.json.md5 (v2 change-detection artifact; v3 Taskfile uses content-hash sources) and drop its gitignore rule. - go.mod: delete the leftover commented-out v2 replace directive. - README.md: dev/build docs updated to make dev / make build (wails3), dropping the v2 :34115 browser-server paragraph; install link points at v3 docs. Verified: production vite build green with the plugin, and wails3 dev boots end-to-end (bindings regen, build:dev, vite on :5173, asset server connected, AniTrack 1.6.8 window mapped).
37 lines
951 B
JSON
37 lines
951 B
JSON
{
|
|
"name": "frontend",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build:dev": "vite build --minify false --mode development",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"check": "svelte-check --tsconfig ./tsconfig.json"
|
|
},
|
|
"devDependencies": {
|
|
"@sveltejs/vite-plugin-svelte": "^2.4.1",
|
|
"@tsconfig/svelte": "^4.0.1",
|
|
"autoprefixer": "^10.4.20",
|
|
"postcss": "^8.4.45",
|
|
"svelte": "^4.0.0",
|
|
"svelte-check": "^3.4.3",
|
|
"svelte-headless-table": "^0.18.3",
|
|
"svelte-preprocess": "^5.0.3",
|
|
"svelte-spa-router": "^4.0.1",
|
|
"tailwind-merge": "^2.5.2",
|
|
"tailwindcss": "^3.4.10",
|
|
"tslib": "^2.7.0",
|
|
"typescript": "^5.0.0",
|
|
"vite": "^4.5.5"
|
|
},
|
|
"dependencies": {
|
|
"@popperjs/core": "^2.11.8",
|
|
"@wailsio/runtime": "3.0.0-beta.20",
|
|
"flowbite": "^2.5.1",
|
|
"flowbite-svelte": "^0.46.16",
|
|
"moment": "^2.30.1"
|
|
}
|
|
}
|