diff --git a/src/commands/basic/init.js b/src/commands/basic/init.js index 71739a688..0f0c62109 100644 --- a/src/commands/basic/init.js +++ b/src/commands/basic/init.js @@ -91,6 +91,7 @@ const fetchTemplate = async (template) => { const renameFromPath = path.join(dest, template); const renameToPath = path.join(dest, 'client'); fs.renameSync(renameFromPath, renameToPath); + fs.renameSync(`${renameToPath}/.mevngitignore`, `${renameToPath}/.gitignore`); // Prompt the user whether he/she requires pwa support if (template === 'Nuxt.js') { diff --git a/src/templates/starter-templates/GraphQL/.gitignore b/src/templates/starter-templates/GraphQL/.mevngitignore similarity index 100% rename from src/templates/starter-templates/GraphQL/.gitignore rename to src/templates/starter-templates/GraphQL/.mevngitignore diff --git a/src/templates/starter-templates/Nuxt.js/.gitignore b/src/templates/starter-templates/Nuxt.js/.mevngitignore similarity index 100% rename from src/templates/starter-templates/Nuxt.js/.gitignore rename to src/templates/starter-templates/Nuxt.js/.mevngitignore diff --git a/src/templates/starter-templates/basic/.gitignore b/src/templates/starter-templates/basic/.mevngitignore similarity index 100% rename from src/templates/starter-templates/basic/.gitignore rename to src/templates/starter-templates/basic/.mevngitignore diff --git a/src/templates/starter-templates/pwa/.gitignore b/src/templates/starter-templates/pwa/.mevngitignore similarity index 100% rename from src/templates/starter-templates/pwa/.gitignore rename to src/templates/starter-templates/pwa/.mevngitignore