dev-manager-tauri/.blueprint/modules/github-publish.md
lanrtop 4dd19574f0 feat: 新增 pnpm Monorepo+Expo 模板及蓝图模块扩展
- 新增 pnpm Monorepo + Expo Router 项目模板(含 Metro monorepo 路径解析及 Windows 兼容修复)
- 扩展蓝图系统:新增 api-keys、server-registry、ssh-config-sync、vscode-remote 等 15+ 模块定义
- 新增 .blueprint/rules.md 项目私有规则支持,并在 CLAUDE.md 中集成
- 蓝图版本升级至 1.6.0,优化版本比较逻辑(语义化版本元组对比)
2026-04-29 22:11:28 +09:00

18 lines
704 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# GitHub 发布
在炼境内通过 GitHub OAuth 直接将本地项目推送到远程仓库,支持新建仓库或关联已有仓库,完成发布后自动回填 remote URL。
## 决策记录
- 依赖 github-auth 模块提供的 access token不在本模块持久化凭证
- 发布操作调用 GitHub REST API 创建仓库,然后通过 git2 库执行 push
## 任务卡
### ✅ GitHub 仓库创建与推送
- status: done
- complexity: M
- files: src-tauri/src/commands/github.rs, src/components/dashboard/ProjectCard.tsx
- depends: github-auth
- acceptance: 未关联远程的项目可在看板卡片中一键发布到 GitHub发布成功后 remote_url 写入 DB卡片显示 GitHub 链接