gib-runs 2.3.0 → 2.3.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.
Files changed (3) hide show
  1. package/README.md +3 -3
  2. package/index.js +14 -2
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -372,7 +372,7 @@ gib-runs
372
372
  Network URLs are **ALWAYS shown automatically** when you start the server:
373
373
 
374
374
  ```
375
- 🚀 GIB-RUNS v2.3.0
375
+ 🚀 GIB-RUNS v2.3.2
376
376
  "Unlike Gibran, this actually works through merit"
377
377
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
378
378
  📁 Root: /home/user/project
@@ -491,7 +491,7 @@ gib-runs --tunnel-service=tunnelto
491
491
  ### Example Output
492
492
 
493
493
  ```
494
- 🚀 GIB-RUNS v2.3.0
494
+ 🚀 GIB-RUNS v2.3.2
495
495
  "Unlike Gibran, this actually works through merit"
496
496
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
497
497
  📁 Root: /home/user/project
@@ -621,7 +621,7 @@ pm2 list
621
621
  ### Example Output
622
622
 
623
623
  ```
624
- 🚀 GIB-RUNS v2.3.0
624
+ 🚀 GIB-RUNS v2.3.2
625
625
  "Unlike Gibran, this actually works through merit"
626
626
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
627
627
  📁 Root: /home/user/project
package/index.js CHANGED
@@ -353,7 +353,7 @@ GibRuns.start = function(options) {
353
353
  // Show info about what's running
354
354
  if (GibRuns.logLevel >= 1) {
355
355
  console.log('\n' + chalk.cyan.bold('━'.repeat(60)));
356
- console.log(chalk.cyan.bold(' 🚀 GIB-RUNS') + chalk.gray(' v2.3.0'));
356
+ console.log(chalk.cyan.bold(' 🚀 GIB-RUNS') + chalk.gray(' v2.3.2'));
357
357
  console.log(chalk.gray(' "Unlike Gibran, this actually works through merit"'));
358
358
  console.log(chalk.cyan.bold('━'.repeat(60)));
359
359
  console.log(chalk.white(' 📁 Root: ') + chalk.yellow(root));
@@ -391,6 +391,18 @@ GibRuns.start = function(options) {
391
391
  } else if (execCommand) {
392
392
  processRunner.runCommand(execCommand, { cwd: root });
393
393
  }
394
+
395
+ // Start tunnel if requested (for npm/exec mode)
396
+ if (enableTunnel) {
397
+ var tunnel = require('./lib/tunnel');
398
+ GibRuns.tunnel = tunnel;
399
+ setTimeout(function() {
400
+ // For npm/exec mode, we need to detect the port from the process output
401
+ // For now, use a default port or let user specify via --port
402
+ var tunnelPort = port || 8080;
403
+ tunnel.startTunnel(tunnelPort, tunnelService, tunnelOptions);
404
+ }, 2000);
405
+ }
394
406
  }, 500);
395
407
 
396
408
  return;
@@ -431,7 +443,7 @@ GibRuns.start = function(options) {
431
443
  // Output with beautiful formatting
432
444
  if (GibRuns.logLevel >= 1) {
433
445
  console.log('\n' + chalk.cyan.bold('━'.repeat(60)));
434
- console.log(chalk.cyan.bold(' 🚀 GIB-RUNS') + chalk.gray(' v2.3.0'));
446
+ console.log(chalk.cyan.bold(' 🚀 GIB-RUNS') + chalk.gray(' v2.3.2'));
435
447
  console.log(chalk.gray(' "Unlike Gibran, this actually works through merit"'));
436
448
  console.log(chalk.cyan.bold('━'.repeat(60)));
437
449
  console.log(chalk.white(' 📁 Root: ') + chalk.yellow(root));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gib-runs",
3
- "version": "2.3.0",
3
+ "version": "2.3.2",
4
4
  "description": "Modern development server with live reload, hot module replacement, and advanced features for all project types - runs on merit, not nepotism",
5
5
  "keywords": [
6
6
  "development",