Consider adopting npm trusted publishing
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- node.js, typescript
调研方向
先从链接的 npm trusted publishing 文档和 provenance statements 指南开始,然后检查此仓库的非标准发布工作流。确定为 @types/* 包采用 trusted publishing 所需的更改;当工作流支持新的发布方法和 provenance 要求时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Recent supply chain attacks on npm have highlighted the need for stronger package publishing security. The September 2025 Shai-Hulud worm compromised 500+ packages through stolen maintainer tokens, showing the risks of token-based publishing.
Trusted publishing helps by eliminating long-lived tokens that can be stolen or accidentally exposed; generating automatic provenance provides cryptographic proof of where/how packages are built; and is an industry standard adopted by PyPI, RubyGems, crates.io, NuGet, etc.
npm is planning to deprecate legacy tokens and make trusted publishing the preferred method.
I know that this repository has a non-standard publishing workflow, which makes adoption trickier than the documentation makes it out. But given that it publishes all @types/* packages I think it would provide a huge uplift and set a good example for the whole Node ecosystem.
References:
- 主要语言
- TypeScript
- 星标
- 423
- 派生
- 237
- 平均合并
- 18 小时 18 分钟
- 30 天内合并 PR
- 11
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/DefinitelyTyped-tools 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 66/100
microsoft/DefinitelyTyped-tools#1324 · 8 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 32/100
microsoft/DefinitelyTyped-tools#1230 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 42/100
microsoft/DefinitelyTyped-tools#1229 ·
维护者通常 1 天内回复
-
microsoft/DefinitelyTyped-tools#1218 · 1 个 reaction · 已指派 1 人 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 45/100
microsoft/DefinitelyTyped-tools#1211 · 1 条评论 ·
维护者通常 1 天内回复
查看 microsoft/DefinitelyTyped-tools 的全部 Issue
相似的 Issue
-
priority: P2
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 65/100
prime-radiant-inc/evener#3291 ·
维护者通常 1 天内回复
-
accessibility bug revealjs
难度 2/5 1-3 小时 新手友好度 84/100
quarto-dev/quarto-cli#14961 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
supabase/agent-skills#614 ·
-
Content
难度 2/5 1-3 小时 新手友好度 68/100
RunestoneInteractive/rs#1559 · 1 条评论 ·
维护者通常 2 天内回复