gitarsenal-cli 1.1.22 → 1.1.24

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.
@@ -65,6 +65,15 @@ async function checkGit() {
65
65
  }
66
66
  }
67
67
 
68
+ async function checkGitingest() {
69
+ try {
70
+ await execAsync('gitingest --help');
71
+ return true;
72
+ } catch (error) {
73
+ return false;
74
+ }
75
+ }
76
+
68
77
  /**
69
78
  * Check all required dependencies
70
79
  * @returns {Promise<boolean>} - True if all dependencies are met
@@ -73,6 +82,7 @@ async function checkDependencies() {
73
82
  const pythonCheck = await checkPython();
74
83
  const modalExists = await checkModal();
75
84
  const gitExists = await checkGit();
85
+ const gitingestExists = await checkGitingest();
76
86
 
77
87
  let allDependenciesMet = true;
78
88
 
@@ -91,6 +101,13 @@ async function checkDependencies() {
91
101
  console.log(`${chalk.red('✗')} Modal CLI not found. Please install it with: pip install modal`);
92
102
  allDependenciesMet = false;
93
103
  }
104
+
105
+ if (gitingestExists) {
106
+ console.log(`${chalk.green('✓')} Gitingest CLI found`);
107
+ } else {
108
+ console.log(`${chalk.red('✗')} Gitingest CLI not found. Please install it with: pip install gitingest`);
109
+ allDependenciesMet = false;
110
+ }
94
111
 
95
112
  if (gitExists) {
96
113
  console.log(`${chalk.green('✓')} Git found`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gitarsenal-cli",
3
- "version": "1.1.22",
3
+ "version": "1.1.24",
4
4
  "description": "CLI tool for creating Modal sandboxes with GitHub repositories",
5
5
  "main": "index.js",
6
6
  "bin": {