fix: remove screenshot reference from README template

Remove the screenshot image link from the generated README.md
template as it references a non-existent asset path that would
cause broken image links in new projects. Bump version to 1.3.1.
This commit is contained in:
2026-04-12 17:03:47 -04:00
parent 7779f529ea
commit c4e23ae31d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ export default nextConfig;
if (fs.existsSync(packageJsonPath)) {
const packageJson = fs.readJsonSync(packageJsonPath);
const projectName = packageJson.name || 'project';
fs.writeFileSync('README.md', `# ${projectName}\n\nBuilt with Next.js, Tailwind CSS and @zen/core.\n\n![screenshot](/.github/assets/screenshot.png)`);
fs.writeFileSync('README.md', `# ${projectName}\n\nBuilt with Next.js, Tailwind CSS and @zen/core.`);
packageJson.scripts ??= {};
packageJson.scripts['make-favicon'] = 'node dev/icons/make-favicon.js';
fs.writeJsonSync(packageJsonPath, packageJson, { spaces: 2 });