starwards-monorepo
仓库创建 2019年3月17日最近提交 23 天前SkillHot 收录 22 天前
▸ 精选理由
避免构建/依赖错误,适合多人协作的前端工程
这个 Skill 做什么
说明 npm workspace 单仓库模块依赖、构建顺序与 watch 流程
讲清 Starwards 项目里 npm workspace 单仓库的模块依赖、构建顺序、watch 模式和跨模块测试流程,避免常见的 monorepo 陷阱。用在你要在本地或 CI 里构建、调试或改动多个互相依赖模块时,能帮你按对的顺序先构建 core 再构建其它模块。核心原则是 Core 优先构建,能减少重复构建和调试时间。
▸ 展开 SKILL.md 英文原文
npm workspace monorepo workflow for Starwards - build order, module dependencies, watch mode, testing across modules, and avoiding common monorepo pitfalls; core builds first always
42
Stars
2
Forks
17
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/starwards/starwards/master/.claude/skills/starwards-monorepo/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/starwards/starwards/master/.claude/skills/starwards-monorepo/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Starwards Monorepo Workflow ## Overview Starwards uses npm workspaces with 4 interdependent modules. Understanding build order, dependencies, and workflow prevents wasted time. **Core principle:** Core builds first. Others depend on it. ## Monorepo Structure ``` starwards/ ├── package.json # Root workspace config ├── modules/ │ ├── core/ # Game logic, shared types │ │ ├── src/ # TypeScript source │ │ ├── cjs/ # Built CommonJS (gitignored) │ │ └── package.json # @starwards/core │ ├── server/ # Colyseus rooms, game server │ │ ├── src/ │ │ ├── cjs/ # Built server code │ │ └── pac
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有