create-peachy 0.0.11 → 0.0.13
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/dist/index.mjs +4 -7
- package/package.json +7 -7
- package/template/src/counter.tsx +1 -1
- package/template/tsconfig.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3,10 +3,8 @@ import { mkdir, readFile, readdir, stat, writeFile } from "node:fs/promises";
|
|
|
3
3
|
import { dirname, resolve } from "node:path";
|
|
4
4
|
import { intro, log, outro, spinner, text } from "@clack/prompts";
|
|
5
5
|
import h from "handlebars";
|
|
6
|
-
|
|
7
6
|
//#region package.json
|
|
8
|
-
var version = "0.0.
|
|
9
|
-
|
|
7
|
+
var version = "0.0.13";
|
|
10
8
|
//#endregion
|
|
11
9
|
//#region src/index.ts
|
|
12
10
|
const TEMPLATE_DIR = resolve(import.meta.dirname, "..", "template");
|
|
@@ -34,14 +32,13 @@ for (const file of files) {
|
|
|
34
32
|
name,
|
|
35
33
|
safeName,
|
|
36
34
|
peachyVersion,
|
|
37
|
-
reactVersion: "^19.2.
|
|
38
|
-
reactTypesVersion: "^19.2.
|
|
35
|
+
reactVersion: "^19.2.5",
|
|
36
|
+
reactTypesVersion: "^19.2.14"
|
|
39
37
|
}));
|
|
40
38
|
}
|
|
41
39
|
s.stop("Copied files");
|
|
42
40
|
log.success(`Initialized peachy project at: ${OUTDIR}`);
|
|
43
41
|
log.info(`Remember to \`npm install\` and \`npm run dev\` to get started.`);
|
|
44
42
|
outro(`Done!`);
|
|
45
|
-
|
|
46
43
|
//#endregion
|
|
47
|
-
export {
|
|
44
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-peachy",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"description": "Bootstrap a peachy application",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "",
|
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
],
|
|
13
13
|
"type": "module",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@clack/prompts": "^1.
|
|
16
|
-
"handlebars": "^4.7.
|
|
15
|
+
"@clack/prompts": "^1.2.0",
|
|
16
|
+
"handlebars": "^4.7.9"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@types/node": "^25.2
|
|
20
|
-
"rolldown": "1.0.0-rc.
|
|
21
|
-
"tsdown": "0.
|
|
19
|
+
"@types/node": "^25.5.2",
|
|
20
|
+
"rolldown": "1.0.0-rc.14",
|
|
21
|
+
"tsdown": "0.21.7",
|
|
22
22
|
"tsx": "^4.21.0",
|
|
23
|
-
"typescript": "^
|
|
23
|
+
"typescript": "^6.0.2"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"build": "tsdown"
|
package/template/src/counter.tsx
CHANGED
package/template/tsconfig.json
CHANGED