NativeScript / NativeScript/nativescript-cli
npms.io search broken since Jan 2023 (a.k.a. remove `search` command from package managers or use `https://registry.npmjs.org/[query]`)
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 1.1k
- フォーク
- 204
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 8
説明
Issue Description
The package manager's search method calls the npms.io API to search for package names.
npms.io has been broken and not updating with new packages since Jan 2023 See https://github.com/npms-io/npms-api/issues/112
One solution would be to switch to the https://registry.npmjs.org/[query] endpoint.
But a better solution imo, would be to remove the search and view commands from npm, pnpm and bun package managers as an opportunity to simplify and reduce code maintenance, given it's been broken a very long time and a dev can just use their package manager directly for those.
Reproduction
No response
Relevant log output (if applicable)
No response
Environment
No response
Please accept these terms
- I have searched the existing issues as well as StackOverflow and this has not been posted before
- This is a bug report
- I agree to follow this project's Code of Conduct
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、パッケージマネージャーの検索メソッドと、npm、pnpm、bun の search および view コマンドの実装を見つけます。既存の npms.io への呼び出しと、提案されている registry.npmjs.org エンドポイントを比較し、そのうえで意図された結果がエンドポイントの置き換えなのか、コマンドの削除なのかを確認します。選択した動作が一貫して実装されていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100