easyorders 0.1.4 → 0.1.6

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 CHANGED
@@ -16,18 +16,15 @@ The tunnel URL is tied to your current browser session. When you stop the dev se
16
16
  npm install -g easyorders
17
17
  ```
18
18
 
19
- Or use directly with `npx`:
20
19
 
21
- ```bash
22
- npx easyorders
23
- ```
20
+
24
21
 
25
22
  ## Usage
26
23
 
27
24
  ### Create a new theme project
28
25
 
29
26
  ```bash
30
- npx easyorders create-theme my-theme
27
+ easyorders create-theme my-theme
31
28
  ```
32
29
 
33
30
  This scaffolds a new directory `my-theme/` containing only the `theme/` folder and a minimal `package.json`. No server code is included — the server runs from the CLI package itself.
@@ -36,7 +33,7 @@ This scaffolds a new directory `my-theme/` containing only the `theme/` folder a
36
33
 
37
34
  ```bash
38
35
  cd my-theme
39
- npx easyorders start
36
+ easyorders start
40
37
  ```
41
38
 
42
39
  This will:
@@ -48,7 +45,7 @@ This will:
48
45
 
49
46
  ### Interactive mode
50
47
 
51
- Running `npx easyorders` without arguments shows an interactive menu where you can choose to create a theme or start the dev server.
48
+ Running `easyorders` without arguments shows an interactive menu where you can choose to create a theme or start the dev server.
52
49
 
53
50
  ## Environment Variables
54
51
 
package/dist/bin/cli.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easyorders",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "CLI tool for creating and developing Easy Orders themes",
5
5
  "type": "module",
6
6
  "bin": {
@@ -17,7 +17,7 @@
17
17
  ],
18
18
  "license": "MIT",
19
19
  "scripts": {
20
- "build": "tsc && cp -r cli/template dist/template",
20
+ "build": "tsc && shx cp -r cli/template dist/template",
21
21
  "dev": "npx tsx cli/bin/cli.ts start",
22
22
  "create-theme": "npx tsx cli/bin/cli.ts create-theme"
23
23
  },
@@ -33,6 +33,7 @@
33
33
  "@types/express": "^4.17.21",
34
34
  "@types/node": "^22.10.0",
35
35
  "concurrently": "^9.2.1",
36
+ "shx": "^0.4.0",
36
37
  "tsx": "^4.19.2",
37
38
  "typescript": "^5.7.2"
38
39
  }