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.
Files changed (75) hide show
  1. package/bun.lock +159 -0
  2. package/docs/404.html +2 -3
  3. package/docs/Footer/index.html +2 -3
  4. package/docs/assets/js/1df93b7f.d8c05d2c.js +2 -0
  5. package/docs/assets/js/22dd74f7.237398b4.js +1 -0
  6. package/docs/assets/js/28ab763d.5714aa16.js +1 -0
  7. package/docs/assets/js/299d276b.1a1baa1c.js +1 -0
  8. package/docs/assets/js/68cef36b.c312447e.js +1 -0
  9. package/docs/assets/js/c3a618e1.965a31da.js +1 -0
  10. package/docs/assets/js/{main.c71c09a5.js → main.cf858a7d.js} +2 -2
  11. package/docs/assets/js/runtime~main.7520dc36.js +1 -0
  12. package/docs/functions/git0/index.html +48 -0
  13. package/docs/functions/github-api/index.html +149 -0
  14. package/docs/functions/index.html +4 -5
  15. package/docs/functions/modules/index.html +30 -0
  16. package/docs/index.html +3 -4
  17. package/docs/lunr-index-1749613752315.json +1 -0
  18. package/docs/lunr-index.json +1 -1
  19. package/docs/search-doc-1749613752315.json +1 -0
  20. package/docs/search-doc.json +1 -1
  21. package/docs/sitemap.xml +1 -1
  22. package/docs-config/.docusaurus/DONT-EDIT-THIS-FOLDER +5 -0
  23. package/docs-config/.docusaurus/client-manifest.json +259 -0
  24. package/docs-config/.docusaurus/client-modules.js +8 -0
  25. package/docs-config/.docusaurus/codeTranslations.json +1 -0
  26. package/docs-config/.docusaurus/docusaurus-lunr-search/default/__plugin.json +4 -0
  27. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/__mdx-loader-dependency.json +1 -0
  28. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/__plugin.json +4 -0
  29. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/p/docs-175.json +1 -0
  30. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/p/index-466.json +1 -0
  31. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-git-0-1-md-d3e.json +19 -0
  32. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-git-0-md-299.json +19 -0
  33. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-github-api-md-28a.json +23 -0
  34. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-globals-md-4a8.json +19 -0
  35. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-index-md-c3a.json +23 -0
  36. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-functions-modules-md-68c.json +19 -0
  37. package/docs-config/.docusaurus/docusaurus-plugin-content-docs/default/site-src-index-md-d14.json +21 -0
  38. package/docs-config/.docusaurus/docusaurus-plugin-content-pages/default/__plugin.json +4 -0
  39. package/docs-config/.docusaurus/docusaurus-plugin-google-gtag/default/__plugin.json +4 -0
  40. package/docs-config/.docusaurus/docusaurus.config.mjs +378 -0
  41. package/docs-config/.docusaurus/globalData.json +65 -0
  42. package/docs-config/.docusaurus/i18n.json +17 -0
  43. package/docs-config/.docusaurus/lunr.client.js +5 -0
  44. package/docs-config/.docusaurus/registry.js +15 -0
  45. package/docs-config/.docusaurus/routes.js +61 -0
  46. package/docs-config/.docusaurus/routesChunkNames.json +45 -0
  47. package/docs-config/.docusaurus/site-metadata.json +51 -0
  48. package/docs-config/.docusaurus/site-storage.json +4 -0
  49. package/docs-config/bun.lock +6139 -0
  50. package/docs-config/config/customize-docs.js +4 -2
  51. package/docs-config/docusaurus.config.ts +0 -9
  52. package/docs-config/src/functions/git0.md +101 -0
  53. package/docs-config/src/functions/github-api.md +744 -0
  54. package/docs-config/src/functions/modules.md +4 -0
  55. package/docs-config/src/functions/typedoc-sidebar.cjs +12 -1
  56. package/docs-config/src/pages/index.tsx +289 -279
  57. package/docs-config/tsconfig.json +1 -1
  58. package/package.json +10 -7
  59. package/src/git0.js +380 -0
  60. package/src/github-api.js +473 -0
  61. package/docs/assets/js/1df93b7f.dfdf0ef3.js +0 -2
  62. package/docs/assets/js/22dd74f7.5e857962.js +0 -1
  63. package/docs/assets/js/4a829dc8.728a4445.js +0 -1
  64. package/docs/assets/js/c3a618e1.50a89e4d.js +0 -1
  65. package/docs/assets/js/d140250a.62af53aa.js +0 -1
  66. package/docs/assets/js/runtime~main.ef55418f.js +0 -1
  67. package/docs/functions/globals/index.html +0 -57
  68. package/docs/lunr-index-1749601667754.json +0 -1
  69. package/docs/search-doc-1749601667754.json +0 -1
  70. package/docs-config/src/functions/globals.md +0 -153
  71. package/docs-config/src/index.md +0 -127
  72. package/docs-config/tailwind.config.js +0 -13
  73. package/git0.js +0 -646
  74. /package/docs/assets/js/{1df93b7f.dfdf0ef3.js.LICENSE.txt → 1df93b7f.d8c05d2c.js.LICENSE.txt} +0 -0
  75. /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: ["../git0.js"], // also remember to set in ../tsconfig.json {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: true,
23
+ enableReadmeAsHome: false,
22
24
  topbar: [
23
25
  // {
24
26
  // to: "/functions",
@@ -139,15 +139,6 @@ export default async function createConfig(options: any = {}) {
139
139
  ],
140
140
  ],
141
141
 
142
- headTags: [
143
- {
144
- tagName: 'script',
145
- attributes: {
146
- src: 'https://cdn.tailwindcss.com',
147
- },
148
- },
149
- ],
150
-
151
142
  plugins: [
152
143
 
153
144
 
@@ -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`&lt;`void`&gt;
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