Patch-package should aggregate all errors for failing patches.
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 38/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- nodejs, typescript
调研方向
从链接的行开始查看 src/patch/read.ts,并将其失败处理与 ^8.1.0-canary.1 分支中引入的更改进行比较。跟踪其他 patch 失败路径,以确定其中哪些仍会立即退出。完成的标准是:失败的 patch 会被聚合,并且可以按 package 进行定位,同时提供一致的 package 专属错误指示。
由索引模型根据 Issue 内容生成。
描述
While testing ^8.1.0-canary.1 branch, which introduces changes to how the The patches for <package_name> have changed. errors are aggregated for failing patches, I've noticed there are other ways the patch can fail. For example, the ... could not be parsed. error from read.ts which exits the process altogether.
It would be beneficial to have this error path as well as other ones also receive the treatment from ^8.1.0-canary.1 branch so that the packages for failing patches could be targeted individually instead of having to reinstall node_modules, thus saving time and improving DX. Another idea would be to introduce a part of the error message would be the same for all such errors, e.g. there was a problem with <package_name>, which would help out with getting the correct name for failing patch/package for all the errors.
- 主要语言
- TypeScript
- 星标
- 11.2k
- 派生
- 325
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ds300/patch-package 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 82/100
ds300/patch-package#617 · 1 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 78/100
ds300/patch-package#615 · 1 条评论 · 4 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 62/100
ds300/patch-package#216 ·
-
难度 3/5 1-2 天 新手友好度 25/100
ds300/patch-package#611 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
ds300/patch-package#610 · 4 条评论 · 1 个 reaction ·
查看 ds300/patch-package 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
openedx/frontend-app-authoring#3274 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
-
area/documentation status/need-triage
难度 1/5 1 小时以内 新手友好度 95/100
google-gemini/gemini-cli#29548 ·
维护者通常 1 天内回复
-
sdk-typescript vector-store
难度 2/5 半天 新手友好度 82/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复