Update multiple packages and fix warning logs indentation

This commit includes the upgrade of multiple packages to their latest versions, including "@supabase/ssr", "stripe", "@playwright/test", "@typescript-eslint/eslint-plugin" and "@typescript-eslint/parser". It also ensures consistent warning logs indentation in route.ts.
This commit is contained in:
gbuomprisco
2024-06-25 09:43:17 +08:00
parent 5e26e1256e
commit 6e218dc47b
8 changed files with 209 additions and 197 deletions

View File

@@ -36,7 +36,7 @@ async function getHashFromProcess() {
if (process.env.NEXT_RUNTIME === 'nodejs') {
if (process.env.NODE_ENV !== 'development') {
console.warn(
`[WARN] Could not find git hash in environment variables. Falling back to git command. Supply a known git hash environment variable to avoid this warning.`,
`[WARN] Could not find git hash in environment variables. Falling back to git command. Supply a known git hash environment variable to avoid this warning.`,
);
}
@@ -45,5 +45,7 @@ async function getHashFromProcess() {
return execSync('git log --pretty=format:"%h" -n1').toString().trim();
}
console.log(`[INFO] Could not find git hash in environment variables. Falling back to git command. Supply a known git hash environment variable to avoid this warning.`)
console.log(
`[INFO] Could not find git hash in environment variables. Falling back to git command. Supply a known git hash environment variable to avoid this warning.`,
);
}