Skip to content

switch to npm-stat for downloads data, speed up deploy#1825

Merged
Simek merged 1 commit intoreact-native-community:mainfrom
Simek:switch-to-npm-stat-speed-up-deployment
Aug 13, 2025
Merged

switch to npm-stat for downloads data, speed up deploy#1825
Simek merged 1 commit intoreact-native-community:mainfrom
Simek:switch-to-npm-stat-speed-up-deployment

Conversation

@Simek
Copy link
Copy Markdown
Member

@Simek Simek commented Aug 13, 2025

📝 Why & how

Summary of changes:

  • switch to npm-stat.com API for greater stability and free weekly download data
  • rewrite fetch strategy with proper sequential queries which allowed reducing the sleep time between requests
  • update debug repositories list to avoid unwanted errors when testing
  • regenerate development mode data to confirm that API switch works
  • remove one and add one entry to libraries list based on the logs during working on new fetcher
  • update types to also reflect the shape of manually defined libraries data object

✅ Checklist

  • Added library to react-native-libraries.json
  • Updated library in react-native-libraries.json
  • Documented in this PR how to use the feature or replicate the bug.
  • Documented in this PR how you fixed or created the feature.

@Simek Simek added the deploy label Aug 13, 2025
@Simek Simek merged commit 29fd472 into react-native-community:main Aug 13, 2025
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant