news-catalyst / next-tinynewsdemo

Frontend for Tiny News Collective organizations
https://next-tinynewsdemo.vercel.app
1 stars 0 forks source link

Fix: pin next-auth version #1319

Closed angel-tnc closed 1 year ago

angel-tnc commented 1 year ago

Why

Login broke on production because of a redeployment. This seems to happen because Vercel runs npm install on deployment, it will automatically update package versions, which can the app to upgrade versions automatically and unpredictably.

What

Pin the next-auth version to the one present in the package.json file.

Notes

We can test on staging whether this version works well and eventually update the pinned version if needed.

Reference: https://vercel.com/docs/concepts/functions/serverless-functions/runtimes/node-js#node.js-dependencies

vercel[bot] commented 1 year ago

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

Name Status Preview Comments Updated
staging-tiny-news-sites ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 11, 2023 at 1:31AM (UTC)
9 Ignored Deployments | Name | Status | Preview | Comments | Updated | | :--- | :----- | :------ | :------- | :------ | | **ang-diaryo** | ⬜️ Ignored ([Inspect](https://vercel.com/news-catalyst/ang-diaryo/7vfm4MPVTWndTrT2pDtc4idM1vjm)) | | | Feb 11, 2023 at 1:31AM (UTC) | | **austin-vida** | ⬜️ Ignored ([Inspect](https://vercel.com/news-catalyst/austin-vida/DF727tYNpZZZFRud2bjxCy8T8UUa)) | | | Feb 11, 2023 at 1:31AM (UTC) | | **black-by-god** | ⬜️ Ignored ([Inspect](https://vercel.com/news-catalyst/black-by-god/9vJJEfJmjpZK4NSGyMHHc9YQE3mm)) | | | Feb 11, 2023 at 1:31AM (UTC) | | **five-wards-media** | ⬜️ Ignored ([Inspect](https://vercel.com/news-catalyst/five-wards-media/Ct2Bs6A4Zcji6VjVzf24Yp2XM8BZ)) | | | Feb 11, 2023 at 1:31AM (UTC) | | **harvey-world-herald** | ⬜️ Ignored ([Inspect](https://vercel.com/news-catalyst/harvey-world-herald/4nDiDFvF4dUDxbqqKr9ZwRmM5ch3)) | | | Feb 11, 2023 at 1:31AM (UTC) | | **next-tinynewsdemo** | ⬜️ Ignored ([Inspect](https://vercel.com/news-catalyst/next-tinynewsdemo/GUnRoSbRRBCmkujzFScMzPRySefk)) | | | Feb 11, 2023 at 1:31AM (UTC) | | **spotlight-schools** | ⬜️ Ignored ([Inspect](https://vercel.com/news-catalyst/spotlight-schools/GnpKWkAmjTUk2icZGZGAoYB9d3D3)) | | | Feb 11, 2023 at 1:31AM (UTC) | | **tiny-news-curriculum** | ⬜️ Ignored ([Inspect](https://vercel.com/news-catalyst/tiny-news-curriculum/5LifmYeQisd1B6ZLLsNbtt1kdFWx)) | | | Feb 11, 2023 at 1:31AM (UTC) | | **tiny-news-sites** | ⬜️ Ignored ([Inspect](https://vercel.com/news-catalyst/tiny-news-sites/7QqEJAkppGurCqT9uUi3Ea4Ppe9M)) | | | Feb 11, 2023 at 1:31AM (UTC) |