repoburg 0.1.18 → 0.1.20

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repoburg",
3
- "version": "0.1.18",
3
+ "version": "0.1.20",
4
4
  "description": "Binary distribution for repoburg",
5
5
  "main": "index.js",
6
6
  "bin": {
package/platform-cli.js CHANGED
@@ -34,7 +34,7 @@ const handleApiError = async (error) => {
34
34
 
35
35
 
36
36
  program
37
- .name('repoburg-platform')
37
+ .name('repoburg')
38
38
  .description('CLI to manage the Repoburg Platform Daemon and services.')
39
39
  .version(packageJson.version);
40
40
 
@@ -79,8 +79,7 @@ program
79
79
  program
80
80
  .command('start [projectPath]')
81
81
  .description('Start a new repoburg-backend instance for a project.')
82
- .option('-v, --verbose', 'Enable verbose logging for the backend service')
83
- .action(async (projectPath, options) => {
82
+ .action(async (projectPath) => {
84
83
  const { default: chalk } = await import('chalk');
85
84
  const { default: open } = await import('open');
86
85
 
@@ -95,7 +94,7 @@ program
95
94
  clearInterval(pollInterval);
96
95
  clearInterval(spinner);
97
96
  process.stdout.write('\n');
98
- return reject(new Error('Login timed out. Please run `repoburg-platform login` and try again.'));
97
+ return reject(new Error('Login timed out. Please run `repoburg login` and try again.'));
99
98
  }
100
99
 
101
100
  try {
@@ -125,7 +124,7 @@ program
125
124
  clearInterval(pollInterval);
126
125
  clearInterval(spinner);
127
126
  process.stdout.write('\n');
128
- return reject(new Error('Backend health check timed out. Check logs with `repoburg-platform logs <name>`.'));
127
+ return reject(new Error('Backend health check timed out. Check logs with `repoburg logs <name>`.'));
129
128
  }
130
129
  try {
131
130
  await axios.get(`http://localhost:${port}/health`);
@@ -177,7 +176,7 @@ program
177
176
  // 4. Start the service
178
177
  console.log(chalk.cyan('Starting backend service...'));
179
178
  const targetPath = path.resolve(projectPath || '.');
180
- const startResponse = await axios.post(`${DAEMON_BASE_URL}/services/start`, { path: targetPath, verbose: options.verbose });
179
+ const startResponse = await axios.post(`${DAEMON_BASE_URL}/services/start`, { path: targetPath });
181
180
  const service = startResponse.data;
182
181
  console.log(chalk.green(`✓ Repoburg backend for '${service.name}' started on port ${service.port}.`));
183
182
 
Binary file
Binary file