Collapse portal under src/, unify pnpm workspace/scripts, thin VIP topic re-exports, drop orphan vip scaffolds and one-shot scripts, ignore xhs/release, document root commands. Co-authored-by: Cursor <cursoragent@cursor.com>
746 B
746 B
Nomadro agent notes
Follow .cursor/rules/*.mdc.
| Layer | Path |
|---|---|
| Next portal | src/app(路由壳)+ src/modules(业务 SoT) |
| Taro H5 SoT | apps/miniprogram/h5(weapp 共用 ../h5/src) |
| Unified API | apps/api |
| Admin SPA | apps/admin |
| Shared | packages/{pay,pb,sdk} |
Dev
根目录:pnpm install → pnpm dev / dev:h5 / dev:admin / dev:api / typecheck / clean。
Remote config: /api/config + offline defaults. Do not reintroduce deleted vertical trees (payjsapi / community-api / ebook / navmini / nomadweb / nomadvip / wemini).
H5 游戏(Nomad Day 3D)冷冻:勿改 apps/miniprogram/h5/src/modules/game / pages/game,除非用户明确要求。