From 81ada5d38524929277321e3c0cd6e0e128ab974e Mon Sep 17 00:00:00 2001 From: keyobs Date: Fri, 14 Aug 2026 02:11:37 +0200 Subject: [PATCH 1/2] fix(deploy): authenticate the packages registry on Vercel's install step Vercel has no equivalent to GitHub Actions' automatic GITHUB_TOKEN, so pnpm install had no way to authenticate to npm.pkg.github.com for @keyobs/dx-flow ("authentication token not provided"). installCommand appends the auth line to .npmrc at build time only, from a NODE_AUTH_TOKEN Vercel environment variable - never touching the committed .npmrc, so local installs stay unaffected. Co-Authored-By: Claude Sonnet 5 --- vercel.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vercel.json b/vercel.json index 0f32683..43d6b41 100644 --- a/vercel.json +++ b/vercel.json @@ -1,3 +1,4 @@ { - "rewrites": [{ "source": "/(.*)", "destination": "/index.html" }] + "rewrites": [{ "source": "/(.*)", "destination": "/index.html" }], + "installCommand": "echo \"//npm.pkg.github.com/:_authToken=$NODE_AUTH_TOKEN\" >> .npmrc && pnpm install --frozen-lockfile" } From 13aeb5674fac58358081979cfeac99ee72f001cc Mon Sep 17 00:00:00 2001 From: keyobs Date: Fri, 14 Aug 2026 02:40:05 +0200 Subject: [PATCH 2/2] chore(gitignore): update --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 83bc09b..21299ed 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,8 @@ dist dist-ssr *.local +.env + # Editor directories and files .vscode/* !.vscode/extensions.json