Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[npm-check-fork] Replace package-json and throat dependencies with local implementations

オープン
#5,564 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

@TheLarkInn がすでに取り組んでいます。

2026年1月24日 から。

評価

この issue はまだ評価されていません。

説明

effort: medium enhancement

Summary

The @rushstack/npm-check-fork package depends on package-json and throat, which should be replaced with existing Rush Stack utilities:

  • package-json: ESM-only module with a heavy dependency tree (~500KB). We only use it to fetch basic registry metadata.
  • throat: Concurrency limiter that duplicates functionality already in @rushstack/node-core-library

Details

Proposed solution:

  1. Replace package-json with a minimal NpmRegistryClient class using the existing WebClient from @rushstack/rush-lib
  2. Replace throat with Async.forEachAsync from @rushstack/node-core-library

Benefits:

  • Eliminates ESM compatibility issues with CJS consumers
  • Reduces bundle size and dependency footprint
  • Integrates with Rush's existing proxy configuration
  • Uses utilities already in the codebase
  • Reduces chances of CVE's from upstream dependencies

Standard questions

Question Answer
Package name: @rushstack/npm-check-fork
Package version? 5.0.x
Operating system? All
Would you consider contributing a PR? Yes
Node.js version (node -v)? 18.x+
主要言語
TypeScript
スター
6.5k
フォーク
708
平均マージ
4日 13時間
マージ済み PR(30日)
62

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/rushstack のほかの issue

microsoft/rushstack の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。