]> acesimba.cloud Git - StationBuilder.git/commit
refactor: 按 zip 设计就地重构站点(单文档 SPA + 领域方案库/设备模板/页面样式库)+ 防闲置换页
authorroot <root@localhost.localdomain>
Tue, 8 Sep 2026 08:35:48 +0000 (16:35 +0800)
committerroot <root@localhost.localdomain>
Tue, 8 Sep 2026 08:35:48 +0000 (16:35 +0800)
commit9a1ef006dc8f081a84eb6a46fc1c861e6466bd66
treea477944663d236f7fe7c28afd94fea76a2db1e20
parent6326346ddac06182f9dc99c15c62a7ba227797b3
refactor: 按 zip 设计就地重构站点(单文档 SPA + 领域方案库/设备模板/页面样式库)+ 防闲置换页

- app/page.tsx 重写为单文档 SPA(go(pageKey) 客户端导航):领域方案库、设备模板、页面样式库、内部工具配置、领域配置
- 新增 app/company-theme.tsx(AntD ConfigProvider 主题);layout.tsx 引入主题与 reset.css;globals.css 视觉对齐
- 配置 vite.local.config.ts:dev:local 用纯 vinext(),规避 Cloudflare workerd 下 antd CJS interop 报错(_interopRequireDefault is not a function)
- .npmrc 设 node-linker=hoisted;package.json 与 pnpm 锁定文件更新
- 新增 scripts/warmup.mjs(开机预热全部页面)+ scripts/keepalive.mjs(每 60s 探活,防止闲置被换页导致打开缓慢近一分钟)
- 新增 public/wise-header/ 资源、CHANGELOG-20260902.md

注:data/db/StationBuilder.sqlite 为运行数据,按规则本次不提交;表结构由 db-sidecar 以 CREATE TABLE IF NOT EXISTS 自举,克隆后首次启动自动补齐。
23 files changed:
.npmrc
CHANGELOG-20260902.md [new file with mode: 0644]
app/company-theme.tsx [new file with mode: 0644]
app/globals.css
app/layout.tsx
app/page.tsx
package.json
pnpm-lock.yaml [new file with mode: 0644]
pnpm-workspace.yaml [new file with mode: 0644]
public/wise-header/bell.svg [new file with mode: 0644]
public/wise-header/caret-down.svg [new file with mode: 0644]
public/wise-header/favorite.svg [new file with mode: 0644]
public/wise-header/folder.svg [new file with mode: 0644]
public/wise-header/menu.svg [new file with mode: 0644]
public/wise-header/powered-by-wise-iot.svg [new file with mode: 0644]
public/wise-header/search.svg [new file with mode: 0644]
public/wise-header/settings.svg [new file with mode: 0644]
public/wise-header/theme.svg [new file with mode: 0644]
public/wise-header/wise-iot-logo.svg [new file with mode: 0644]
scripts/keepalive.mjs [new file with mode: 0644]
scripts/warmup.mjs [new file with mode: 0644]
tsconfig.ui.json [new file with mode: 0644]
vite.local.config.ts [new file with mode: 0644]