git-drive 0.1.0 → 0.1.2

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 (68) hide show
  1. package/dist/commands/archive.js +32 -0
  2. package/dist/commands/init.js +55 -0
  3. package/dist/commands/link.js +139 -0
  4. package/dist/commands/list.js +83 -0
  5. package/dist/commands/push.js +99 -0
  6. package/dist/commands/restore.js +30 -0
  7. package/dist/commands/status.js +116 -0
  8. package/dist/config.js +62 -0
  9. package/dist/errors.js +30 -0
  10. package/dist/git.js +60 -0
  11. package/dist/index.js +100 -0
  12. package/dist/server.js +526 -0
  13. package/package.json +45 -14
  14. package/.github/workflows/ci.yml +0 -77
  15. package/.planning/codebase/ARCHITECTURE.md +0 -151
  16. package/.planning/codebase/CONCERNS.md +0 -191
  17. package/.planning/codebase/CONVENTIONS.md +0 -169
  18. package/.planning/codebase/INTEGRATIONS.md +0 -94
  19. package/.planning/codebase/STACK.md +0 -77
  20. package/.planning/codebase/STRUCTURE.md +0 -157
  21. package/.planning/codebase/TESTING.md +0 -156
  22. package/Dockerfile.cli +0 -30
  23. package/Dockerfile.server +0 -32
  24. package/README.md +0 -95
  25. package/docker-compose.yml +0 -48
  26. package/packages/cli/Dockerfile +0 -26
  27. package/packages/cli/package.json +0 -57
  28. package/packages/cli/src/commands/archive.ts +0 -39
  29. package/packages/cli/src/commands/init.ts +0 -34
  30. package/packages/cli/src/commands/link.ts +0 -115
  31. package/packages/cli/src/commands/list.ts +0 -94
  32. package/packages/cli/src/commands/push.ts +0 -64
  33. package/packages/cli/src/commands/restore.ts +0 -36
  34. package/packages/cli/src/commands/status.ts +0 -127
  35. package/packages/cli/src/config.ts +0 -73
  36. package/packages/cli/src/errors.ts +0 -23
  37. package/packages/cli/src/git.ts +0 -55
  38. package/packages/cli/src/index.ts +0 -97
  39. package/packages/cli/src/server.ts +0 -514
  40. package/packages/cli/tsconfig.json +0 -13
  41. package/packages/git-drive-docker/package.json +0 -15
  42. package/packages/server/package.json +0 -44
  43. package/packages/server/src/index.ts +0 -569
  44. package/packages/server/tsconfig.json +0 -9
  45. package/packages/ui/README.md +0 -73
  46. package/packages/ui/eslint.config.js +0 -23
  47. package/packages/ui/index.html +0 -13
  48. package/packages/ui/package.json +0 -42
  49. package/packages/ui/postcss.config.js +0 -6
  50. package/packages/ui/public/vite.svg +0 -1
  51. package/packages/ui/src/App.css +0 -23
  52. package/packages/ui/src/App.tsx +0 -726
  53. package/packages/ui/src/assets/react.svg +0 -8
  54. package/packages/ui/src/assets/vite.svg +0 -3
  55. package/packages/ui/src/index.css +0 -37
  56. package/packages/ui/src/main.tsx +0 -14
  57. package/packages/ui/tailwind.config.js +0 -11
  58. package/packages/ui/tsconfig.app.json +0 -28
  59. package/packages/ui/tsconfig.json +0 -26
  60. package/packages/ui/tsconfig.node.json +0 -12
  61. package/packages/ui/vite.config.ts +0 -7
  62. package/pnpm-workspace.yaml +0 -4
  63. package/rewrite_app.js +0 -731
  64. package/tsconfig.json +0 -14
  65. /package/{packages/cli/ui → ui}/assets/index-Cc2q1t5k.js +0 -0
  66. /package/{packages/cli/ui → ui}/assets/index-DrL7ojPA.css +0 -0
  67. /package/{packages/cli/ui → ui}/index.html +0 -0
  68. /package/{packages/cli/ui → ui}/vite.svg +0 -0
@@ -1,23 +0,0 @@
1
- import js from '@eslint/js'
2
- import globals from 'globals'
3
- import reactHooks from 'eslint-plugin-react-hooks'
4
- import reactRefresh from 'eslint-plugin-react-refresh'
5
- import tseslint from 'typescript-eslint'
6
- import { defineConfig, globalIgnores } from 'eslint/config'
7
-
8
- export default defineConfig([
9
- globalIgnores(['dist']),
10
- {
11
- files: ['**/*.{ts,tsx}'],
12
- extends: [
13
- js.configs.recommended,
14
- tseslint.configs.recommended,
15
- reactHooks.configs.flat.recommended,
16
- reactRefresh.configs.vite,
17
- ],
18
- languageOptions: {
19
- ecmaVersion: 2020,
20
- globals: globals.browser,
21
- },
22
- },
23
- ])
@@ -1,13 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
- <title>Vite + React + TS</title>
8
- </head>
9
- <body>
10
- <div id="root"></div>
11
- <script type="module" src="/src/main.tsx"></script>
12
- </body>
13
- </html>
@@ -1,42 +0,0 @@
1
- {
2
- "name": "git-drive-ui",
3
- "version": "0.1.0",
4
- "private": true,
5
- "type": "module",
6
- "scripts": {
7
- "dev": "vite",
8
- "build": "vite build",
9
- "lint": "eslint .",
10
- "preview": "vite preview"
11
- },
12
- "dependencies": {
13
- "@radix-ui/react-icons": "^1.3.2",
14
- "@radix-ui/react-slot": "^1.2.4",
15
- "@radix-ui/react-tooltip": "^1.2.8",
16
- "autoprefixer": "^10.4.25",
17
- "axios": "^1.13.5",
18
- "class-variance-authority": "^0.7.1",
19
- "clsx": "^2.1.1",
20
- "lucide-react": "^0.575.0",
21
- "postcss": "^8.5.6",
22
- "react": "^19.2.4",
23
- "react-dom": "^19.2.4",
24
- "react-query": "^3.39.3",
25
- "react-router-dom": "^7.13.1",
26
- "tailwind-merge": "^3.5.0",
27
- "tailwindcss": "^3.4.19",
28
- "valibot": "^1.2.0"
29
- },
30
- "devDependencies": {
31
- "@eslint/js": "^10.0.1",
32
- "@types/react": "^19.2.14",
33
- "@types/react-dom": "^19.2.3",
34
- "@vitejs/plugin-react": "^5.1.4",
35
- "eslint": "^10.0.2",
36
- "eslint-plugin-react-hooks": "^7.0.1",
37
- "eslint-plugin-react-refresh": "^0.5.2",
38
- "globals": "^17.3.0",
39
- "typescript-eslint": "^8.56.1",
40
- "vite": "^7.3.1"
41
- }
42
- }
@@ -1,6 +0,0 @@
1
- export default {
2
- plugins: {
3
- tailwindcss: {},
4
- autoprefixer: {},
5
- },
6
- }
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
@@ -1,23 +0,0 @@
1
- .App {
2
- text-align: center;
3
- }
4
-
5
- .App-logo {
6
- animation: App-logo-spin infinite 20s linear;
7
- height: 40vmin;
8
- pointer-events: none;
9
- }
10
-
11
- @media (prefers-reduced-motion: no-preference) {
12
- a:nth-of-type(2).logo:hover {
13
- filter: drop-shadow(0 0 2em #61dafbaa);
14
- }
15
- }
16
-
17
- .card {
18
- padding: 2em;
19
- }
20
-
21
- .read-the-docs {
22
- color: #888;
23
- }