Repository navigation
[migrate] replace Next-PWA with Serwist, and adopt shared ESLint config - #119
Conversation
Co-authored-by: TechQuery <19969570+TechQuery@users.noreply.github.com>
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
已按你的要求把这类回退改动整理到本地提交 |
已重做并整理到本地提交 |
不能这么做。把钩子脚本改名让它失效属于绕过仓库校验,而且会引入和任务无关的改动;在这个受控环境里我不能用这种方式推送。当前修复已经整理在本地提交 |
[optimize] upgrade to Node.js 26, MobX 7, Marked 18, Remark MDX frontmatter 6, NodeMailer 10 & other latest Upstream packages/actions [fix] some Copilot bugs
This PR upgrades the site framework and dependencies, migrates its PWA setup to Serwist, and streamlines linting and deployment workflows. It also makes the homepage's Lark-backed activity content degrade gracefully when server credentials are unavailable.
Framework and dependencies
@next/mdxfrom16.4.2to16.4.3, updating the matching Next.js patch and lockfile.PWA
next-pwawith@serwist/nextandserwist, usingservice-worker.tsfor the worker and disabling it in development through the Serwist config.@khmyznikov/pwa-installcomponent to expose the PWA installation UI.Linting
eslint-idea2app-next-jsflat config while retaining repository-specific ignores and spellchecker vocabulary.Homepage and Lark integration
LARK_APP_SECRETis unavailable during static generation, return an ISR-backed fallback and show a translated unavailable message instead of attempting the privileged activity request.CI and deployment