hyper-site icon indicating copy to clipboard operation
hyper-site copied to clipboard

From npms to npmjs registry api

Open milovangudelj opened this issue 2 years ago • 3 comments

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:

milovangudelj avatar Jan 31 '23 17:01 milovangudelj

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)

vercel[bot] avatar Jan 31 '23 17:01 vercel[bot]

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 avatar Jan 31 '23 17:01 milovangudelj

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...

milovangudelj avatar May 03 '23 12:05 milovangudelj