Next.js Supabase V3 (#463)
Version 3 of the kit: - Radix UI replaced with Base UI (using the Shadcn UI patterns) - next-intl replaces react-i18next - enhanceAction deprecated; usage moved to next-safe-action - main layout now wrapped with [locale] path segment - Teams only mode - Layout updates - Zod v4 - Next.js 16.2 - Typescript 6 - All other dependencies updated - Removed deprecated Edge CSRF - Dynamic Github Action runner
This commit is contained in:
committed by
GitHub
parent
4912e402a3
commit
7ebff31475
@@ -1,4 +1,5 @@
|
||||
import type { PlopTypes } from '@turbo/gen';
|
||||
|
||||
import { execSync } from 'node:child_process';
|
||||
import { writeFileSync } from 'node:fs';
|
||||
|
||||
@@ -60,7 +61,7 @@ export function createSetupGenerator(plop: PlopTypes.NodePlopAPI) {
|
||||
setupPreCommit({ setupHealthCheck: answers.setupHealthCheck });
|
||||
|
||||
return 'Project setup complete. Start developing your project!';
|
||||
} catch (error) {
|
||||
} catch (_error) {
|
||||
console.error('Project setup failed. Aborting package generation.');
|
||||
process.exit(1);
|
||||
}
|
||||
@@ -76,7 +77,7 @@ function createMakerkitConfig(params: {
|
||||
const config = `{
|
||||
"projectName": "${params.projectName}",
|
||||
"username": "${params.username}"
|
||||
}`
|
||||
}`;
|
||||
|
||||
writeFileSync('.makerkitrc', config, {
|
||||
encoding: 'utf-8',
|
||||
@@ -105,7 +106,7 @@ function setupPreCommit(params: { setupHealthCheck: boolean }) {
|
||||
execSync(`chmod +x ${filePath}`, {
|
||||
stdio: 'inherit',
|
||||
});
|
||||
} catch (error) {
|
||||
} catch (_error) {
|
||||
console.error('Pre-commit hook setup failed. Aborting package generation.');
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user