git0 0.2.5 → 0.2.7
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/bun.lock +159 -0
- package/docs/404.html +2 -3
- package/docs/Footer/index.html +2 -3
- package/docs/assets/js/1df93b7f.d8c05d2c.js +2 -0
- package/docs/assets/js/22dd74f7.237398b4.js +1 -0
- package/docs/assets/js/28ab763d.5714aa16.js +1 -0
- package/docs/assets/js/299d276b.1a1baa1c.js +1 -0
- package/docs/assets/js/68cef36b.c312447e.js +1 -0
- package/docs/assets/js/c3a618e1.965a31da.js +1 -0
- package/docs/assets/js/{main.c71c09a5.js → main.cf858a7d.js} +2 -2
- package/docs/assets/js/runtime~main.7520dc36.js +1 -0
- package/docs/functions/git0/index.html +48 -0
- package/docs/functions/github-api/index.html +149 -0
- package/docs/functions/index.html +4 -5
- package/docs/functions/modules/index.html +30 -0
- package/docs/index.html +3 -4
- package/docs/lunr-index-1749613752315.json +1 -0
- package/docs/lunr-index.json +1 -1
- package/docs/search-doc-1749613752315.json +1 -0
- package/docs/search-doc.json +1 -1
- package/docs/sitemap.xml +1 -1
- package/docs-config/.docusaurus/DONT-EDIT-THIS-FOLDER +5 -0
- package/docs-config/.docusaurus/client-manifest.json +259 -0
- package/docs-config/.docusaurus/client-modules.js +8 -0
- package/docs-config/.docusaurus/codeTranslations.json +1 -0
- package/docs-config/.docusaurus/docusaurus-lunr-search/default/__plugin.json +4 -0
- package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/__mdx-loader-dependency.json +1 -0
- package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/__plugin.json +4 -0
- package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/p/docs-175.json +1 -0
- package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/p/index-466.json +1 -0
- package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-git-0-1-md-d3e.json +19 -0
- package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-git-0-md-299.json +19 -0
- package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-github-api-md-28a.json +23 -0
- package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-globals-md-4a8.json +19 -0
- package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-index-md-c3a.json +23 -0
- package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-modules-md-68c.json +19 -0
- package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-index-md-d14.json +21 -0
- package/docs-config/.docusaurus/docusaurus-plugin-content-pages/default/__plugin.json +4 -0
- package/docs-config/.docusaurus/docusaurus-plugin-google-gtag/default/__plugin.json +4 -0
- package/docs-config/.docusaurus/docusaurus.config.mjs +378 -0
- package/docs-config/.docusaurus/globalData.json +65 -0
- package/docs-config/.docusaurus/i18n.json +17 -0
- package/docs-config/.docusaurus/lunr.client.js +5 -0
- package/docs-config/.docusaurus/registry.js +15 -0
- package/docs-config/.docusaurus/routes.js +61 -0
- package/docs-config/.docusaurus/routesChunkNames.json +45 -0
- package/docs-config/.docusaurus/site-metadata.json +51 -0
- package/docs-config/.docusaurus/site-storage.json +4 -0
- package/docs-config/bun.lock +6139 -0
- package/docs-config/config/customize-docs.js +4 -2
- package/docs-config/docusaurus.config.ts +0 -9
- package/docs-config/src/functions/git0.md +101 -0
- package/docs-config/src/functions/github-api.md +744 -0
- package/docs-config/src/functions/modules.md +4 -0
- package/docs-config/src/functions/typedoc-sidebar.cjs +12 -1
- package/docs-config/src/pages/index.tsx +289 -279
- package/docs-config/tsconfig.json +1 -1
- package/package.json +10 -7
- package/src/git0.js +380 -0
- package/src/github-api.js +473 -0
- package/docs/assets/js/1df93b7f.dfdf0ef3.js +0 -2
- package/docs/assets/js/22dd74f7.5e857962.js +0 -1
- package/docs/assets/js/4a829dc8.728a4445.js +0 -1
- package/docs/assets/js/c3a618e1.50a89e4d.js +0 -1
- package/docs/assets/js/d140250a.62af53aa.js +0 -1
- package/docs/assets/js/runtime~main.ef55418f.js +0 -1
- package/docs/functions/globals/index.html +0 -57
- package/docs/lunr-index-1749601667754.json +0 -1
- package/docs/search-doc-1749601667754.json +0 -1
- package/docs-config/src/functions/globals.md +0 -153
- package/docs-config/src/index.md +0 -127
- package/docs-config/tailwind.config.js +0 -13
- package/git0.js +0 -646
- /package/docs/assets/js/{1df93b7f.dfdf0ef3.js.LICENSE.txt → 1df93b7f.d8c05d2c.js.LICENSE.txt} +0 -0
- /package/docs/assets/js/{main.c71c09a5.js.LICENSE.txt → main.cf858a7d.js.LICENSE.txt} +0 -0
|
@@ -4,7 +4,9 @@ export default {
|
|
|
4
4
|
typedocFolders: [
|
|
5
5
|
{
|
|
6
6
|
id: "functions",
|
|
7
|
-
entryPoints: [
|
|
7
|
+
entryPoints: [
|
|
8
|
+
"../src/**/*"
|
|
9
|
+
], // also remember to set in ../tsconfig.json {entryPoints:[...]}
|
|
8
10
|
},
|
|
9
11
|
],
|
|
10
12
|
showEditsOnGitHub: true,
|
|
@@ -18,7 +20,7 @@ export default {
|
|
|
18
20
|
logo: "https://i.imgur.com/857meew.png",
|
|
19
21
|
favicon: "https://i.imgur.com/857meew.png",
|
|
20
22
|
enableFasterBuildV4: false,
|
|
21
|
-
enableReadmeAsHome:
|
|
23
|
+
enableReadmeAsHome: false,
|
|
22
24
|
topbar: [
|
|
23
25
|
// {
|
|
24
26
|
// to: "/functions",
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
[Documentation](modules.md) / git0
|
|
2
|
+
|
|
3
|
+
## installDependencies()
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
function installDependencies(targetDir: string): Promise<void>;
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
Defined in: [src/git0.js:208](https://github.com/vtempest/git0/blob/a8fc7e45afbaefca0c4e19627a1fa2d11f80f7e6/src/git0.js#L208)
|
|
10
|
+
|
|
11
|
+
Automatically detects project type and installs dependencies
|
|
12
|
+
Supports Node.js, Docker, Python, Rust, and Go projects
|
|
13
|
+
|
|
14
|
+
### Parameters
|
|
15
|
+
|
|
16
|
+
<table>
|
|
17
|
+
<thead>
|
|
18
|
+
<tr>
|
|
19
|
+
<th>Parameter</th>
|
|
20
|
+
<th>Type</th>
|
|
21
|
+
<th>Description</th>
|
|
22
|
+
</tr>
|
|
23
|
+
</thead>
|
|
24
|
+
<tbody>
|
|
25
|
+
<tr>
|
|
26
|
+
<td>
|
|
27
|
+
|
|
28
|
+
`targetDir`
|
|
29
|
+
|
|
30
|
+
</td>
|
|
31
|
+
<td>
|
|
32
|
+
|
|
33
|
+
`string`
|
|
34
|
+
|
|
35
|
+
</td>
|
|
36
|
+
<td>
|
|
37
|
+
|
|
38
|
+
Path to the project directory
|
|
39
|
+
|
|
40
|
+
</td>
|
|
41
|
+
</tr>
|
|
42
|
+
</tbody>
|
|
43
|
+
</table>
|
|
44
|
+
|
|
45
|
+
### Returns
|
|
46
|
+
|
|
47
|
+
`Promise`<`void`>
|
|
48
|
+
|
|
49
|
+
### Export
|
|
50
|
+
|
|
51
|
+
### Async
|
|
52
|
+
|
|
53
|
+
***
|
|
54
|
+
|
|
55
|
+
## openInIDE()
|
|
56
|
+
|
|
57
|
+
```ts
|
|
58
|
+
function openInIDE(targetDir: string): void;
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Defined in: [src/git0.js:158](https://github.com/vtempest/git0/blob/a8fc7e45afbaefca0c4e19627a1fa2d11f80f7e6/src/git0.js#L158)
|
|
62
|
+
|
|
63
|
+
Opens a directory in the first available IDE/editor
|
|
64
|
+
Also attempts to open a README or package.json file after 3 seconds
|
|
65
|
+
|
|
66
|
+
### Parameters
|
|
67
|
+
|
|
68
|
+
<table>
|
|
69
|
+
<thead>
|
|
70
|
+
<tr>
|
|
71
|
+
<th>Parameter</th>
|
|
72
|
+
<th>Type</th>
|
|
73
|
+
<th>Description</th>
|
|
74
|
+
</tr>
|
|
75
|
+
</thead>
|
|
76
|
+
<tbody>
|
|
77
|
+
<tr>
|
|
78
|
+
<td>
|
|
79
|
+
|
|
80
|
+
`targetDir`
|
|
81
|
+
|
|
82
|
+
</td>
|
|
83
|
+
<td>
|
|
84
|
+
|
|
85
|
+
`string`
|
|
86
|
+
|
|
87
|
+
</td>
|
|
88
|
+
<td>
|
|
89
|
+
|
|
90
|
+
Path to the directory to open
|
|
91
|
+
|
|
92
|
+
</td>
|
|
93
|
+
</tr>
|
|
94
|
+
</tbody>
|
|
95
|
+
</table>
|
|
96
|
+
|
|
97
|
+
### Returns
|
|
98
|
+
|
|
99
|
+
`void`
|
|
100
|
+
|
|
101
|
+
### Export
|