genbox 1.0.49 → 1.0.50

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.
@@ -986,15 +986,16 @@ function generateDefaultProfiles(detected, environments) {
986
986
  };
987
987
  }
988
988
  }
989
- // Full local development
990
- if (frontendApps.length > 0 && backendApps.length > 0) {
991
- const [frontendName] = frontendApps[0];
992
- profiles[`${frontendName}-full`] = {
993
- description: `${frontendName} + local backend` + (remoteEnv ? ' + DB copy' : ''),
994
- size: 'large',
995
- apps: [frontendName, ...backendApps.map(([n]) => n)],
996
- database: remoteEnv ? { mode: 'copy', source: remoteEnv } : { mode: 'local' },
997
- };
989
+ // Full local development - only create if multiple frontends exist (otherwise full-stack covers it)
990
+ if (frontendApps.length > 1 && backendApps.length > 0) {
991
+ for (const [frontendName] of frontendApps.slice(0, 2)) {
992
+ profiles[`${frontendName}-full`] = {
993
+ description: `${frontendName} + local backend` + (remoteEnv ? ' + DB copy' : ''),
994
+ size: 'large',
995
+ apps: [frontendName, ...backendApps.map(([n]) => n)],
996
+ database: remoteEnv ? { mode: 'copy', source: remoteEnv } : { mode: 'local' },
997
+ };
998
+ }
998
999
  }
999
1000
  // Backend development
1000
1001
  for (const [name] of backendApps.slice(0, 2)) {
@@ -1005,11 +1006,11 @@ function generateDefaultProfiles(detected, environments) {
1005
1006
  database: { mode: 'local' },
1006
1007
  };
1007
1008
  }
1008
- // Full stack
1009
+ // Full stack - includes all runnable apps
1009
1010
  if (allRunnableApps.length > 1) {
1010
1011
  profiles['full-stack'] = {
1011
1012
  description: 'Everything local' + (remoteEnv ? ' with DB copy' : ''),
1012
- size: 'xl',
1013
+ size: 'large',
1013
1014
  apps: allRunnableApps.map(([n]) => n),
1014
1015
  database: remoteEnv ? { mode: 'copy', source: remoteEnv } : { mode: 'local' },
1015
1016
  };
@@ -1551,14 +1552,14 @@ exports.initCommand = new commander_1.Command('init')
1551
1552
  let detected;
1552
1553
  const existingDetected = loadDetectedConfig(rootDir);
1553
1554
  if (existingDetected && !nonInteractive) {
1554
- console.log(chalk_1.default.dim(`Found existing .genbox/detected.yaml (${existingDetected._meta.generated_at})`));
1555
- const useExisting = await prompts.confirm({
1556
- message: 'Use existing scan results or rescan?',
1557
- default: true,
1555
+ console.log(chalk_1.default.dim(`Found cached project scan from ${existingDetected._meta.generated_at}`));
1556
+ const rescan = await prompts.confirm({
1557
+ message: 'Rescan the project?',
1558
+ default: false,
1558
1559
  });
1559
- if (useExisting) {
1560
+ if (!rescan) {
1560
1561
  detected = existingDetected;
1561
- console.log(chalk_1.default.dim('Using existing scan results.'));
1562
+ console.log(chalk_1.default.dim('Using cached scan results.'));
1562
1563
  }
1563
1564
  else {
1564
1565
  const spinner = (0, ora_1.default)('Scanning project...').start();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genbox",
3
- "version": "1.0.49",
3
+ "version": "1.0.50",
4
4
  "description": "Genbox CLI - AI-Powered Development Environments",
5
5
  "main": "dist/index.js",
6
6
  "bin": {