NativeScript / nativescript-cli

Command-line interface for building NativeScript apps
https://www.npmjs.com/package/nativescript
Apache License 2.0
1.04k stars 195 forks source link

npms.io search broken since Jan 2023 (a.k.a. remove `search` command from package managers or use `https://registry.npmjs.org/[query]`) #5792

Open jasongitmail opened 8 months ago

jasongitmail commented 8 months ago

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