git0 0.2.2 → 0.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.
@@ -464,6 +464,8 @@ function runCommand(cmd) {
464
464
  }
465
465
 
466
466
  export async function searchRepositories(query) {
467
+ printLogo()
468
+
467
469
  try {
468
470
  const response = await grab(GITHUB_API, {
469
471
  q: `${query} in:name`,
@@ -539,9 +541,9 @@ export async function downloadRepo(repo) {
539
541
  response = await grab(url.replace("/master", "/main"), params);
540
542
 
541
543
 
542
- setTimeout(() => {
544
+ // setTimeout(() => {
543
545
  openInIDE(extractPath);
544
- }, 1000);
546
+ // }, 1);
545
547
  installDependencies(extractPath);
546
548
  } catch (error) {
547
549
  console.error(chalk.red('Download failed:'), error.message);
@@ -561,7 +563,6 @@ function getAvailableDirectoryName(basePath) {
561
563
  }
562
564
 
563
565
  async function main() {
564
- printLogo()
565
566
  const args = process.argv.slice(2);
566
567
  if (!args.length) {
567
568
  log(chalk.yellow('Usage: gg <search-query>'));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "git0",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "A CLI manager for downloading GitHub repos.",
5
5
  "author": "vtempest",
6
6
  "license": "MIT",
@@ -23,8 +23,9 @@
23
23
  "publish:npm": "npm version patch && npm publish --access public"
24
24
  },
25
25
  "type": "module",
26
+ "main": "./git0.js",
26
27
  "bin": {
27
- "gg": "./gg.js",
28
- "git0": "./gg.js"
28
+ "gg": "./git0.js",
29
+ "git0": "./git0.js"
29
30
  }
30
31
  }
package/readme.md CHANGED
@@ -26,10 +26,10 @@
26
26
  </p>
27
27
 
28
28
 
29
- # Git0: Git Repo in Zero-Steps
29
+ # Git0: Git Package Manager with Zero Steps
30
30
 
31
- A fast and smart CLI tool to search, download source & releases for your system, and
32
- instantly set up GitHub repositories with automatic dependency installation and IDE integration.
31
+ CLI tool to search, download source & releases for your system, and
32
+ instantly set up GitHub repositories with automatic dependency installation and code editor opening.
33
33
 
34
34
  ![livepreview](https://i.imgur.com/Io3ukRC.gif)
35
35
  ![preview](https://i.imgur.com/K22NiBq.png)
@@ -71,7 +71,7 @@ npx git0 react starter
71
71
 
72
72
  ### Supported Project Types
73
73
 
74
- GG automatically detects and sets up the following project types:
74
+ `git0` automatically detects and sets up the following project types:
75
75
 
76
76
  | Project Type | Detection | Installation |
77
77
  |-------------|-----------|-------------|
@@ -83,7 +83,7 @@ GG automatically detects and sets up the following project types:
83
83
 
84
84
  ### Supported IDEs
85
85
 
86
- GG automatically detects and opens projects in your preferred IDE:
86
+ `git0` automatically detects and opens projects in your preferred IDE:
87
87
 
88
88
  - **Cursor** (`cursor`)
89
89
  - **Windsurf** (`windsurf`)
@@ -111,7 +111,7 @@ Without a token, you're limited to 60 requests per hour. With a token, you get 5
111
111
  4. **IDE is launched** automatically (if available)
112
112
  5. **Development server starts** (for Node.js projects)
113
113
 
114
- If a directory with the same name exists, GG automatically appends a number (e.g., `react-2`, `react-3`).
114
+ If a directory with the same name exists, `git0` automatically appends a number (e.g., `react-2`, `react-3`).
115
115
 
116
116
  ## 🎉 Why GG?
117
117