@gravirei/reis 1.0.0 → 1.0.1

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 (2) hide show
  1. package/lib/install.js +23 -16
  2. package/package.json +1 -1
package/lib/install.js CHANGED
@@ -45,27 +45,34 @@ async function install() {
45
45
  // Interactive mode - show prompt
46
46
  console.log(chalk.white('This will install REIS files to ~/.rovodev/reis/\n'));
47
47
 
48
- // Prompt for confirmation
49
- const { confirm } = await inquirer.prompt([
50
- {
51
- type: 'confirm',
52
- name: 'confirm',
53
- message: 'Continue with installation?',
54
- default: true
48
+ try {
49
+ // Prompt for confirmation
50
+ const { confirm } = await inquirer.prompt([
51
+ {
52
+ type: 'confirm',
53
+ name: 'confirm',
54
+ message: 'Continue with installation?',
55
+ default: true
56
+ }
57
+ ]);
58
+
59
+ if (!confirm) {
60
+ console.log(chalk.yellow('\n✗ Installation cancelled'));
61
+ process.exit(0);
55
62
  }
56
- ]);
57
-
58
- if (!confirm) {
59
- console.log(chalk.yellow('\n✗ Installation cancelled'));
60
- process.exit(0);
63
+
64
+ console.log('');
65
+ await performInstallation();
66
+ } catch (promptError) {
67
+ // inquirer failed (likely no TTY), install anyway
68
+ console.log(chalk.gray('No interactive terminal detected - installing automatically...\n'));
69
+ await performInstallation();
61
70
  }
62
71
 
63
- console.log('');
64
- await performInstallation();
65
-
66
72
  } catch (error) {
67
73
  console.error(chalk.red('\n✗ Installation failed:'), error.message);
68
- process.exit(1);
74
+ // Don't exit with error code - allow npm install to continue
75
+ console.log(chalk.yellow('Installation had issues but package is available.'));
69
76
  }
70
77
  }
71
78
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravirei/reis",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Roadmap Execution & Implementation System - Systematic development with parallel subagent execution for Atlassian Rovo Dev",
5
5
  "main": "lib/index.js",
6
6
  "bin": {