vercel / hyper-site

The official website for the Hyper terminal
https://hyper.is
MIT License
436 stars 190 forks source link

From npms to npmjs registry api #288

Open milovangudelj opened 1 year ago

milovangudelj commented 1 year ago

Switching to the official npmjs api since npms seems to be outdated and/or abandoned. Production builds fail due to errors in the api calls to npms for recent packages.

Sorry for the messy commit history :sweat_smile: It works tho :eyes:

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
hyper-site ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 31, 2023 at 7:52PM (UTC)
milovangudelj commented 1 year ago

It needs an environement variable called NEXT_PUBLIC_WEBSITE_URL. It's used in the api call that retrieves a package's metadata.

Edit: Not necessary anymore. I removed it in favor of a static value. It will have to be updated if merged into main.

milovangudelj commented 1 year ago

Can someone from the team review this and potentially merge it? It's preventing every new theme from being added to the themes list on the website...