git0 0.3.17 → 0.3.18
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/docs/README.md +20 -0
- package/docs/app/(home)/docs-home.css +235 -0
- package/docs/app/(home)/layout.tsx +12 -0
- package/docs/app/(home)/page.tsx +27 -0
- package/docs/app/docs/[[...slug]]/page.tsx +84 -0
- package/docs/app/docs/api/docs-search/route.ts +11 -0
- package/docs/app/docs/layout.tsx +16 -0
- package/docs/app/docs/llms-full.txt/route.ts +15 -0
- package/docs/app/docs/llms.mdx/docs/[[...slug]]/route.ts +24 -0
- package/docs/app/globals.css +814 -0
- package/docs/app/layout.config.tsx +32 -0
- package/docs/app/layout.tsx +22 -0
- package/docs/app/provider.tsx +20 -0
- package/docs/cli.json +11 -0
- package/docs/components/DocsHomepage/code-example.tsx +123 -0
- package/docs/components/DocsHomepage/features-grid.tsx +92 -0
- package/docs/components/DocsHomepage/footer.tsx +58 -0
- package/docs/components/DocsHomepage/hero-section.tsx +114 -0
- package/docs/components/DocsHomepage/project-types.tsx +114 -0
- package/docs/components/fumadocs/ai/ask-ai-dropdown.tsx +299 -0
- package/docs/components/fumadocs/ai/llm-copy-button.tsx +61 -0
- package/docs/components/fumadocs/api/api-page.client.tsx +7 -0
- package/docs/components/fumadocs/api/api-page.tsx +7 -0
- package/docs/components/fumadocs/layout/breadcrumb.tsx +36 -0
- package/docs/components/fumadocs/layout/search.tsx +55 -0
- package/docs/components/fumadocs/layout/theme-dropdown.tsx +3 -0
- package/docs/components/fumadocs/layout/theme-provider.tsx +15 -0
- package/docs/components/fumadocs/layout/theme-toggle.tsx +40 -0
- package/docs/components/ui/badge.tsx +50 -0
- package/docs/components/ui/button.tsx +66 -0
- package/docs/components/ui/collapsible.tsx +44 -0
- package/docs/components/ui/slider.tsx +36 -0
- package/docs/components/ui/tooltip.tsx +63 -0
- package/docs/components/ui/video-modal.tsx +238 -0
- package/docs/content/docs/fm.mdx +11 -0
- package/docs/content/docs/git0.mdx +104 -0
- package/docs/content/docs/github-api.mdx +764 -0
- package/docs/content/docs/index.mdx +98 -0
- package/docs/content/docs/meta.json +15 -0
- package/docs/content/docs/modules.mdx +10 -0
- package/docs/lib/fumadocs/customize-docs.ts +47 -0
- package/docs/lib/fumadocs/generate-api-docs.ts +73 -0
- package/docs/lib/fumadocs/source.tsx +50 -0
- package/docs/lib/utils.ts +10 -0
- package/docs/mdx-components.tsx +21 -0
- package/docs/next-env.d.ts +7 -0
- package/docs/next.config.ts +35 -0
- package/docs/package.json +61 -0
- package/docs/postcss.config.mjs +5 -0
- package/docs/public/apple-touch-icon.png +0 -0
- package/docs/public/favicon-192.png +0 -0
- package/docs/public/favicon-512.png +0 -0
- package/docs/public/favicon.ico +0 -0
- package/docs/public/manifest.webmanifest +14 -0
- package/docs/source.config.ts +29 -0
- package/docs/tsconfig.json +50 -0
- package/docs/vite.config.ts +2 -0
- package/docs/wrangler.jsonc +13 -0
- package/package.json +1 -1
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Introduction
|
|
3
|
+
description: Download Git Repo on Step Zero — search GitHub, download source & releases, install dependencies and open your editor.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+

|
|
7
|
+
|
|
8
|
+
[](https://www.npmjs.com/package/git0) [](https://discord.gg/SJdBqBz3tV) [](https://github.com/OpenSourceAGI/dev-tools-starter-agent) [](https://github.com/OpenSourceAGI/dev-tools-starter-agent/discussions) 
|
|
9
|
+
|
|
10
|
+
CLI tool to search GitHub repositories, download source & releases for your system, and instantly set up, then install dependencies and open code editor.
|
|
11
|
+
|
|
12
|
+
## 🚀 Installation
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npm install -g git0
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
bun install -g git0
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+

|
|
23
|
+

|
|
24
|
+
|
|
25
|
+
## ✨ Features
|
|
26
|
+
|
|
27
|
+
- **Search GitHub repositories** by name with fuzzy matching
|
|
28
|
+
- **Download repositories** directly from GitHub URLs or owner/repo shortcuts. Skip the manual git clone, cd, install dance
|
|
29
|
+
- **Get Releases** instantly download latest release for your system or all systems
|
|
30
|
+
- **Automatic dependency installation** and installation for multiple project types
|
|
31
|
+
- **Smart IDE integration** - automatically opens projects in your preferred editor
|
|
32
|
+
- **Cross-platform support** - works on Windows, macOS, and Linux
|
|
33
|
+
- **Conflict resolution** - handles directory naming conflicts automatically
|
|
34
|
+
- **Faster than git** - skips `.git` history and uncompresses while downloading
|
|
35
|
+
|
|
36
|
+
## 🎯 Usage
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
|
|
40
|
+
# Direct download from GitHub URL
|
|
41
|
+
## g and git0 both work
|
|
42
|
+
g https://github.com/facebook/react
|
|
43
|
+
|
|
44
|
+
# Search for repositories by name
|
|
45
|
+
g react starter
|
|
46
|
+
|
|
47
|
+
# Download using owner/repo shorthand
|
|
48
|
+
git0 facebook/react
|
|
49
|
+
|
|
50
|
+
# Use git0 without installing, (only node needed)
|
|
51
|
+
# (copy this line into your project's readme to help others setup)
|
|
52
|
+
npx git0 facebook/react
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### Supported Project Types
|
|
56
|
+
|
|
57
|
+
git0 automatically detects and sets up the following project types:
|
|
58
|
+
|
|
59
|
+
| Project Type | Detection | Installation |
|
|
60
|
+
|-------------|-----------|-------------|
|
|
61
|
+
| **Node.js** | `package.json` | `bun install` (fallback to `npm install`) |
|
|
62
|
+
| **Docker** | `Dockerfile`, `docker-compose.yml` | `docker-compose up -d` or `docker build` |
|
|
63
|
+
| **Python** | `requirements.txt`, `setup.py` | Virtual environment + pip install |
|
|
64
|
+
| **Rust** | `Cargo.toml` | `cargo build` |
|
|
65
|
+
| **Go** | `go.mod` | `go mod tidy` |
|
|
66
|
+
|
|
67
|
+
### Supported IDEs
|
|
68
|
+
|
|
69
|
+
git0 automatically detects and opens projects in your preferred IDE:
|
|
70
|
+
|
|
71
|
+
- **Cursor** (`cursor`)
|
|
72
|
+
- **Windsurf** (`windsurf`)
|
|
73
|
+
- **VS Code** (`code`)
|
|
74
|
+
- **Code Server** (`code-server`)
|
|
75
|
+
- **Neovim** (`nvim`)
|
|
76
|
+
- **Webstorm** (`webstorm`)
|
|
77
|
+
|
|
78
|
+
## 🔧 Configuration
|
|
79
|
+
|
|
80
|
+
### What Happens After Download
|
|
81
|
+
|
|
82
|
+
1. **Repository is downloaded** to your current directory
|
|
83
|
+
2. **Project type is detected** automatically
|
|
84
|
+
3. **Dependencies are installed** based on project type
|
|
85
|
+
4. **IDE is launched** automatically (if available)
|
|
86
|
+
5. **Development server starts** (for Node.js projects)
|
|
87
|
+
|
|
88
|
+
If a directory with the same name exists, git0 automatically appends a number (e.g., `react-2`, `react-3`).
|
|
89
|
+
|
|
90
|
+
### GitHub Token (Optional)
|
|
91
|
+
|
|
92
|
+
For higher API rate limits, set [your GitHub token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-fine-grained-personal-access-token):
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
export GITHUB_TOKEN=your_github_token_here
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
Without a token, you're limited to 60 requests per hour. With a token, you get 5,000 requests per hour.
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file customize-docs.ts
|
|
3
|
+
* @description Documentation configuration object and types.
|
|
4
|
+
*/
|
|
5
|
+
export const docsConfig: DocsConfig = {
|
|
6
|
+
title: "git0",
|
|
7
|
+
description: "Download Git Repo on Step Zero — search GitHub, download source & releases, install and open in your editor.",
|
|
8
|
+
github: "https://github.com/OpenSourceAGI/dev-tools-starter-agent/tree/master/packages/git0-repo-downloader",
|
|
9
|
+
githubPackages: "https://github.com/OpenSourceAGI/dev-tools-starter-agent/tree/master/packages",
|
|
10
|
+
githubDocs:
|
|
11
|
+
"https://github.com/OpenSourceAGI/dev-tools-starter-agent/tree/master/packages/git0-repo-downloader/docs/content/docs",
|
|
12
|
+
favicon: "/favicon.ico",
|
|
13
|
+
topLinks: [
|
|
14
|
+
{
|
|
15
|
+
text: "Docs",
|
|
16
|
+
url: "/docs",
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
text: "GitHub",
|
|
20
|
+
url: "https://github.com/OpenSourceAGI/dev-tools-starter-agent/tree/master/packages/git0-repo-downloader",
|
|
21
|
+
external: true,
|
|
22
|
+
},
|
|
23
|
+
],
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export interface DocsConfig {
|
|
27
|
+
/** The title of the documentation site */
|
|
28
|
+
title?: string;
|
|
29
|
+
/** A short description of the project */
|
|
30
|
+
description?: string;
|
|
31
|
+
/** URL to the GitHub repository */
|
|
32
|
+
github?: string;
|
|
33
|
+
/** Base URL for editing the docs pages on GitHub */
|
|
34
|
+
githubDocs?: string;
|
|
35
|
+
/** Base URL for the packages directory on GitHub */
|
|
36
|
+
githubPackages?: string;
|
|
37
|
+
/** Path to the favicon */
|
|
38
|
+
favicon?: string;
|
|
39
|
+
/** Path to the OpenAPI specification file */
|
|
40
|
+
apiDocsPath?: string;
|
|
41
|
+
/** Links to be displayed in the navigation bar */
|
|
42
|
+
topLinks?: {
|
|
43
|
+
text: string;
|
|
44
|
+
url: string;
|
|
45
|
+
external?: boolean;
|
|
46
|
+
}[];
|
|
47
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file generate-api-docs.ts
|
|
3
|
+
* @description Script to generate API documentation files from an OpenAPI specification.
|
|
4
|
+
*/
|
|
5
|
+
import { generateFiles } from 'fumadocs-openapi';
|
|
6
|
+
import { createOpenAPI } from 'fumadocs-openapi/server';
|
|
7
|
+
import { rimraf } from 'rimraf';
|
|
8
|
+
import { existsSync } from 'fs';
|
|
9
|
+
import { docsConfig } from './customize-docs'
|
|
10
|
+
|
|
11
|
+
const out = 'content/docs/(api)';
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
async function generate(openapiPath: string | undefined) {
|
|
15
|
+
// Validate file exists
|
|
16
|
+
if (!openapiPath || !existsSync(openapiPath)) {
|
|
17
|
+
console.error(`Error: OpenAPI file not found${openapiPath ? ` at "${openapiPath}"` : ''}`);
|
|
18
|
+
process.exit(1);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// Use relative path for glob resolution
|
|
22
|
+
console.log(`Generating API docs from: ${openapiPath}`);
|
|
23
|
+
|
|
24
|
+
// clean generated files
|
|
25
|
+
await rimraf(out, {
|
|
26
|
+
filter(v) {
|
|
27
|
+
return !v.endsWith('index.mdx') && !v.endsWith('meta.json');
|
|
28
|
+
},
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
// Create OpenAPI instance (required for fumadocs-openapi v10+)
|
|
32
|
+
const openapi = createOpenAPI({
|
|
33
|
+
input: [openapiPath],
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
await generateFiles({
|
|
37
|
+
input: openapi,
|
|
38
|
+
output: out,
|
|
39
|
+
includeDescription: true,
|
|
40
|
+
|
|
41
|
+
// Or disable comments
|
|
42
|
+
addGeneratedComment: false,
|
|
43
|
+
frontmatter: (title, description) => ({
|
|
44
|
+
description: ''
|
|
45
|
+
}),
|
|
46
|
+
// index: {
|
|
47
|
+
// // for generating `href`
|
|
48
|
+
// url: {
|
|
49
|
+
// baseUrl: '/docs/api',
|
|
50
|
+
// contentDir: './content/docs/api',
|
|
51
|
+
// },
|
|
52
|
+
// items: [
|
|
53
|
+
// {
|
|
54
|
+
// path: 'api.mdx',
|
|
55
|
+
// description: 'All available pages',
|
|
56
|
+
// },
|
|
57
|
+
// ],
|
|
58
|
+
// },
|
|
59
|
+
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
console.log(`API documentation generated successfully in: ${out}`);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
// Parse command line arguments
|
|
66
|
+
const args = process.argv.slice(2);
|
|
67
|
+
|
|
68
|
+
const openapiPath = args[0] || docsConfig.apiDocsPath;
|
|
69
|
+
if (!openapiPath) {
|
|
70
|
+
console.error('Error: OpenAPI file path not provided');
|
|
71
|
+
process.exit(1);
|
|
72
|
+
}
|
|
73
|
+
void generate(openapiPath);
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file source.tsx
|
|
3
|
+
* @description Fumadocs source loader configuration and page structure.
|
|
4
|
+
*/
|
|
5
|
+
import { docs } from 'fumadocs-mdx:collections/server'
|
|
6
|
+
import {
|
|
7
|
+
type InferMetaType,
|
|
8
|
+
type InferPageType,
|
|
9
|
+
type LoaderPlugin,
|
|
10
|
+
loader,
|
|
11
|
+
} from 'fumadocs-core/source'
|
|
12
|
+
import { lucideIconsPlugin } from 'fumadocs-core/source/lucide-icons'
|
|
13
|
+
import { openapiPlugin } from 'fumadocs-openapi/server'
|
|
14
|
+
|
|
15
|
+
export const source = loader({
|
|
16
|
+
baseUrl: '/docs',
|
|
17
|
+
plugins: [pageTreeCodeTitles(), lucideIconsPlugin(), openapiPlugin()],
|
|
18
|
+
source: docs.toFumadocsSource(),
|
|
19
|
+
})
|
|
20
|
+
|
|
21
|
+
function pageTreeCodeTitles(): LoaderPlugin {
|
|
22
|
+
return {
|
|
23
|
+
transformPageTree: {
|
|
24
|
+
file(node) {
|
|
25
|
+
if (
|
|
26
|
+
typeof node.name === 'string' &&
|
|
27
|
+
(node.name.endsWith('()') || node.name.match(/^<\w+ \/>$/))
|
|
28
|
+
) {
|
|
29
|
+
return {
|
|
30
|
+
...node,
|
|
31
|
+
name: <code className='text-[0.8125rem]'>{node.name}</code>,
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
return node
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
export async function getLLMText(page: InferPageType<typeof source>) {
|
|
42
|
+
const processed = await page.data.getText('processed');
|
|
43
|
+
|
|
44
|
+
return `# ${page.data.title} (${page.url})
|
|
45
|
+
|
|
46
|
+
${processed}`;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export type Page = InferPageType<typeof source>
|
|
50
|
+
export type Meta = InferMetaType<typeof source>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file utils.ts
|
|
3
|
+
* @description General utility functions for the documentation site.
|
|
4
|
+
*/
|
|
5
|
+
import { clsx, type ClassValue } from 'clsx'
|
|
6
|
+
import { twMerge } from 'tailwind-merge'
|
|
7
|
+
|
|
8
|
+
export function cn(...inputs: ClassValue[]) {
|
|
9
|
+
return twMerge(clsx(inputs))
|
|
10
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
|
|
2
|
+
import * as TabsComponents from 'fumadocs-ui/components/tabs';
|
|
3
|
+
import { File, Folder, Files } from 'fumadocs-ui/components/files';
|
|
4
|
+
import defaultComponents from 'fumadocs-ui/mdx';
|
|
5
|
+
import { APIPage } from '@/components/fumadocs/api/api-page';
|
|
6
|
+
import type { MDXComponents } from 'mdx/types';
|
|
7
|
+
// make sure you can use it in MDX files
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
export function getMDXComponents(components?: MDXComponents): MDXComponents {
|
|
11
|
+
return {
|
|
12
|
+
...TabsComponents,
|
|
13
|
+
...defaultComponents,
|
|
14
|
+
// @ts-ignore
|
|
15
|
+
APIPage,
|
|
16
|
+
File,
|
|
17
|
+
Folder,
|
|
18
|
+
Files,
|
|
19
|
+
...components,
|
|
20
|
+
};
|
|
21
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="next" />
|
|
2
|
+
/// <reference types="next/image-types/global" />
|
|
3
|
+
import "./.next/types/routes.d.ts";
|
|
4
|
+
import "./.next/types/root-params.d.ts";
|
|
5
|
+
|
|
6
|
+
// NOTE: This file should not be edited
|
|
7
|
+
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { createMDX } from 'fumadocs-mdx/next';
|
|
2
|
+
import { resolve } from 'path';
|
|
3
|
+
|
|
4
|
+
const withMDX = createMDX({});
|
|
5
|
+
|
|
6
|
+
type MDXNextConfig = NonNullable<Parameters<typeof withMDX>[0]>;
|
|
7
|
+
|
|
8
|
+
export const config = {
|
|
9
|
+
// output: 'export',
|
|
10
|
+
// distDir: './dist',
|
|
11
|
+
transpilePackages: ['code-graph'],
|
|
12
|
+
serverExternalPackages: [],
|
|
13
|
+
turbopack: {
|
|
14
|
+
root: resolve(import.meta.dirname, '.'),
|
|
15
|
+
},
|
|
16
|
+
async rewrites() {
|
|
17
|
+
return [
|
|
18
|
+
{
|
|
19
|
+
source: '/docs/:path*.mdx',
|
|
20
|
+
destination: '/docs/llms.mdx/docs/:path*',
|
|
21
|
+
},
|
|
22
|
+
];
|
|
23
|
+
},
|
|
24
|
+
reactStrictMode: false,
|
|
25
|
+
images: {
|
|
26
|
+
remotePatterns: [
|
|
27
|
+
{
|
|
28
|
+
protocol: 'https',
|
|
29
|
+
hostname: 'i.imgur.com',
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
unoptimized: true,
|
|
33
|
+
},
|
|
34
|
+
} satisfies MDXNextConfig;
|
|
35
|
+
export default withMDX(config);
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "git0-docs",
|
|
3
|
+
"description": "git0 documentation site (git0.js.org), built on template-fumadocs",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"private": true,
|
|
6
|
+
"scripts": {
|
|
7
|
+
"dev": "rm -rf .next/; open-ready next dev --turbo",
|
|
8
|
+
"build": "next build",
|
|
9
|
+
"build:preview": "next build; open-ready next start",
|
|
10
|
+
"build:api": "node ./lib/fumadocs/generate-api-docs.ts",
|
|
11
|
+
"check": "fumadocs-mdx && tsc --noEmit",
|
|
12
|
+
"favicon": "npm create favicon public/favicon-512.png public/ -- --overwrite"
|
|
13
|
+
},
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"@fumadocs/mdx-remote": "^1.4.3",
|
|
16
|
+
"@next/swc-linux-x64-gnu": "^16.2.10",
|
|
17
|
+
"@radix-ui/react-collapsible": "^1.1.12",
|
|
18
|
+
"@radix-ui/react-dialog": "^1.1.15",
|
|
19
|
+
"@radix-ui/react-slot": "^1.2.4",
|
|
20
|
+
"@radix-ui/react-tooltip": "^1.2.8",
|
|
21
|
+
"@typescript-eslint/typescript-estree": "^8.56.1",
|
|
22
|
+
"class-variance-authority": "^0.7.1",
|
|
23
|
+
"clsx": "^2.1.1",
|
|
24
|
+
"fumadocs-core": "^16.11.5",
|
|
25
|
+
"fumadocs-mdx": "^15.2.0",
|
|
26
|
+
"fumadocs-openapi": "^11.2.2",
|
|
27
|
+
"fumadocs-typescript": "^4.0.13",
|
|
28
|
+
"fumadocs-ui": "^16.11.5",
|
|
29
|
+
"fuse.js": "^7.1.0",
|
|
30
|
+
"highlight.js": "^11.11.1",
|
|
31
|
+
"jszip": "^3.10.1",
|
|
32
|
+
"lucide-react": "^0.555.0",
|
|
33
|
+
"marked": "^17.0.4",
|
|
34
|
+
"mermaid": "^11.12.3",
|
|
35
|
+
"next": "^16.1.4",
|
|
36
|
+
"next-themes": "^0.4.6",
|
|
37
|
+
"react": "^19.2.7",
|
|
38
|
+
"react-dom": "^19.2.7",
|
|
39
|
+
"shadcn-theme-menu": "^1.1.12",
|
|
40
|
+
"shiki": "^3.17.0",
|
|
41
|
+
"svg-toolbelt": "^0.6.1",
|
|
42
|
+
"tailwind-merge": "^3.5.0",
|
|
43
|
+
"tw-animate-css": "^1.4.0",
|
|
44
|
+
"zbsearch": "^4.0.0"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@tailwindcss/postcss": "^4.1.17",
|
|
48
|
+
"@types/jszip": "^3.4.1",
|
|
49
|
+
"@types/mdx": "^2.0.13",
|
|
50
|
+
"@types/node": "24.10.1",
|
|
51
|
+
"@types/react": "^19.2.7",
|
|
52
|
+
"@types/react-dom": "^19.2.3",
|
|
53
|
+
"baseline-browser-mapping": "^2.8.32",
|
|
54
|
+
"open-ready": "^0.1.2",
|
|
55
|
+
"postcss": "^8.5.6",
|
|
56
|
+
"rimraf": "^6.1.2",
|
|
57
|
+
"tailwindcss": "^4.1.17",
|
|
58
|
+
"typescript": "^5.9.3",
|
|
59
|
+
"wrangler": "^3.0.0"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import {
|
|
2
|
+
defineConfig,
|
|
3
|
+
defineDocs,
|
|
4
|
+
frontmatterSchema,
|
|
5
|
+
metaSchema,
|
|
6
|
+
} from 'fumadocs-mdx/config';
|
|
7
|
+
import { remarkMdxFiles } from 'fumadocs-core/mdx-plugins/remark-mdx-files';
|
|
8
|
+
|
|
9
|
+
export const docs = defineDocs({
|
|
10
|
+
dir: './content/docs',
|
|
11
|
+
docs: {
|
|
12
|
+
schema: frontmatterSchema,
|
|
13
|
+
postprocess: {
|
|
14
|
+
includeProcessedMarkdown: true,
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
meta: {
|
|
18
|
+
schema: metaSchema,
|
|
19
|
+
},
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
export default defineConfig({
|
|
23
|
+
mdxOptions: {
|
|
24
|
+
remarkPlugins: [remarkMdxFiles],
|
|
25
|
+
remarkImageOptions: {
|
|
26
|
+
onError: 'ignore',
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
});
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ESNext",
|
|
4
|
+
"lib": [
|
|
5
|
+
"dom",
|
|
6
|
+
"dom.iterable",
|
|
7
|
+
"esnext"
|
|
8
|
+
],
|
|
9
|
+
"allowJs": true,
|
|
10
|
+
"skipLibCheck": true,
|
|
11
|
+
"strict": true,
|
|
12
|
+
"forceConsistentCasingInFileNames": true,
|
|
13
|
+
"noEmit": true,
|
|
14
|
+
"esModuleInterop": true,
|
|
15
|
+
"module": "esnext",
|
|
16
|
+
"moduleResolution": "bundler",
|
|
17
|
+
"resolveJsonModule": true,
|
|
18
|
+
"isolatedModules": true,
|
|
19
|
+
"jsx": "react-jsx",
|
|
20
|
+
"incremental": true,
|
|
21
|
+
"paths": {
|
|
22
|
+
"@/*": [
|
|
23
|
+
"./*"
|
|
24
|
+
],
|
|
25
|
+
"fumadocs-mdx:collections/*": [
|
|
26
|
+
"./.source/*"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"plugins": [
|
|
30
|
+
{
|
|
31
|
+
"name": "next"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
"include": [
|
|
36
|
+
"**/*.ts",
|
|
37
|
+
"**/*.tsx",
|
|
38
|
+
"../docs/types/**/*.ts",
|
|
39
|
+
"./docs/types/**/*.ts",
|
|
40
|
+
".next/types/**/*.ts",
|
|
41
|
+
"next-env.d.ts",
|
|
42
|
+
"./dist/types/**/*.ts",
|
|
43
|
+
"dist/types/**/*.ts",
|
|
44
|
+
"dist/dev/types/**/*.ts",
|
|
45
|
+
".next/dev/types/**/*.ts"
|
|
46
|
+
],
|
|
47
|
+
"exclude": [
|
|
48
|
+
"node_modules"
|
|
49
|
+
]
|
|
50
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "git0-docs",
|
|
3
|
+
// Wrangler deletes plaintext Variables set in the Cloudflare dashboard on every
|
|
4
|
+
// deploy unless keep_vars is set. Secrets are never deleted either way.
|
|
5
|
+
"keep_vars": true,
|
|
6
|
+
"compatibility_date": "2025-01-01",
|
|
7
|
+
"compatibility_flags": ["nodejs_compat"],
|
|
8
|
+
"main": ".vinext/worker.js",
|
|
9
|
+
"assets": {
|
|
10
|
+
"directory": ".vinext/assets",
|
|
11
|
+
"binding": "ASSETS"
|
|
12
|
+
}
|
|
13
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "git0",
|
|
3
3
|
"description": "CLI tool to search GitHub repositories, download source & releases for your system, and instantly set up, then install dependencies and open code editor.",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.18",
|
|
5
5
|
"author": "vtempest",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "bun build src/cli.ts --outdir dist --target node --format esm --sourcemap",
|