Đợt sửa lỗi 3 — PR-A (fix + low-risk infra). Tauri build: - Fix black screen: introduce build-time `__IS_TAURI_BUILD__` Vite define so React Router uses basename '/' in Tauri bundles and '/jsonprism' on GH Pages. Previously `import.meta.env.PROD` was true in both, breaking Tauri routes. - Single-instance plugin: tauri-plugin-single-instance added; second launches focus the existing window instead of spawning a new process. Registered first per Tauri 2 best practice; desktop-only. Workflows: - Bump actions/checkout v4 → v6, actions/setup-node v4 → v6 (Node 24 LTS). - Reduce skip noise: notify-ci-failure and notify-release-pipeline drop `workflows: ["*"]` catch-all in favor of specific workflow names. - New announce-discussion.yml: auto-create a Discussion post when a release publishes or Deploy to GH Pages succeeds. Requires Discussions enabled + "Announcements" category (manual prerequisite, mentioned in the workflow file). Community files: - .github/dependabot.yml — weekly npm + actions + cargo updates, grouped. - .github/PULL_REQUEST_TEMPLATE.md — summary, test plan, AI-assist disclosure. - .github/ISSUE_TEMPLATE/config.yml — block blank issues, route to Discussions / Security Advisory / live demo. i18n: - New locales/ja.json, locales/zh-CN.json (AI-translated; disclaimer key added to all four locales). - LanguageSwitcher + i18n.supportedLngs updated. Verification: - typecheck / lint / 175 tests pass / build OK. - `cargo check` in src-tauri builds clean with the new plugin. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
6 lines
113 B
YAML
6 lines
113 B
YAML
github: poli0981
|
|
ko_fi: skullmute
|
|
buy_me_a_coffee: skullmute
|
|
patreon: skullmute
|
|
custom:
|
|
- paypal.me/DungDang212 |