Skip to content

[Housekeeping] 删除原生迁移后失效的 Node 工具链残留 #73

Description

@sena-nana

背景

本周提交已继续收口原生栈:

  • 1c016524 清理 Tauri 与旧前端工具链残留,Agent Skill 改到 NanaUI/Cargo。
  • b5c3bb7f UI 指导材料切换到原生 NanaUI,feature 面换用 full。

AGENTS.md 现约定:禁止重新引入 Web 桌面宿主、JavaScript 包管理器或编辑器扩展实现。xtask/src/boundary.rs 也把 tauri / vue / vite / node 列为禁止依赖。

仓库根目录仍保留 .node-version(内容 26.5.0),全库无引用。这是 Yarn/Tauri 时代残留,会误导工具链探测。

相关大清理仍由 #68 跟踪;本 Issue 只收这一处明确可删文件,避免和 #68 的史诗范围缠在一起。

修改方案

  1. 删除根目录 .node-version。
  2. 在 xtask boundary 测试中断言该文件不存在(若 boundary 已扫根目录配置文件,复用即可)。
  3. 顺手检查 README / workflow 是否仍提到 Node、Yarn、Vite;有则改成 Cargo 入口。

验收

  • 仓库根目录不再有 .node-version。
  • rg -n node-version 无产品引用。
  • cargo xtask verify 中与工具链无关的检查不受影响。

非范围

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions