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:
+1
-1
@@ -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`);
|
||||
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 });
|
||||
|
||||
+1
-1
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user