From c4e23ae31d6e101fe9dad94d8e363314f4d10303 Mon Sep 17 00:00:00 2001 From: Hyko Date: Sun, 12 Apr 2026 17:03:47 -0400 Subject: [PATCH] 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. --- bin/cli.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/cli.js b/bin/cli.js index 7eaafdc..88b3b25 100644 --- a/bin/cli.js +++ b/bin/cli.js @@ -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 }); diff --git a/package.json b/package.json index 8f466e9..8724764 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@zen/start", - "version": "1.3.0", + "version": "1.3.1", "description": "CLI pour créer un projet Next.js avec le CMS @zen/core", "repository": { "type": "git",