devtunnel-cli 3.1.0 → 3.1.2

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
@@ -10,15 +10,11 @@
10
10
 
11
11
  ## Install
12
12
 
13
- | Platform | Command |
14
- | -------- | ------- |
15
- | **Windows** | `winget install devtunnel-cli` |
16
- | **macOS** | `brew install devtunnel-cli` |
17
- | **Linux** | `sudo apt install devtunnel-cli` |
18
- | **npm** | `npm i -g devtunnel-cli` |
13
+ ```bash
14
+ npm i -g devtunnel-cli
15
+ ```
19
16
 
20
- Windows, macOS, and Linux: same style — **standalone binary**, no Node required.
21
- **Linux (first time only):** run once `curl -fsSL https://raw.githubusercontent.com/maiz-an/DevTunnel-CLI/main/scripts/install.sh | sudo sh` to add our APT repo, then use the command above. npm requires Node.
17
+ Then run `devtunnel-cli` from your project directory.
22
18
 
23
19
  ---
24
20
 
@@ -34,8 +30,7 @@ DevTunnel-CLI is built for developers who need instant public URLs to share work
34
30
 
35
31
  ### Step-by-Step Guide
36
32
 
37
- **1. Install DevTunnel (one-time setup):**
38
- Use **Windows** (winget), **macOS** (brew), **Linux** (apt), or **npm** — see the [Install](#install) table above.
33
+ **1. Install DevTunnel (one-time setup):**
39
34
 
40
35
  ```bash
41
36
  npm i -g devtunnel-cli
@@ -86,7 +81,7 @@ devtunnel-cli # Auto-detects project type and port!
86
81
 
87
82
  **Important:** Run `devtunnel-cli` from the same directory as your project!
88
83
 
89
- 1. **Install DevTunnel** (one-time): use winget, brew, apt, or [npm](#install) above.
84
+ 1. **Install DevTunnel** (one-time): `npm i -g devtunnel-cli` see [Install](#install) above.
90
85
  2. **Go to your project**: `cd your-project` (Node, Laravel, HTML, or XAMPP folder)
91
86
  3. **Have your app running**: `npm run dev`, `php artisan serve`, or XAMPP. For HTML, optional — DevTunnel can serve it.
92
87
  4. **Open a new terminal** in the same project directory
@@ -120,8 +115,7 @@ devtunnel-cli
120
115
 
121
116
  ## 🛠️ Requirements
122
117
 
123
- - **Windows / macOS / Linux (OS install):** No Node required — standalone binary.
124
- - **npm install:** Node.js 16+ ([nodejs.org](https://nodejs.org)).
118
+ - Node.js 16+ ([nodejs.org](https://nodejs.org)).
125
119
  - Internet connection and your dev server running.
126
120
 
127
121
  Cloudflare is automatically bundled on first run.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtunnel-cli",
3
- "version": "3.1.0",
3
+ "version": "3.1.2",
4
4
  "type": "module",
5
5
  "description": "DevTunnel-CLI — fast, zero-config tool to share local servers for development, testing, demos, and webhook debugging. npm i -g devtunnel-cli.",
6
6
  "main": "src/core/start.js",
@@ -17,7 +17,6 @@
17
17
  "run": "node src/core/RUN.js",
18
18
  "tunnel": "node src/core/index.js",
19
19
  "sync-version": "node sync-version.js",
20
- "build:standalone": "node scripts/build-standalone.js",
21
20
  "test": "node -e \"console.log('ok')\"",
22
21
  "prepublishOnly": "npm test",
23
22
  "postinstall": "node src/utils/postinstall-global-check.cjs"
@@ -84,7 +83,5 @@
84
83
  "localtunnel": "^2.0.2",
85
84
  "prompts": "^2.4.2"
86
85
  },
87
- "devDependencies": {
88
- "@yao-pkg/pkg": "^5.15.0"
89
- }
90
- }
86
+ "devDependencies": {}
87
+ }
package/src/core/start.js CHANGED
@@ -17,10 +17,10 @@ function getPackageVersion() {
17
17
  const pkgPath = join(PROJECT_ROOT, "package.json");
18
18
  if (existsSync(pkgPath)) {
19
19
  const pkg = JSON.parse(readFileSync(pkgPath, "utf8"));
20
- return pkg.version || "3.1.0";
20
+ return pkg.version || "3.1.1";
21
21
  }
22
22
  } catch (err) { }
23
- return "3.1.0";
23
+ return "3.1.1";
24
24
  }
25
25
 
26
26
  // Helper to run command
@@ -112,7 +112,7 @@ devtunnel-cli</code></pre>
112
112
  </ul>
113
113
 
114
114
  <hr>
115
- <p><small>Version <span id="pkg-version">3.1.0</span> | Made with ❤︎ for developers worldwide</small></p>
115
+ <p><small>Version <span id="pkg-version">3.1.1</span> | Made with ❤︎ for developers worldwide</small></p>
116
116
 
117
117
  <script>
118
118
  (async function () {