Update npm packages to latest versions

Fix JavaScript sourcemap paths to show full file locations
Implement --build-debug flag and complete Build UI streaming
Add xterm.js terminal UI and fix asset path routing
Add RSpade Build UI service with WebSocket support

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-10-31 08:12:33 +00:00
parent 393479280f
commit d7d341f752
15084 changed files with 980818 additions and 138 deletions

View File

@@ -14,7 +14,9 @@ class Bundle_Compile_Command extends Command
*
* @var string
*/
protected $signature = 'rsx:bundle:compile {bundle? : Bundle class name to compile (optional, compiles all if not specified)}';
protected $signature = 'rsx:bundle:compile
{bundle? : Bundle class name to compile (optional, compiles all if not specified)}
{--build-debug : Enable verbose build output (shows detailed compilation steps)}';
/**
* The console command description.
@@ -23,11 +25,26 @@ class Bundle_Compile_Command extends Command
*/
protected $description = 'Compile RSX bundles into JavaScript and CSS files';
/**
* Create a new command instance
*/
public function __construct()
{
parent::__construct();
// Check if --build-debug flag is present in command line args
// Define BUILD_DEBUG_MODE early (though Debugger also checks $_SERVER['argv'] directly)
if (in_array('--build-debug', $_SERVER['argv'] ?? [])) {
define('BUILD_DEBUG_MODE', true);
}
}
/**
* Execute the console command.
*/
public function handle()
{
$bundle_arg = $this->argument('bundle');
// Get all bundle classes from manifest
@@ -197,6 +214,12 @@ class Bundle_Compile_Command extends Command
$this->info("Tip: Use 'php artisan rsx:bundle:show <bundle>' to inspect bundle contents");
}
// Clear console_debug environment variables
if ($this->option('build-debug')) {
putenv('CONSOLE_DEBUG_FILTER');
putenv('CONSOLE_DEBUG_CLI');
}
return 0;
} else {
// Failures occurred
@@ -211,6 +234,12 @@ class Bundle_Compile_Command extends Command
$this->line(" {$error_message}");
}
// Clear console_debug environment variables
if ($this->option('build-debug')) {
putenv('CONSOLE_DEBUG_FILTER');
putenv('CONSOLE_DEBUG_CLI');
}
return 1;
}
}