create-peachy 0.0.2 → 0.0.4
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.
- package/README.md +2 -2
- package/dist/index.mjs +5 -4
- package/package.json +5 -4
- package/template/.gitignore +2 -0
package/README.md
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
1
2
|
import { mkdir, readFile, readdir, stat, writeFile } from "node:fs/promises";
|
|
2
3
|
import { intro, log, outro, spinner, text } from "@clack/prompts";
|
|
3
4
|
import { dirname, resolve } from "node:path";
|
|
4
5
|
import h from "handlebars";
|
|
5
6
|
|
|
6
7
|
//#region package.json
|
|
7
|
-
var version = "0.0.
|
|
8
|
+
var version = "0.0.4";
|
|
8
9
|
|
|
9
10
|
//#endregion
|
|
10
11
|
//#region src/index.ts
|
|
11
12
|
const TEMPLATE_DIR = resolve(import.meta.dirname, "..", "template");
|
|
12
|
-
intro(`create-peachy`);
|
|
13
|
+
intro(`create-peachy v${version}`);
|
|
13
14
|
const name = await text({
|
|
14
15
|
message: "What is the name of your project?",
|
|
15
16
|
placeholder: "peachy-app",
|
|
@@ -33,8 +34,8 @@ for (const file of files) {
|
|
|
33
34
|
name,
|
|
34
35
|
safeName,
|
|
35
36
|
peachyVersion,
|
|
36
|
-
reactVersion: "^19.2.
|
|
37
|
-
reactTypesVersion: "^19.2.
|
|
37
|
+
reactVersion: "^19.2.3",
|
|
38
|
+
reactTypesVersion: "^19.2.8"
|
|
38
39
|
}));
|
|
39
40
|
}
|
|
40
41
|
s.stop("Copied files");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-peachy",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Bootstrap a peachy application",
|
|
6
6
|
"bin": "./dist/index.mjs",
|
|
@@ -12,12 +12,13 @@
|
|
|
12
12
|
},
|
|
13
13
|
"files": [
|
|
14
14
|
"dist",
|
|
15
|
-
"template"
|
|
15
|
+
"template",
|
|
16
|
+
"template/.gitignore"
|
|
16
17
|
],
|
|
17
18
|
"devDependencies": {
|
|
18
19
|
"@types/node": "^25.0.9",
|
|
19
|
-
"rolldown": "1.0.0-beta.
|
|
20
|
-
"tsdown": "0.20.0-beta.
|
|
20
|
+
"rolldown": "1.0.0-beta.60",
|
|
21
|
+
"tsdown": "0.20.0-beta.4",
|
|
21
22
|
"tsx": "^4.21.0",
|
|
22
23
|
"typescript": "^5.9.3"
|
|
23
24
|
},
|