create-kor 0.2.1 → 0.3.0

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 (3) hide show
  1. package/README.md +14 -2
  2. package/index.js +16 -3
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -19,14 +19,26 @@ This will:
19
19
 
20
20
  ## Getting started
21
21
 
22
+ If you have [Make](https://www.gnu.org/software/make/) installed, a single command handles everything:
23
+
24
+ ```bash
25
+ cd <project-name>
26
+ make kor
27
+ ```
28
+
29
+ Otherwise, run the steps manually:
30
+
22
31
  ```bash
23
32
  cd <project-name>
24
33
  pnpm install
34
+ pnpm db:push
25
35
  pnpm dev
26
36
  ```
27
37
 
28
- - **Web app** — [http://localhost:3000](http://localhost:3000)
29
- - **API** — [http://localhost:3001](http://localhost:3001)
38
+ - **Home** — [http://localhost:3000](http://localhost:3000)
39
+ - **tRPC demo** — [http://localhost:3000/trpc-demo](http://localhost:3000/trpc-demo)
40
+ - **Design system** — [http://localhost:3000/design](http://localhost:3000/design)
41
+ - **API health** — [http://localhost:3001/health](http://localhost:3001/health)
30
42
 
31
43
  ## What's inside
32
44
 
package/index.js CHANGED
@@ -51,7 +51,20 @@ execSync("git init && git add . && git commit -m 'Initial commit'", {
51
51
  stdio: "inherit",
52
52
  });
53
53
 
54
- console.log("\nDone! Next steps:\n");
54
+ console.log("");
55
+ console.log(" ~~ ~ ______________");
56
+ console.log(" \\ K O R \\___");
57
+ console.log(" ~~ ~ | o o |==>");
58
+ console.log(" \\____________/");
59
+ console.log(" (_) (_)");
60
+ console.log("");
61
+ console.log("Done! Next steps:\n");
55
62
  console.log(` cd ${projectName}`);
56
- console.log(" pnpm install");
57
- console.log(" pnpm dev");
63
+ console.log("");
64
+ console.log(" If you have Make installed:");
65
+ console.log(" make kor");
66
+ console.log("");
67
+ console.log(" Otherwise:");
68
+ console.log(" pnpm install");
69
+ console.log(" pnpm db:push");
70
+ console.log(" pnpm dev");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-kor",
3
- "version": "0.2.1",
3
+ "version": "0.3.0",
4
4
  "description": "Create a new kor project",
5
5
  "type": "module",
6
6
  "bin": {