ts-vibe 1.4.0 → 1.4.1

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
@@ -1,4 +1,4 @@
1
- # tsBootstrup
1
+ # ts-vibe
2
2
 
3
3
  CLI tool for bootstrapping TypeScript projects
4
4
 
@@ -20,19 +20,19 @@ CLI tool for bootstrapping TypeScript projects
20
20
  ### Create a new project
21
21
 
22
22
  ```bash
23
- tsbootstrap init
23
+ npx ts-vibe init
24
24
  ```
25
25
 
26
26
  With Git:
27
27
 
28
28
  ```bash
29
- tsbootstrap init --git
29
+ npx ts-vibe init --git
30
30
  ```
31
31
 
32
32
  Skip README creation:
33
33
 
34
34
  ```bash
35
- tsbootstrap init --noReadme
35
+ npx ts-vibe init --noReadme
36
36
  ```
37
37
 
38
38
  ---
@@ -40,14 +40,9 @@ tsbootstrap init --noReadme
40
40
  ### Run project
41
41
 
42
42
  ```bash
43
- tsbootstrap run
43
+ npm start
44
44
  ```
45
45
 
46
- or shorthand:
47
-
48
- ```bash
49
- tsbootstrap r
50
- ```
51
46
  ---
52
47
 
53
48
  ## 🧠 Flags
@@ -55,7 +50,6 @@ tsbootstrap r
55
50
  | Flag | Alias | Description |
56
51
  | ------------ | ----- | ------------------------- |
57
52
  | `--init` | `-i` | Create a new project |
58
- | `--run` | `-r` | Run the project |
59
53
  | `--clear` | `-c` | Clear current directory |
60
54
  | `--git` | `-g` | Initialize git repository |
61
55
  | `--lang` | `-l` | Choose cli lang en/ru |
@@ -65,16 +59,16 @@ tsbootstrap r
65
59
 
66
60
  ## ⚠️ Requirements
67
61
 
68
- * Go 1.20+
69
- * Node.js (for running TypeScript projects)
70
- * Git (optional)
62
+ - Go 1.20+
63
+ - Node.js (for running TypeScript projects)
64
+ - Git (optional)
71
65
 
72
66
  ---
73
67
 
74
68
  ## 🛠 Example Workflow
75
69
 
76
70
  ```bash
77
- tsbootstrap init --git
71
+ npx ts-vibe init --git --lang=ru
78
72
  cd my-project
79
73
  npm start
80
74
  ```
Binary file
Binary file
Binary file
package/index.js CHANGED
@@ -9,18 +9,18 @@ const platform = os.platform();
9
9
  let binary;
10
10
 
11
11
  if (platform === "linux") {
12
- binary = "tsBootstrap-linux";
12
+ binary = "ts-vibe-linux";
13
13
  } else if (platform === "win32") {
14
- binary = "tsBootstrap-windows.exe";
14
+ binary = "ts-vibe-windows.exe";
15
15
  } else if (platform === "darwin") {
16
- binary = "tsBootstrap-mac";
16
+ binary = "ts-vibe-mac";
17
17
  } else {
18
- console.error("Unsupported OS");
19
- process.exit(1);
18
+ console.error("Unsupported OS");
19
+ process.exit(1);
20
20
  }
21
21
 
22
22
  const binPath = path.join(__dirname, "bin", "release", binary);
23
23
 
24
24
  spawnSync(binPath, process.argv.slice(2), {
25
- stdio: "inherit",
25
+ stdio: "inherit",
26
26
  });
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "ts-vibe",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "CLI for quick TypeScript project bootstrap",
5
5
  "bin": {
6
- "ts-bootstrap": "./index.js"
6
+ "ts-vibe": "./index.js"
7
7
  },
8
8
  "files": [
9
9
  "index.js",