This commit is contained in:
Adam Matthiesen 2024-01-27 22:36:56 -08:00
parent f80b198cb2
commit b94d4a5f31
3 changed files with 5 additions and 13 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@matthiesenxyz/create-astro-ghostcms", "name": "@matthiesenxyz/create-astro-ghostcms",
"version": "0.0.1-dev27", "version": "0.0.1-dev28",
"description": "Utility to quickly get started with our Integration and astro", "description": "Utility to quickly get started with our Integration and astro",
"type": "module", "type": "module",
"main": "./create-astro-ghostcms.mjs", "main": "./create-astro-ghostcms.mjs",

View File

@ -119,12 +119,8 @@ async function createApp(projectName, projectPathname, { onError }) {
// Copy misc files from shared // Copy misc files from shared
const filesToCopy = [ const filesToCopy = [
{ {
src: path.join(sharedTemplateDir, ".env"), src: path.join(sharedTemplateDir),
dest: path.join(projectPathname, ".env"), dest: path.join(projectPathname),
},
{
src: path.join(sharedTemplateDir, ".gitignore"),
dest: path.join(projectPathname, ".gitignore"),
}, },
]; ];
await Promise.all( await Promise.all(

View File

@ -119,12 +119,8 @@ async function createApp(projectName, projectPathname, { onError }) {
// Copy misc files from shared // Copy misc files from shared
const filesToCopy = [ const filesToCopy = [
{ {
src: path.join(sharedTemplateDir, ".env"), src: path.join(sharedTemplateDir),
dest: path.join(projectPathname, ".env"), dest: path.join(projectPathname),
},
{
src: path.join(sharedTemplateDir, ".gitignore"),
dest: path.join(projectPathname, ".gitignore"),
}, },
]; ];
await Promise.all( await Promise.all(