chore: prepare first release 1.0.1
Some checks failed
Code Quality / lint-and-build (push) Failing after 25s
Release Packages / release (push) Failing after 40s

This commit is contained in:
2026-02-01 01:01:16 +01:00
parent 9a0900e3ff
commit c0a739867f
23 changed files with 432 additions and 217 deletions

View File

@@ -99,6 +99,21 @@ export default nextConfig;
eslintConfig
);
// Create env validation script
await fs.ensureDir(path.join(fullPath, "scripts"));
await fs.writeFile(
path.join(fullPath, "scripts/validate-env.ts"),
`import { validateMintelEnv } from "@mintel/next-utils";
try {
validateMintelEnv();
console.log("✅ Environment variables validated");
} catch (error) {
process.exit(1);
}
`
);
// Create basic src structure
await fs.ensureDir(path.join(fullPath, "src/app/[locale]"));
await fs.writeFile(
@@ -186,10 +201,14 @@ export default function RootLayout({
await fs.writeFile(
path.join(fullPath, "src/app/[locale]/page.tsx"),
`export default function Home() {
`import { useTranslations } from 'next-intl';
export default function Home() {
const t = useTranslations('Index');
return (
<main>
<h1>Welcome to ${projectName}</h1>
<h1>{t('title')} to ${projectName}</h1>
</main>
);
}