feat: add animated choice modes and bracket editor
Verify mini program and deploy preview / verify-deploy (push) Successful in 50s

This commit is contained in:
2026-09-19 04:11:21 +08:00
parent 90ac8b951f
commit 36aee09dfa
39 changed files with 1669 additions and 178 deletions
+1 -2
View File
@@ -1,8 +1,7 @@
import { readFileSync, existsSync } from 'node:fs';
const required = ['app.js','app.json','pages/index/index.xhsml','pages/test/test.js','pages/result/result.js','web/index.html','web/app.js'];
const required = ['app.js','app.json','pages/index/index.xhsml','pages/discover/discover.xhsml','pages/test/test.js','pages/result/result.js','assets/test-covers/rice.jpg','vendor/poster-editor.cjs','web/index.html','web/app.js'];
for (const file of required) if (!existsSync(file)) throw new Error(`Missing ${file}`);
JSON.parse(readFileSync('app.json','utf8'));
const web = readFileSync('web/index.html','utf8');
if (!web.includes('./app.js') || !web.includes('./style.css')) throw new Error('Preview assets are not linked');
console.log(`Static checks passed (${required.length} required files).`);
+3
View File
@@ -5,8 +5,11 @@ required = [
"app.js",
"app.json",
"pages/index/index.xhsml",
"pages/discover/discover.xhsml",
"pages/test/test.js",
"pages/result/result.js",
"assets/test-covers/rice.jpg",
"vendor/poster-editor.cjs",
"web/index.html",
"web/app.js",
]