Self-update corepack according to version range in package.json
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- nodejs, typescript
- 领域
- devtools
调研方向
从 package.json 开始,比较所请求的两种行为:Corepack 自更新的版本范围,或对 engines.corepack 约束的强制执行。明确预期是哪种行为、应如何报告版本不匹配,以及成功完成应证明什么。
由索引模型根据 Issue 内容生成。
描述
Trying to get all our developers and CI processes to update corepack manually due to https://github.com/nodejs/corepack/issues/612 is quite painful. It would be nice if corepack had a self-update feature whereby the version of corepack itself could be specified in package.json as well as the package manager version.
Or alternatively if a self-update is not desirable, if we could at least put a constraint like "engines": {"corepack": ">= 0.31.0"} and have corepack exit with an error if that is not met, then that would at least prompt folks to update it themselves.
- 主要语言
- TypeScript
- 星标
- 3.8k
- 派生
- 279
- 平均合并
- 1 小时 47 分钟
- 30 天内合并 PR
- 2
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nodejs/corepack 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 64/100
-
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 4/5 3-5 天 新手友好度 68/100
-
难度 3/5 1-2 天 新手友好度 52/100
-
难度 3/5 1-2 天 新手友好度 68/100
相似的 Issue
-
blocklist removal
难度 2/5 1-3 小时 新手友好度 65/100
MetaMask/eth-phishing-detect#296544 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
pastelsky/bundlephobia#1122 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
-
category/development priority/P2 scope/file-operations scope/testing type/enhancement
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100