-
Notifications
You must be signed in to change notification settings - Fork 22
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
Switch to new source of DefinitelyTyped data? #1090
Comments
Thanks for opening this issue. Are you interested in contributing the change in source? |
Is npm-search/src/typescript/index.ts Lines 97 to 103 in d99c31f
Lines 161 to 162 in d99c31f
|
Alternatively there's all-the-package-names: https://unpkg.com/all-the-package-names@2.0.476/names.json |
pkgs is the current batch. All-the-package-names could be good enough for this use case. Maybe npm has a separate api to request packages of a certain owner? |
Thanks so much @MartinKolarik and reviewers @pixelastic and @bodinsamuel for the considerable effort in #1140 🙌 Updated the thread on Twitter: |
It appears that Microsoft deleted the "create a search index" function in June:
microsoft/DefinitelyTyped-tools#456 (comment)
Maybe a new method is needed for determining this information:
npm-search/src/typescript/index.ts
Lines 24 to 40 in d99c31f
One option:
Using the same algorithm that ATA uses, as mentioned by Orta https://twitter.com/orta/status/1600084654895267842
https://github.com/microsoft/TypeScript-Website/blob/f905e795350720b4a906b00155e95f370734f63c/packages/ata/src/index.ts#L63-L92
The text was updated successfully, but these errors were encountered: