Update dependencies and environment for web app
Upgraded '@makerkit/data-loader-supabase-nextjs' to version 1.1.0 and replaced 'autoprefixer' with a newer version. Added new scripts to 'packages.json' and '.env.test' file for test environment. The changes also include removal of unnecessary 'eslint' dependencies and modifications for 'postcss' related dependencies.
This commit is contained in:
@@ -32,7 +32,13 @@ const AppConfigSchema = z
|
||||
})
|
||||
.refine(
|
||||
(schema) => {
|
||||
return !(schema.production && schema.url.startsWith('http:'));
|
||||
const isCI = process.env.NEXT_PUBLIC_CI;
|
||||
|
||||
if (isCI ?? !schema.production) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return !schema.url.startsWith('http:');
|
||||
},
|
||||
{
|
||||
message: `Please use a valid HTTPS URL in production.`,
|
||||
|
||||
Reference in New Issue
Block a user