This commit is contained in:
Adam Matthiesen 2024-01-27 22:34:47 -08:00
parent c95af3948d
commit f80b198cb2
5 changed files with 9 additions and 22 deletions

View File

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

View File

@ -122,6 +122,10 @@ async function createApp(projectName, projectPathname, { onError }) {
src: path.join(sharedTemplateDir, ".env"),
dest: path.join(projectPathname, ".env"),
},
{
src: path.join(sharedTemplateDir, ".gitignore"),
dest: path.join(projectPathname, ".gitignore"),
},
];
await Promise.all(
filesToCopy.map(async ({ src, dest }) => await fse.copy(src, dest))

View File

@ -122,6 +122,10 @@ async function createApp(projectName, projectPathname, { onError }) {
src: path.join(sharedTemplateDir, ".env"),
dest: path.join(projectPathname, ".env"),
},
{
src: path.join(sharedTemplateDir, ".gitignore"),
dest: path.join(projectPathname, ".gitignore"),
},
];
await Promise.all(
filesToCopy.map(async ({ src, dest }) => await fse.copy(src, dest))

View File

@ -1,21 +0,0 @@
# build output
dist/
# generated types
.astro/
# dependencies
node_modules/
# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
# environment variables
.env
.env.production
# macOS-specific files
.DS_Store