mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
* site: own /hex/files for installers, appcast, and dev notes The site build now copies install-linux.sh, install-windows.ps1, and packaging/macos/legacy-appcast.xml into its Worker assets, so the same Worker serves them at /hex/files with the Content-Type and Cache-Control the bucket objects had. The Installers and Legacy appcast workflows, r2-put.sh, and their R2 write credential are gone. The dev notes move to the one-commit dev-notes branch, published by Release's dev-notes job with GITHUB_TOKEN only; the Worker proxies that file at /hex/files/dev-notes.json (falling back to the bucket copy until the first dev release creates the branch) and renders /hex/dev from it. Both site Workers now bind hex-production-files, read-only in code, for the frozen 2.3.1 feeds and artifacts, which lets hex-dev-files go. The Site build runs the installer test and appcast check the removed workflows ran, and the verify job compares the served bytes. * docs: the site owns /hex/files and needs no R2 write credential Hosting, secrets, old clients, and Linux packages describe the built installers and appcast, the dev-notes branch, and the read-only bucket.
33 lines
963 B
JSON
33 lines
963 B
JSON
{
|
|
"name": "hex-site",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "bun scripts/release-data.ts --mode dev && vite",
|
|
"build": "bun scripts/build.ts",
|
|
"test": "bun test",
|
|
"preview": "vite preview",
|
|
"check:downloads": "bun scripts/check-downloads.ts",
|
|
"generate:og": "bun scripts/generate-og.ts",
|
|
"generate:poster": "bun scripts/generate-poster.ts",
|
|
"generate:og-video": "node scripts/og-video/capture.mjs"
|
|
},
|
|
"dependencies": {
|
|
"@fontsource-variable/inter": "^5.3.0",
|
|
"react": "^19.3.0",
|
|
"react-dom": "^19.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@cloudflare/build-output-utils": "0.8.5",
|
|
"@cloudflare/vite-plugin": "2.0.0-beta.v.4",
|
|
"@types/react": "^19.3.0",
|
|
"@types/react-dom": "^19.3.0",
|
|
"@vitejs/plugin-react": "^6.1.2",
|
|
"cf": "1.0.0-beta.12",
|
|
"matter-js": "0.20.0",
|
|
"playwright": "^1.63.0",
|
|
"typescript": "^7.0.2",
|
|
"vite": "^8.3.3"
|
|
}
|
|
}
|