test
This commit is contained in:
parent
c95af3948d
commit
f80b198cb2
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@matthiesenxyz/create-astro-ghostcms",
|
"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",
|
"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",
|
||||||
|
|
|
@ -122,6 +122,10 @@ async function createApp(projectName, projectPathname, { onError }) {
|
||||||
src: path.join(sharedTemplateDir, ".env"),
|
src: path.join(sharedTemplateDir, ".env"),
|
||||||
dest: path.join(projectPathname, ".env"),
|
dest: path.join(projectPathname, ".env"),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
src: path.join(sharedTemplateDir, ".gitignore"),
|
||||||
|
dest: path.join(projectPathname, ".gitignore"),
|
||||||
|
},
|
||||||
];
|
];
|
||||||
await Promise.all(
|
await Promise.all(
|
||||||
filesToCopy.map(async ({ src, dest }) => await fse.copy(src, dest))
|
filesToCopy.map(async ({ src, dest }) => await fse.copy(src, dest))
|
||||||
|
|
|
@ -122,6 +122,10 @@ async function createApp(projectName, projectPathname, { onError }) {
|
||||||
src: path.join(sharedTemplateDir, ".env"),
|
src: path.join(sharedTemplateDir, ".env"),
|
||||||
dest: path.join(projectPathname, ".env"),
|
dest: path.join(projectPathname, ".env"),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
src: path.join(sharedTemplateDir, ".gitignore"),
|
||||||
|
dest: path.join(projectPathname, ".gitignore"),
|
||||||
|
},
|
||||||
];
|
];
|
||||||
await Promise.all(
|
await Promise.all(
|
||||||
filesToCopy.map(async ({ src, dest }) => await fse.copy(src, dest))
|
filesToCopy.map(async ({ src, dest }) => await fse.copy(src, dest))
|
||||||
|
|
|
@ -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
|
|
Loading…
Reference in New Issue