Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete create-search-index.ts #456

Merged
merged 1 commit into from
Jun 9, 2022
Merged

Conversation

jablko
Copy link
Contributor

@jablko jablko commented May 11, 2022

@jablko jablko mentioned this pull request May 16, 2022
@andrewbranch andrewbranch merged commit 3e1d59e into microsoft:master Jun 9, 2022
@karlhorky
Copy link

karlhorky commented Dec 6, 2022

Oh it looks like this search index is being relied upon by Algolia's npm-search index (which is also being relied upon by the Yarn search on their website):

https://github.com/algolia/npm-search/blob/d99c31fbe733953d39e498f9c7d982b2e09f3458/src/typescript/index.ts#L24-L40

Is there a recommendation for getting this types information from somewhere else? Eg.

  1. Is a package written in TypeScript?
  2. If not, does the package have a corresponding @types/* package published to Definitely Typed?

Seems like there was also TypeSearch (and the TypeScout interface for it), but it seems like this is either unavailable or not containing all information that is necessary.

cc @Haroenv

@Haroenv
Copy link
Contributor

Haroenv commented Dec 6, 2022

Thanks for letting me know, I wasn't aware this wasn't updated anymore (should have had better monitoring 🤔). I guess there's alternative options (maybe GitHub api?)

@karlhorky
Copy link

Another idea: the npmjs.com website displays this correctly:

Screenshot 2022-12-06 at 11 06 09

More info here from @ethomson: https://twitter.com/ethomson/status/1353763656379543553

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants