Add Windows 7 deploy bundle pipeline

Self-contained zip (dist/avtoambor-deploy.zip) for end users on Windows 7:
double-click install.bat to install Node 16, then start.bat to launch the
server. start.bat self-relaunches minimized so the console window stays out
of the way. Node is pinned to 16.x and several deps downgraded for Win7
compatibility; the unsupported View Transitions hook is dropped from the
root layout. make bundle wraps scripts/make-bundle.sh.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
David Beccue
2026-05-18 09:38:20 +05:00
parent c882ab5d43
commit 83a59f1677
13 changed files with 2113 additions and 820 deletions

View File

@ -3,6 +3,9 @@
"version": "0.1.0",
"private": true,
"type": "module",
"engines": {
"node": "16.x"
},
"scripts": {
"dev": "vite dev --host 0.0.0.0 --port 3000",
"build": "vite build",
@ -11,12 +14,13 @@
"db:init": "node scripts/init-db.js"
},
"devDependencies": {
"@sveltejs/adapter-node": "^5.2.0",
"@sveltejs/kit": "^2.5.0",
"svelte": "^4.2.0",
"vite": "^5.2.0"
"@sveltejs/adapter-node": "1.3.1",
"@sveltejs/kit": "1.30.4",
"@sveltejs/vite-plugin-svelte": "2.5.3",
"svelte": "4.2.19",
"vite": "4.5.5"
},
"dependencies": {
"better-sqlite3": "^11.3.0"
"better-sqlite3": "7.6.2"
}
}