Inject and display build metadata in your Next.js app deployed on Vercel:
- App version from
package.json
- Commit SHA from Vercel git env vars
- Build time generated once per
next build
- Read
package.json
for the app version. - Capture current ISO timestamp at build.