create-peachy 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ import { dirname, resolve } from "node:path";
5
5
  import h from "handlebars";
6
6
 
7
7
  //#region package.json
8
- var version = "0.0.4";
8
+ var version = "0.0.5";
9
9
 
10
10
  //#endregion
11
11
  //#region src/index.ts
@@ -27,7 +27,7 @@ const files = await readdir(TEMPLATE_DIR, { recursive: true });
27
27
  for (const file of files) {
28
28
  if (!(await stat(resolve(TEMPLATE_DIR, file))).isFile()) continue;
29
29
  const inputPath = resolve(TEMPLATE_DIR, file);
30
- const outputPath = resolve(OUTDIR, file);
30
+ const outputPath = resolve(OUTDIR, file === ".npmignore" ? ".gitignore" : file);
31
31
  await mkdir(dirname(outputPath), { recursive: true });
32
32
  const fileContent = await readFile(inputPath, "utf8");
33
33
  await writeFile(outputPath, h.compile(fileContent)({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-peachy",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "type": "module",
5
5
  "description": "Bootstrap a peachy application",
6
6
  "bin": "./dist/index.mjs",