Move example/pong-network to the v3 cli

未关闭 适合新手
#513 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
78/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃

调研方向

打开 example/pong-network/package.json,查看第 15 行的 CLI 依赖,并检查目录条目 config 是否仍使用版本 2。将依赖更新到 3.0.1 版本,然后运行 nf start 启动示例。使用 v3 CLI 成功启动,并且其 config 依赖也在需要时升级到 v3,即为完成。

由索引模型根据 Issue 内容生成。

描述

dependencies enhancement good first issue
Which package or utils is this feature request for?

other

Feature

example/pong-network still pins the 2.x CLI: example/pong-network/package.json#L15, "@nanoforge-dev/cli": "^2.3.0". Its config is catalog:config. cli 3.0.1 and config 3.0.1 are released, and the editor moved to them (Editor #281, #288).

The editor's e2e copies and pnpm example link their node_modules from this example, so they all play on cli 2.3.0.

Ideal solution or implementation

Move @nanoforge-dev/cli to ^3.0.1 (and the config catalog to ^3.0.1, if it is still on 2), then run the example with nf start. The cli 3.0.0 breaking change is only nf install (CLI #263).

Alternative solutions or implementations

No response

Other context

Found while reviewing NanoForge-dev/Editor#288.

主要语言
TypeScript
星标
7
派生
2
平均合并
1 天 17 小时
30 天内合并 PR
17

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

NanoForge-dev/Engine 的其他 Issue

查看 NanoForge-dev/Engine 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。