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)) {
|
if (fs.existsSync(packageJsonPath)) {
|
||||||
const packageJson = fs.readJsonSync(packageJsonPath);
|
const packageJson = fs.readJsonSync(packageJsonPath);
|
||||||
const projectName = packageJson.name || 'project';
|
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 ??= {};
|
||||||
packageJson.scripts['make-favicon'] = 'node dev/icons/make-favicon.js';
|
packageJson.scripts['make-favicon'] = 'node dev/icons/make-favicon.js';
|
||||||
fs.writeJsonSync(packageJsonPath, packageJson, { spaces: 2 });
|
fs.writeJsonSync(packageJsonPath, packageJson, { spaces: 2 });
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@zen/start",
|
"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",
|
"description": "CLI pour créer un projet Next.js avec le CMS @zen/core",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
Reference in New Issue
Block a user