1-hour workshop: Specify supported runtimes and align cross-platform prerequisites
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 78/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- bash, node.js, powershell, python
调研方向
从 app/client/package.json、content/1-hour/README.md 和 content/1-hour/0-setup.md 开始;比较声明的运行时以及 Bash 和 PowerShell 的设置路径。使用文档中记录的每条 shell 路径运行设置,包括 start-app.ps1,并确认前置条件、运行时版本和 Windows 指南与实际可用的内容一致。
由索引模型根据 Issue 内容生成。
描述
Problem
content/1-hour/README.md requires only a "recent" Node.js and Python version. The current Astro dependency requires Node.js >=22.12.0, but this requirement is not declared in app/client/package.json or stated in the workshop. The same prerequisite section says a Bash-capable shell is required and tells Windows learners to install WSL or Git Bash, while content/1-hour/0-setup.md provides a native PowerShell startup path.
A learner can satisfy the written prerequisites and still fail during setup, or install an unnecessary shell on Windows.
Suggested change
Declare and document supported runtime versions, and describe Bash and PowerShell as alternative setup paths.
Acceptance criteria
-
app/client/package.jsondeclares the supported Node.js engine. - The one-hour prerequisites state a concrete Node.js minimum or supported LTS release and a tested Python range.
- Native Windows learners are told that PowerShell is sufficient when using
start-app.ps1. - Bash/WSL guidance is limited to the Bash script path.
- Setup is tested using each documented shell path.
- 主要语言
- Python
- 星标
- 80
- 派生
- 161
- 平均合并
- 31 分钟
- 30 天内合并 PR
- 1
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
github-samples/pets-workshop 的其他 Issue
-
priority: P0
难度 2/5 1-2 天 新手友好度 78/100
github-samples/pets-workshop#268 · 1 条评论 ·
-
priority: P0
难度 1/5 1-3 小时 新手友好度 88/100
github-samples/pets-workshop#267 · 1 条评论 ·
-
priority: P1
难度 1/5 1-3 小时 新手友好度 92/100
github-samples/pets-workshop#261 · 1 条评论 ·
-
priority: P1
难度 2/5 1-3 小时 新手友好度 78/100
github-samples/pets-workshop#257 · 1 条评论 ·
-
priority: deferred
难度 4/5 3-5 天 新手友好度 45/100
github-samples/pets-workshop#278 · 1 条评论 ·
查看 github-samples/pets-workshop 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
stephrobert/dsoxlab#238 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100
sublimehq/package_control#1780 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 70/100
nwg-piotr/nwg-displays#145 ·