chore: set up Cursor Cloud dev environment#23
Draft
eggfly wants to merge 1 commit into
Draft
Conversation
Co-authored-by: eggfly <lihaohua90@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
为该仓库配置 Cursor Cloud 开发环境,并验证各服务可正常运行。本仓库是 CardputerZero AppStore Hub 的静态 GitHub Pages 站点(应用目录 Web UI + 生成的 registry JSON)、VitePress 开发者文档以及浏览器端 WASM 模拟器。无后端 / 数据库 / Docker。
变更
AGENTS.md,在## Cursor Cloud specific instructions下记录各服务的启动方式与非显而易见的注意事项(如站点根目录就是仓库根目录,不需要cd hub;SPA 依赖fetch()必须通过 HTTP 访问;VitePress 的base: '/docs/'等)。环境配置
if [ -f developer-docs/package.json ]; then npm install --prefix developer-docs; fi—— 唯一需要安装的依赖是 VitePress。验证
npm install+npm run build(VitePress,CI 中的唯一构建检查)python3 -m http.server 4173(Hub 静态站点,registry 含 25 个应用)npm run dev(VitePress dev,端口 5173)演示