repoburg 1.2.2 → 1.2.3
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/package.json +1 -1
- package/platform-cli.js +4 -4
package/package.json
CHANGED
package/platform-cli.js
CHANGED
|
@@ -186,7 +186,7 @@ program
|
|
|
186
186
|
.requiredOption('-u, --url <url>', 'The URL of the target application (e.g., http://localhost:5173)')
|
|
187
187
|
.action(async (options) => {
|
|
188
188
|
const { default: chalk } = await import('chalk');
|
|
189
|
-
|
|
189
|
+
|
|
190
190
|
// 1. Get active backend port from daemon
|
|
191
191
|
let backendPort;
|
|
192
192
|
try {
|
|
@@ -207,7 +207,7 @@ program
|
|
|
207
207
|
const proxyPath = path.resolve(__dirname, 'visual-editor-proxy');
|
|
208
208
|
console.log(chalk.cyan(`Starting Visual Editor proxy for: ${options.url}`));
|
|
209
209
|
|
|
210
|
-
const child = spawn('npm', ['run', '
|
|
210
|
+
const child = spawn('npm', ['run', 'start'], {
|
|
211
211
|
cwd: proxyPath,
|
|
212
212
|
stdio: 'inherit', // Pipe output to the parent terminal
|
|
213
213
|
shell: true,
|
|
@@ -424,7 +424,7 @@ program
|
|
|
424
424
|
console.warn(chalk.yellow('Could not stop services, continuing with update...'));
|
|
425
425
|
}
|
|
426
426
|
}
|
|
427
|
-
|
|
427
|
+
|
|
428
428
|
await runCommand('npm', ['i', '-g', 'repoburg@latest']);
|
|
429
429
|
|
|
430
430
|
console.log(chalk.green.bold('\n✓ Repoburg update complete!'));
|
|
@@ -436,4 +436,4 @@ program
|
|
|
436
436
|
}
|
|
437
437
|
});
|
|
438
438
|
|
|
439
|
-
program.parse(process.argv);
|
|
439
|
+
program.parse(process.argv);
|