diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index d607d312d..069f6aa58 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -69,7 +69,7 @@ jobs: name: Upload SvelteKit build output with: name: sveltekit-build - path: ./app/build/ + path: ./apps/desktop/build/ retention-days: 1 if-no-files-found: error @@ -168,7 +168,7 @@ jobs: - uses: actions/download-artifact@v4 with: name: sveltekit-build - path: ./app/build/ + path: ./apps/desktop/build/ - name: Build binary shell: bash run: | diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 5cea086f7..c2e51f9b6 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -25,7 +25,7 @@ jobs: - '.github/actions/**' node: - *workflows - - 'app/**' + - 'apps/desktop/**' - 'package.json' - 'pnpm-lock.yaml' common-rust: &rust diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml index f81aa6858..72aebcab2 100644 --- a/.github/workflows/test-e2e.yml +++ b/.github/workflows/test-e2e.yml @@ -27,7 +27,7 @@ jobs: run: cd packages/ui && pnpm package - name: Get installed Playwright version id: playwright-version - run: echo "PLAYWRIGHT_VERSION=$(node -e "console.log(require('./app/package.json').devDependencies['@playwright/test'].substring(1))")" >> $GITHUB_ENV + run: echo "PLAYWRIGHT_VERSION=$(node -e "console.log(require('./apps/desktop/package.json').devDependencies['@playwright/test'].substring(1))")" >> $GITHUB_ENV - name: Cache playwright binaries uses: actions/cache@v4 id: playwright-cache @@ -39,7 +39,7 @@ jobs: if: steps.playwright-cache.outputs.cache-hit != 'true' run: pnpm dlx "playwright@$PLAYWRIGHT_VERSION" install --with-deps chromium - name: Run Tests - run: cd app && pnpm test:e2e + run: cd apps/desktop && pnpm test:e2e env: CI: true - name: Upload Artifacts @@ -47,6 +47,6 @@ jobs: if: ${{ !cancelled() }} with: name: playwright-report - path: app/test-results/**/trace.zip + path: apps/desktop/test-results/**/trace.zip if-no-files-found: ignore retention-days: 30 diff --git a/app/.env.development b/apps/desktop/.env.development similarity index 100% rename from app/.env.development rename to apps/desktop/.env.development diff --git a/app/.env.nightly b/apps/desktop/.env.nightly similarity index 100% rename from app/.env.nightly rename to apps/desktop/.env.nightly diff --git a/app/.env.production b/apps/desktop/.env.production similarity index 100% rename from app/.env.production rename to apps/desktop/.env.production diff --git a/app/.env.testing b/apps/desktop/.env.testing similarity index 100% rename from app/.env.testing rename to apps/desktop/.env.testing diff --git a/app/e2e/playwright/basic.spec.ts b/apps/desktop/e2e/playwright/basic.spec.ts similarity index 100% rename from app/e2e/playwright/basic.spec.ts rename to apps/desktop/e2e/playwright/basic.spec.ts diff --git a/app/package.json b/apps/desktop/package.json similarity index 100% rename from app/package.json rename to apps/desktop/package.json diff --git a/app/playwright.config.ts b/apps/desktop/playwright.config.ts similarity index 100% rename from app/playwright.config.ts rename to apps/desktop/playwright.config.ts diff --git a/app/postcss.config.cjs b/apps/desktop/postcss.config.cjs similarity index 100% rename from app/postcss.config.cjs rename to apps/desktop/postcss.config.cjs diff --git a/app/src/app.d.ts b/apps/desktop/src/app.d.ts similarity index 100% rename from app/src/app.d.ts rename to apps/desktop/src/app.d.ts diff --git a/app/src/app.html b/apps/desktop/src/app.html similarity index 100% rename from app/src/app.html rename to apps/desktop/src/app.html diff --git a/app/src/hooks.client.ts b/apps/desktop/src/hooks.client.ts similarity index 100% rename from app/src/hooks.client.ts rename to apps/desktop/src/hooks.client.ts diff --git a/app/src/lib/ai/anthropicClient.ts b/apps/desktop/src/lib/ai/anthropicClient.ts similarity index 100% rename from app/src/lib/ai/anthropicClient.ts rename to apps/desktop/src/lib/ai/anthropicClient.ts diff --git a/app/src/lib/ai/butlerClient.ts b/apps/desktop/src/lib/ai/butlerClient.ts similarity index 100% rename from app/src/lib/ai/butlerClient.ts rename to apps/desktop/src/lib/ai/butlerClient.ts diff --git a/app/src/lib/ai/ollamaClient.ts b/apps/desktop/src/lib/ai/ollamaClient.ts similarity index 100% rename from app/src/lib/ai/ollamaClient.ts rename to apps/desktop/src/lib/ai/ollamaClient.ts diff --git a/app/src/lib/ai/openAIClient.ts b/apps/desktop/src/lib/ai/openAIClient.ts similarity index 100% rename from app/src/lib/ai/openAIClient.ts rename to apps/desktop/src/lib/ai/openAIClient.ts diff --git a/app/src/lib/ai/promptService.ts b/apps/desktop/src/lib/ai/promptService.ts similarity index 100% rename from app/src/lib/ai/promptService.ts rename to apps/desktop/src/lib/ai/promptService.ts diff --git a/app/src/lib/ai/prompts.ts b/apps/desktop/src/lib/ai/prompts.ts similarity index 100% rename from app/src/lib/ai/prompts.ts rename to apps/desktop/src/lib/ai/prompts.ts diff --git a/app/src/lib/ai/service.test.ts b/apps/desktop/src/lib/ai/service.test.ts similarity index 100% rename from app/src/lib/ai/service.test.ts rename to apps/desktop/src/lib/ai/service.test.ts diff --git a/app/src/lib/ai/service.ts b/apps/desktop/src/lib/ai/service.ts similarity index 100% rename from app/src/lib/ai/service.ts rename to apps/desktop/src/lib/ai/service.ts diff --git a/app/src/lib/ai/types.ts b/apps/desktop/src/lib/ai/types.ts similarity index 100% rename from app/src/lib/ai/types.ts rename to apps/desktop/src/lib/ai/types.ts diff --git a/app/src/lib/analytics/analytics.ts b/apps/desktop/src/lib/analytics/analytics.ts similarity index 100% rename from app/src/lib/analytics/analytics.ts rename to apps/desktop/src/lib/analytics/analytics.ts diff --git a/app/src/lib/analytics/posthog.ts b/apps/desktop/src/lib/analytics/posthog.ts similarity index 100% rename from app/src/lib/analytics/posthog.ts rename to apps/desktop/src/lib/analytics/posthog.ts diff --git a/app/src/lib/analytics/sentry.ts b/apps/desktop/src/lib/analytics/sentry.ts similarity index 100% rename from app/src/lib/analytics/sentry.ts rename to apps/desktop/src/lib/analytics/sentry.ts diff --git a/app/src/lib/assets/dzen-pc.svg b/apps/desktop/src/lib/assets/dzen-pc.svg similarity index 100% rename from app/src/lib/assets/dzen-pc.svg rename to apps/desktop/src/lib/assets/dzen-pc.svg diff --git a/app/src/lib/assets/empty-state/commits-up-to-date.svg b/apps/desktop/src/lib/assets/empty-state/commits-up-to-date.svg similarity index 100% rename from app/src/lib/assets/empty-state/commits-up-to-date.svg rename to apps/desktop/src/lib/assets/empty-state/commits-up-to-date.svg diff --git a/app/src/lib/assets/empty-state/empty-folder.svg b/apps/desktop/src/lib/assets/empty-state/empty-folder.svg similarity index 100% rename from app/src/lib/assets/empty-state/empty-folder.svg rename to apps/desktop/src/lib/assets/empty-state/empty-folder.svg diff --git a/app/src/lib/assets/empty-state/lane-new.svg b/apps/desktop/src/lib/assets/empty-state/lane-new.svg similarity index 100% rename from app/src/lib/assets/empty-state/lane-new.svg rename to apps/desktop/src/lib/assets/empty-state/lane-new.svg diff --git a/app/src/lib/assets/empty-state/lane-no-changes.svg b/apps/desktop/src/lib/assets/empty-state/lane-no-changes.svg similarity index 100% rename from app/src/lib/assets/empty-state/lane-no-changes.svg rename to apps/desktop/src/lib/assets/empty-state/lane-no-changes.svg diff --git a/app/src/lib/assets/empty-state/no-branches.svg b/apps/desktop/src/lib/assets/empty-state/no-branches.svg similarity index 100% rename from app/src/lib/assets/empty-state/no-branches.svg rename to apps/desktop/src/lib/assets/empty-state/no-branches.svg diff --git a/app/src/lib/assets/gb-logo.svg b/apps/desktop/src/lib/assets/gb-logo.svg similarity index 100% rename from app/src/lib/assets/gb-logo.svg rename to apps/desktop/src/lib/assets/gb-logo.svg diff --git a/app/src/lib/assets/illustrations/analytics.svg b/apps/desktop/src/lib/assets/illustrations/analytics.svg similarity index 100% rename from app/src/lib/assets/illustrations/analytics.svg rename to apps/desktop/src/lib/assets/illustrations/analytics.svg diff --git a/app/src/lib/assets/illustrations/direction-doubt.svg b/apps/desktop/src/lib/assets/illustrations/direction-doubt.svg similarity index 100% rename from app/src/lib/assets/illustrations/direction-doubt.svg rename to apps/desktop/src/lib/assets/illustrations/direction-doubt.svg diff --git a/app/src/lib/assets/illustrations/load-error.svg b/apps/desktop/src/lib/assets/illustrations/load-error.svg similarity index 100% rename from app/src/lib/assets/illustrations/load-error.svg rename to apps/desktop/src/lib/assets/illustrations/load-error.svg diff --git a/app/src/lib/assets/illustrations/new-project.svg b/apps/desktop/src/lib/assets/illustrations/new-project.svg similarity index 100% rename from app/src/lib/assets/illustrations/new-project.svg rename to apps/desktop/src/lib/assets/illustrations/new-project.svg diff --git a/app/src/lib/assets/new-branch/bottom-sheet.svg b/apps/desktop/src/lib/assets/new-branch/bottom-sheet.svg similarity index 100% rename from app/src/lib/assets/new-branch/bottom-sheet.svg rename to apps/desktop/src/lib/assets/new-branch/bottom-sheet.svg diff --git a/app/src/lib/assets/new-branch/hand.svg b/apps/desktop/src/lib/assets/new-branch/hand.svg similarity index 100% rename from app/src/lib/assets/new-branch/hand.svg rename to apps/desktop/src/lib/assets/new-branch/hand.svg diff --git a/app/src/lib/assets/new-branch/middle-sheet.svg b/apps/desktop/src/lib/assets/new-branch/middle-sheet.svg similarity index 100% rename from app/src/lib/assets/new-branch/middle-sheet.svg rename to apps/desktop/src/lib/assets/new-branch/middle-sheet.svg diff --git a/app/src/lib/assets/new-branch/top-sheet.svg b/apps/desktop/src/lib/assets/new-branch/top-sheet.svg similarity index 100% rename from app/src/lib/assets/new-branch/top-sheet.svg rename to apps/desktop/src/lib/assets/new-branch/top-sheet.svg diff --git a/app/src/lib/assets/no-projects/new-project.svg b/apps/desktop/src/lib/assets/no-projects/new-project.svg similarity index 100% rename from app/src/lib/assets/no-projects/new-project.svg rename to apps/desktop/src/lib/assets/no-projects/new-project.svg diff --git a/app/src/lib/assets/no-projects/signin.svg b/apps/desktop/src/lib/assets/no-projects/signin.svg similarity index 100% rename from app/src/lib/assets/no-projects/signin.svg rename to apps/desktop/src/lib/assets/no-projects/signin.svg diff --git a/app/src/lib/backend/auth.ts b/apps/desktop/src/lib/backend/auth.ts similarity index 100% rename from app/src/lib/backend/auth.ts rename to apps/desktop/src/lib/backend/auth.ts diff --git a/app/src/lib/backend/data.ts b/apps/desktop/src/lib/backend/data.ts similarity index 100% rename from app/src/lib/backend/data.ts rename to apps/desktop/src/lib/backend/data.ts diff --git a/app/src/lib/backend/gitConfigService.ts b/apps/desktop/src/lib/backend/gitConfigService.ts similarity index 100% rename from app/src/lib/backend/gitConfigService.ts rename to apps/desktop/src/lib/backend/gitConfigService.ts diff --git a/app/src/lib/backend/github.ts b/apps/desktop/src/lib/backend/github.ts similarity index 100% rename from app/src/lib/backend/github.ts rename to apps/desktop/src/lib/backend/github.ts diff --git a/app/src/lib/backend/httpClient.ts b/apps/desktop/src/lib/backend/httpClient.ts similarity index 100% rename from app/src/lib/backend/httpClient.ts rename to apps/desktop/src/lib/backend/httpClient.ts diff --git a/app/src/lib/backend/ipc.ts b/apps/desktop/src/lib/backend/ipc.ts similarity index 100% rename from app/src/lib/backend/ipc.ts rename to apps/desktop/src/lib/backend/ipc.ts diff --git a/app/src/lib/backend/projects.ts b/apps/desktop/src/lib/backend/projects.ts similarity index 100% rename from app/src/lib/backend/projects.ts rename to apps/desktop/src/lib/backend/projects.ts diff --git a/app/src/lib/backend/prompt.ts b/apps/desktop/src/lib/backend/prompt.ts similarity index 100% rename from app/src/lib/backend/prompt.ts rename to apps/desktop/src/lib/backend/prompt.ts diff --git a/app/src/lib/backend/updater.ts b/apps/desktop/src/lib/backend/updater.ts similarity index 100% rename from app/src/lib/backend/updater.ts rename to apps/desktop/src/lib/backend/updater.ts diff --git a/app/src/lib/backend/zip.ts b/apps/desktop/src/lib/backend/zip.ts similarity index 100% rename from app/src/lib/backend/zip.ts rename to apps/desktop/src/lib/backend/zip.ts diff --git a/app/src/lib/backoff/scurve.test.ts b/apps/desktop/src/lib/backoff/scurve.test.ts similarity index 100% rename from app/src/lib/backoff/scurve.test.ts rename to apps/desktop/src/lib/backoff/scurve.test.ts diff --git a/app/src/lib/backoff/scurve.ts b/apps/desktop/src/lib/backoff/scurve.ts similarity index 100% rename from app/src/lib/backoff/scurve.ts rename to apps/desktop/src/lib/backoff/scurve.ts diff --git a/app/src/lib/baseBranch/baseBranch.ts b/apps/desktop/src/lib/baseBranch/baseBranch.ts similarity index 100% rename from app/src/lib/baseBranch/baseBranch.ts rename to apps/desktop/src/lib/baseBranch/baseBranch.ts diff --git a/app/src/lib/baseBranch/baseBranchService.ts b/apps/desktop/src/lib/baseBranch/baseBranchService.ts similarity index 100% rename from app/src/lib/baseBranch/baseBranchService.ts rename to apps/desktop/src/lib/baseBranch/baseBranchService.ts diff --git a/app/src/lib/branch/ActiveBranchStatus.svelte b/apps/desktop/src/lib/branch/ActiveBranchStatus.svelte similarity index 100% rename from app/src/lib/branch/ActiveBranchStatus.svelte rename to apps/desktop/src/lib/branch/ActiveBranchStatus.svelte diff --git a/app/src/lib/branch/BranchCard.svelte b/apps/desktop/src/lib/branch/BranchCard.svelte similarity index 100% rename from app/src/lib/branch/BranchCard.svelte rename to apps/desktop/src/lib/branch/BranchCard.svelte diff --git a/app/src/lib/branch/BranchDropzone.svelte b/apps/desktop/src/lib/branch/BranchDropzone.svelte similarity index 100% rename from app/src/lib/branch/BranchDropzone.svelte rename to apps/desktop/src/lib/branch/BranchDropzone.svelte diff --git a/app/src/lib/branch/BranchFooter.svelte b/apps/desktop/src/lib/branch/BranchFooter.svelte similarity index 100% rename from app/src/lib/branch/BranchFooter.svelte rename to apps/desktop/src/lib/branch/BranchFooter.svelte diff --git a/app/src/lib/branch/BranchHeader.svelte b/apps/desktop/src/lib/branch/BranchHeader.svelte similarity index 100% rename from app/src/lib/branch/BranchHeader.svelte rename to apps/desktop/src/lib/branch/BranchHeader.svelte diff --git a/app/src/lib/branch/BranchIcon.svelte b/apps/desktop/src/lib/branch/BranchIcon.svelte similarity index 100% rename from app/src/lib/branch/BranchIcon.svelte rename to apps/desktop/src/lib/branch/BranchIcon.svelte diff --git a/app/src/lib/branch/BranchLabel.svelte b/apps/desktop/src/lib/branch/BranchLabel.svelte similarity index 100% rename from app/src/lib/branch/BranchLabel.svelte rename to apps/desktop/src/lib/branch/BranchLabel.svelte diff --git a/app/src/lib/branch/BranchLane.svelte b/apps/desktop/src/lib/branch/BranchLane.svelte similarity index 100% rename from app/src/lib/branch/BranchLane.svelte rename to apps/desktop/src/lib/branch/BranchLane.svelte diff --git a/app/src/lib/branch/BranchLaneContextMenu.svelte b/apps/desktop/src/lib/branch/BranchLaneContextMenu.svelte similarity index 100% rename from app/src/lib/branch/BranchLaneContextMenu.svelte rename to apps/desktop/src/lib/branch/BranchLaneContextMenu.svelte diff --git a/app/src/lib/branch/BranchPreviewHeader.svelte b/apps/desktop/src/lib/branch/BranchPreviewHeader.svelte similarity index 100% rename from app/src/lib/branch/BranchPreviewHeader.svelte rename to apps/desktop/src/lib/branch/BranchPreviewHeader.svelte diff --git a/app/src/lib/branch/Dropzones.svelte b/apps/desktop/src/lib/branch/Dropzones.svelte similarity index 100% rename from app/src/lib/branch/Dropzones.svelte rename to apps/desktop/src/lib/branch/Dropzones.svelte diff --git a/app/src/lib/branch/PassphraseBox.svelte b/apps/desktop/src/lib/branch/PassphraseBox.svelte similarity index 100% rename from app/src/lib/branch/PassphraseBox.svelte rename to apps/desktop/src/lib/branch/PassphraseBox.svelte diff --git a/app/src/lib/branches/dragActions.ts b/apps/desktop/src/lib/branches/dragActions.ts similarity index 100% rename from app/src/lib/branches/dragActions.ts rename to apps/desktop/src/lib/branches/dragActions.ts diff --git a/app/src/lib/branches/nameNormalizationService.ts b/apps/desktop/src/lib/branches/nameNormalizationService.ts similarity index 100% rename from app/src/lib/branches/nameNormalizationService.ts rename to apps/desktop/src/lib/branches/nameNormalizationService.ts diff --git a/app/src/lib/branches/service.ts b/apps/desktop/src/lib/branches/service.ts similarity index 100% rename from app/src/lib/branches/service.ts rename to apps/desktop/src/lib/branches/service.ts diff --git a/app/src/lib/branches/types.ts b/apps/desktop/src/lib/branches/types.ts similarity index 100% rename from app/src/lib/branches/types.ts rename to apps/desktop/src/lib/branches/types.ts diff --git a/app/src/lib/clickOutside.ts b/apps/desktop/src/lib/clickOutside.ts similarity index 100% rename from app/src/lib/clickOutside.ts rename to apps/desktop/src/lib/clickOutside.ts diff --git a/app/src/lib/commit/CommitCard.svelte b/apps/desktop/src/lib/commit/CommitCard.svelte similarity index 100% rename from app/src/lib/commit/CommitCard.svelte rename to apps/desktop/src/lib/commit/CommitCard.svelte diff --git a/app/src/lib/commit/CommitDialog.svelte b/apps/desktop/src/lib/commit/CommitDialog.svelte similarity index 100% rename from app/src/lib/commit/CommitDialog.svelte rename to apps/desktop/src/lib/commit/CommitDialog.svelte diff --git a/app/src/lib/commit/CommitDragItem.svelte b/apps/desktop/src/lib/commit/CommitDragItem.svelte similarity index 100% rename from app/src/lib/commit/CommitDragItem.svelte rename to apps/desktop/src/lib/commit/CommitDragItem.svelte diff --git a/app/src/lib/commit/CommitList.svelte b/apps/desktop/src/lib/commit/CommitList.svelte similarity index 100% rename from app/src/lib/commit/CommitList.svelte rename to apps/desktop/src/lib/commit/CommitList.svelte diff --git a/app/src/lib/commit/CommitMessageInput.svelte b/apps/desktop/src/lib/commit/CommitMessageInput.svelte similarity index 100% rename from app/src/lib/commit/CommitMessageInput.svelte rename to apps/desktop/src/lib/commit/CommitMessageInput.svelte diff --git a/app/src/lib/commitLines/transformers.ts b/apps/desktop/src/lib/commitLines/transformers.ts similarity index 100% rename from app/src/lib/commitLines/transformers.ts rename to apps/desktop/src/lib/commitLines/transformers.ts diff --git a/app/src/lib/commits/dragActions.ts b/apps/desktop/src/lib/commits/dragActions.ts similarity index 100% rename from app/src/lib/commits/dragActions.ts rename to apps/desktop/src/lib/commits/dragActions.ts diff --git a/app/src/lib/components/AIPromptEdit/AIPromptEdit.svelte b/apps/desktop/src/lib/components/AIPromptEdit/AIPromptEdit.svelte similarity index 100% rename from app/src/lib/components/AIPromptEdit/AIPromptEdit.svelte rename to apps/desktop/src/lib/components/AIPromptEdit/AIPromptEdit.svelte diff --git a/app/src/lib/components/AIPromptEdit/Content.svelte b/apps/desktop/src/lib/components/AIPromptEdit/Content.svelte similarity index 100% rename from app/src/lib/components/AIPromptEdit/Content.svelte rename to apps/desktop/src/lib/components/AIPromptEdit/Content.svelte diff --git a/app/src/lib/components/AIPromptEdit/DialogBubble.svelte b/apps/desktop/src/lib/components/AIPromptEdit/DialogBubble.svelte similarity index 100% rename from app/src/lib/components/AIPromptEdit/DialogBubble.svelte rename to apps/desktop/src/lib/components/AIPromptEdit/DialogBubble.svelte diff --git a/app/src/lib/components/AIPromptSelect.svelte b/apps/desktop/src/lib/components/AIPromptSelect.svelte similarity index 100% rename from app/src/lib/components/AIPromptSelect.svelte rename to apps/desktop/src/lib/components/AIPromptSelect.svelte diff --git a/app/src/lib/components/AppUpdater.svelte b/apps/desktop/src/lib/components/AppUpdater.svelte similarity index 100% rename from app/src/lib/components/AppUpdater.svelte rename to apps/desktop/src/lib/components/AppUpdater.svelte diff --git a/app/src/lib/components/BackButton.svelte b/apps/desktop/src/lib/components/BackButton.svelte similarity index 100% rename from app/src/lib/components/BackButton.svelte rename to apps/desktop/src/lib/components/BackButton.svelte diff --git a/app/src/lib/components/BaseBranch.svelte b/apps/desktop/src/lib/components/BaseBranch.svelte similarity index 100% rename from app/src/lib/components/BaseBranch.svelte rename to apps/desktop/src/lib/components/BaseBranch.svelte diff --git a/app/src/lib/components/BaseBranchSwitch.svelte b/apps/desktop/src/lib/components/BaseBranchSwitch.svelte similarity index 100% rename from app/src/lib/components/BaseBranchSwitch.svelte rename to apps/desktop/src/lib/components/BaseBranchSwitch.svelte diff --git a/app/src/lib/components/Board.svelte b/apps/desktop/src/lib/components/Board.svelte similarity index 100% rename from app/src/lib/components/Board.svelte rename to apps/desktop/src/lib/components/Board.svelte diff --git a/app/src/lib/components/BranchPreview.svelte b/apps/desktop/src/lib/components/BranchPreview.svelte similarity index 100% rename from app/src/lib/components/BranchPreview.svelte rename to apps/desktop/src/lib/components/BranchPreview.svelte diff --git a/app/src/lib/components/DecorativeSplitView.svelte b/apps/desktop/src/lib/components/DecorativeSplitView.svelte similarity index 100% rename from app/src/lib/components/DecorativeSplitView.svelte rename to apps/desktop/src/lib/components/DecorativeSplitView.svelte diff --git a/app/src/lib/components/Differ/CodeHighlighter.ts b/apps/desktop/src/lib/components/Differ/CodeHighlighter.ts similarity index 100% rename from app/src/lib/components/Differ/CodeHighlighter.ts rename to apps/desktop/src/lib/components/Differ/CodeHighlighter.ts diff --git a/app/src/lib/components/Differ/renderer.ts b/apps/desktop/src/lib/components/Differ/renderer.ts similarity index 100% rename from app/src/lib/components/Differ/renderer.ts rename to apps/desktop/src/lib/components/Differ/renderer.ts diff --git a/app/src/lib/components/DomainButton.svelte b/apps/desktop/src/lib/components/DomainButton.svelte similarity index 100% rename from app/src/lib/components/DomainButton.svelte rename to apps/desktop/src/lib/components/DomainButton.svelte diff --git a/app/src/lib/components/EmptyStatePlaceholder.svelte b/apps/desktop/src/lib/components/EmptyStatePlaceholder.svelte similarity index 100% rename from app/src/lib/components/EmptyStatePlaceholder.svelte rename to apps/desktop/src/lib/components/EmptyStatePlaceholder.svelte diff --git a/app/src/lib/components/ExpandableSectionCard.svelte b/apps/desktop/src/lib/components/ExpandableSectionCard.svelte similarity index 100% rename from app/src/lib/components/ExpandableSectionCard.svelte rename to apps/desktop/src/lib/components/ExpandableSectionCard.svelte diff --git a/app/src/lib/components/FilterBranchesButton.svelte b/apps/desktop/src/lib/components/FilterBranchesButton.svelte similarity index 100% rename from app/src/lib/components/FilterBranchesButton.svelte rename to apps/desktop/src/lib/components/FilterBranchesButton.svelte diff --git a/app/src/lib/components/FullviewLoading.svelte b/apps/desktop/src/lib/components/FullviewLoading.svelte similarity index 100% rename from app/src/lib/components/FullviewLoading.svelte rename to apps/desktop/src/lib/components/FullviewLoading.svelte diff --git a/app/src/lib/components/GlobalSettingsMenuAction.svelte b/apps/desktop/src/lib/components/GlobalSettingsMenuAction.svelte similarity index 100% rename from app/src/lib/components/GlobalSettingsMenuAction.svelte rename to apps/desktop/src/lib/components/GlobalSettingsMenuAction.svelte diff --git a/app/src/lib/components/InsertEmptyCommitAction.svelte b/apps/desktop/src/lib/components/InsertEmptyCommitAction.svelte similarity index 100% rename from app/src/lib/components/InsertEmptyCommitAction.svelte rename to apps/desktop/src/lib/components/InsertEmptyCommitAction.svelte diff --git a/app/src/lib/components/Login.svelte b/apps/desktop/src/lib/components/Login.svelte similarity index 100% rename from app/src/lib/components/Login.svelte rename to apps/desktop/src/lib/components/Login.svelte diff --git a/app/src/lib/components/NoBaseBranch.svelte b/apps/desktop/src/lib/components/NoBaseBranch.svelte similarity index 100% rename from app/src/lib/components/NoBaseBranch.svelte rename to apps/desktop/src/lib/components/NoBaseBranch.svelte diff --git a/app/src/lib/components/NotOnGitButlerBranch.svelte b/apps/desktop/src/lib/components/NotOnGitButlerBranch.svelte similarity index 100% rename from app/src/lib/components/NotOnGitButlerBranch.svelte rename to apps/desktop/src/lib/components/NotOnGitButlerBranch.svelte diff --git a/app/src/lib/components/ProblemLoadingRepo.svelte b/apps/desktop/src/lib/components/ProblemLoadingRepo.svelte similarity index 100% rename from app/src/lib/components/ProblemLoadingRepo.svelte rename to apps/desktop/src/lib/components/ProblemLoadingRepo.svelte diff --git a/app/src/lib/components/ProjectSettingsMenuAction.svelte b/apps/desktop/src/lib/components/ProjectSettingsMenuAction.svelte similarity index 100% rename from app/src/lib/components/ProjectSettingsMenuAction.svelte rename to apps/desktop/src/lib/components/ProjectSettingsMenuAction.svelte diff --git a/app/src/lib/components/ProjectSetup.svelte b/apps/desktop/src/lib/components/ProjectSetup.svelte similarity index 100% rename from app/src/lib/components/ProjectSetup.svelte rename to apps/desktop/src/lib/components/ProjectSetup.svelte diff --git a/app/src/lib/components/ProjectSetupTarget.svelte b/apps/desktop/src/lib/components/ProjectSetupTarget.svelte similarity index 100% rename from app/src/lib/components/ProjectSetupTarget.svelte rename to apps/desktop/src/lib/components/ProjectSetupTarget.svelte diff --git a/app/src/lib/components/ProjectSwitcher.svelte b/apps/desktop/src/lib/components/ProjectSwitcher.svelte similarity index 100% rename from app/src/lib/components/ProjectSwitcher.svelte rename to apps/desktop/src/lib/components/ProjectSwitcher.svelte diff --git a/app/src/lib/components/PromptModal.svelte b/apps/desktop/src/lib/components/PromptModal.svelte similarity index 100% rename from app/src/lib/components/PromptModal.svelte rename to apps/desktop/src/lib/components/PromptModal.svelte diff --git a/app/src/lib/components/PullRequestPreview.svelte b/apps/desktop/src/lib/components/PullRequestPreview.svelte similarity index 100% rename from app/src/lib/components/PullRequestPreview.svelte rename to apps/desktop/src/lib/components/PullRequestPreview.svelte diff --git a/app/src/lib/components/PushButton.svelte b/apps/desktop/src/lib/components/PushButton.svelte similarity index 100% rename from app/src/lib/components/PushButton.svelte rename to apps/desktop/src/lib/components/PushButton.svelte diff --git a/app/src/lib/components/RemoveProjectButton.svelte b/apps/desktop/src/lib/components/RemoveProjectButton.svelte similarity index 100% rename from app/src/lib/components/RemoveProjectButton.svelte rename to apps/desktop/src/lib/components/RemoveProjectButton.svelte diff --git a/app/src/lib/components/SectionCard.svelte b/apps/desktop/src/lib/components/SectionCard.svelte similarity index 100% rename from app/src/lib/components/SectionCard.svelte rename to apps/desktop/src/lib/components/SectionCard.svelte diff --git a/app/src/lib/components/SectionCardDisclaimer.svelte b/apps/desktop/src/lib/components/SectionCardDisclaimer.svelte similarity index 100% rename from app/src/lib/components/SectionCardDisclaimer.svelte rename to apps/desktop/src/lib/components/SectionCardDisclaimer.svelte diff --git a/app/src/lib/components/SegmentControl/Segment.svelte b/apps/desktop/src/lib/components/SegmentControl/Segment.svelte similarity index 100% rename from app/src/lib/components/SegmentControl/Segment.svelte rename to apps/desktop/src/lib/components/SegmentControl/Segment.svelte diff --git a/app/src/lib/components/SegmentControl/SegmentedControl.svelte b/apps/desktop/src/lib/components/SegmentControl/SegmentedControl.svelte similarity index 100% rename from app/src/lib/components/SegmentControl/SegmentedControl.svelte rename to apps/desktop/src/lib/components/SegmentControl/SegmentedControl.svelte diff --git a/app/src/lib/components/SegmentControl/segment.ts b/apps/desktop/src/lib/components/SegmentControl/segment.ts similarity index 100% rename from app/src/lib/components/SegmentControl/segment.ts rename to apps/desktop/src/lib/components/SegmentControl/segment.ts diff --git a/app/src/lib/components/SetupFeature.svelte b/apps/desktop/src/lib/components/SetupFeature.svelte similarity index 100% rename from app/src/lib/components/SetupFeature.svelte rename to apps/desktop/src/lib/components/SetupFeature.svelte diff --git a/app/src/lib/components/ShareIssueModal.svelte b/apps/desktop/src/lib/components/ShareIssueModal.svelte similarity index 100% rename from app/src/lib/components/ShareIssueModal.svelte rename to apps/desktop/src/lib/components/ShareIssueModal.svelte diff --git a/app/src/lib/components/SomethingWentWrong.svelte b/apps/desktop/src/lib/components/SomethingWentWrong.svelte similarity index 100% rename from app/src/lib/components/SomethingWentWrong.svelte rename to apps/desktop/src/lib/components/SomethingWentWrong.svelte diff --git a/app/src/lib/components/SyncButton.svelte b/apps/desktop/src/lib/components/SyncButton.svelte similarity index 100% rename from app/src/lib/components/SyncButton.svelte rename to apps/desktop/src/lib/components/SyncButton.svelte diff --git a/app/src/lib/components/UpdateBaseButton.svelte b/apps/desktop/src/lib/components/UpdateBaseButton.svelte similarity index 100% rename from app/src/lib/components/UpdateBaseButton.svelte rename to apps/desktop/src/lib/components/UpdateBaseButton.svelte diff --git a/app/src/lib/components/Welcome.svelte b/apps/desktop/src/lib/components/Welcome.svelte similarity index 100% rename from app/src/lib/components/Welcome.svelte rename to apps/desktop/src/lib/components/Welcome.svelte diff --git a/app/src/lib/components/WelcomeAction.svelte b/apps/desktop/src/lib/components/WelcomeAction.svelte similarity index 100% rename from app/src/lib/components/WelcomeAction.svelte rename to apps/desktop/src/lib/components/WelcomeAction.svelte diff --git a/app/src/lib/components/WelcomeSigninAction.svelte b/apps/desktop/src/lib/components/WelcomeSigninAction.svelte similarity index 100% rename from app/src/lib/components/WelcomeSigninAction.svelte rename to apps/desktop/src/lib/components/WelcomeSigninAction.svelte diff --git a/app/src/lib/components/contextmenu/ContextMenu.svelte b/apps/desktop/src/lib/components/contextmenu/ContextMenu.svelte similarity index 100% rename from app/src/lib/components/contextmenu/ContextMenu.svelte rename to apps/desktop/src/lib/components/contextmenu/ContextMenu.svelte diff --git a/app/src/lib/components/contextmenu/ContextMenuItem.svelte b/apps/desktop/src/lib/components/contextmenu/ContextMenuItem.svelte similarity index 100% rename from app/src/lib/components/contextmenu/ContextMenuItem.svelte rename to apps/desktop/src/lib/components/contextmenu/ContextMenuItem.svelte diff --git a/app/src/lib/components/contextmenu/ContextMenuSection.svelte b/apps/desktop/src/lib/components/contextmenu/ContextMenuSection.svelte similarity index 100% rename from app/src/lib/components/contextmenu/ContextMenuSection.svelte rename to apps/desktop/src/lib/components/contextmenu/ContextMenuSection.svelte diff --git a/app/src/lib/config/appSettings.ts b/apps/desktop/src/lib/config/appSettings.ts similarity index 100% rename from app/src/lib/config/appSettings.ts rename to apps/desktop/src/lib/config/appSettings.ts diff --git a/app/src/lib/config/config.ts b/apps/desktop/src/lib/config/config.ts similarity index 100% rename from app/src/lib/config/config.ts rename to apps/desktop/src/lib/config/config.ts diff --git a/app/src/lib/config/uiFeatureFlags.ts b/apps/desktop/src/lib/config/uiFeatureFlags.ts similarity index 100% rename from app/src/lib/config/uiFeatureFlags.ts rename to apps/desktop/src/lib/config/uiFeatureFlags.ts diff --git a/app/src/lib/diff/characterIdMap.ts b/apps/desktop/src/lib/diff/characterIdMap.ts similarity index 100% rename from app/src/lib/diff/characterIdMap.ts rename to apps/desktop/src/lib/diff/characterIdMap.ts diff --git a/app/src/lib/diff/index.ts b/apps/desktop/src/lib/diff/index.ts similarity index 100% rename from app/src/lib/diff/index.ts rename to apps/desktop/src/lib/diff/index.ts diff --git a/app/src/lib/dragging/draggable.ts b/apps/desktop/src/lib/dragging/draggable.ts similarity index 100% rename from app/src/lib/dragging/draggable.ts rename to apps/desktop/src/lib/dragging/draggable.ts diff --git a/app/src/lib/dragging/draggables.ts b/apps/desktop/src/lib/dragging/draggables.ts similarity index 100% rename from app/src/lib/dragging/draggables.ts rename to apps/desktop/src/lib/dragging/draggables.ts diff --git a/app/src/lib/dragging/dropzone.ts b/apps/desktop/src/lib/dragging/dropzone.ts similarity index 100% rename from app/src/lib/dragging/dropzone.ts rename to apps/desktop/src/lib/dragging/dropzone.ts diff --git a/app/src/lib/dragging/reorderDropzoneManager.ts b/apps/desktop/src/lib/dragging/reorderDropzoneManager.ts similarity index 100% rename from app/src/lib/dragging/reorderDropzoneManager.ts rename to apps/desktop/src/lib/dragging/reorderDropzoneManager.ts diff --git a/app/src/lib/dropzone/CardOverlay.svelte b/apps/desktop/src/lib/dropzone/CardOverlay.svelte similarity index 100% rename from app/src/lib/dropzone/CardOverlay.svelte rename to apps/desktop/src/lib/dropzone/CardOverlay.svelte diff --git a/app/src/lib/dropzone/Dropzone.svelte b/apps/desktop/src/lib/dropzone/Dropzone.svelte similarity index 100% rename from app/src/lib/dropzone/Dropzone.svelte rename to apps/desktop/src/lib/dropzone/Dropzone.svelte diff --git a/app/src/lib/dropzone/LineOverlay.svelte b/apps/desktop/src/lib/dropzone/LineOverlay.svelte similarity index 100% rename from app/src/lib/dropzone/LineOverlay.svelte rename to apps/desktop/src/lib/dropzone/LineOverlay.svelte diff --git a/app/src/lib/editorLink/editorLink.ts b/apps/desktop/src/lib/editorLink/editorLink.ts similarity index 100% rename from app/src/lib/editorLink/editorLink.ts rename to apps/desktop/src/lib/editorLink/editorLink.ts diff --git a/app/src/lib/ext-icons/index.ts b/apps/desktop/src/lib/ext-icons/index.ts similarity index 100% rename from app/src/lib/ext-icons/index.ts rename to apps/desktop/src/lib/ext-icons/index.ts diff --git a/app/src/lib/ext-icons/symbol/fileIcons.ts b/apps/desktop/src/lib/ext-icons/symbol/fileIcons.ts similarity index 100% rename from app/src/lib/ext-icons/symbol/fileIcons.ts rename to apps/desktop/src/lib/ext-icons/symbol/fileIcons.ts diff --git a/app/src/lib/ext-icons/symbol/typeMap.ts b/apps/desktop/src/lib/ext-icons/symbol/typeMap.ts similarity index 100% rename from app/src/lib/ext-icons/symbol/typeMap.ts rename to apps/desktop/src/lib/ext-icons/symbol/typeMap.ts diff --git a/app/src/lib/fetchSignal/fetchSignal.ts b/apps/desktop/src/lib/fetchSignal/fetchSignal.ts similarity index 100% rename from app/src/lib/fetchSignal/fetchSignal.ts rename to apps/desktop/src/lib/fetchSignal/fetchSignal.ts diff --git a/app/src/lib/file/BranchFiles.svelte b/apps/desktop/src/lib/file/BranchFiles.svelte similarity index 100% rename from app/src/lib/file/BranchFiles.svelte rename to apps/desktop/src/lib/file/BranchFiles.svelte diff --git a/app/src/lib/file/BranchFilesHeader.svelte b/apps/desktop/src/lib/file/BranchFilesHeader.svelte similarity index 100% rename from app/src/lib/file/BranchFilesHeader.svelte rename to apps/desktop/src/lib/file/BranchFilesHeader.svelte diff --git a/app/src/lib/file/BranchFilesList.svelte b/apps/desktop/src/lib/file/BranchFilesList.svelte similarity index 100% rename from app/src/lib/file/BranchFilesList.svelte rename to apps/desktop/src/lib/file/BranchFilesList.svelte diff --git a/app/src/lib/file/FileCard.svelte b/apps/desktop/src/lib/file/FileCard.svelte similarity index 100% rename from app/src/lib/file/FileCard.svelte rename to apps/desktop/src/lib/file/FileCard.svelte diff --git a/app/src/lib/file/FileCardHeader.svelte b/apps/desktop/src/lib/file/FileCardHeader.svelte similarity index 100% rename from app/src/lib/file/FileCardHeader.svelte rename to apps/desktop/src/lib/file/FileCardHeader.svelte diff --git a/app/src/lib/file/FileContextMenu.svelte b/apps/desktop/src/lib/file/FileContextMenu.svelte similarity index 100% rename from app/src/lib/file/FileContextMenu.svelte rename to apps/desktop/src/lib/file/FileContextMenu.svelte diff --git a/app/src/lib/file/FileDiff.svelte b/apps/desktop/src/lib/file/FileDiff.svelte similarity index 100% rename from app/src/lib/file/FileDiff.svelte rename to apps/desktop/src/lib/file/FileDiff.svelte diff --git a/app/src/lib/file/FileListItem.svelte b/apps/desktop/src/lib/file/FileListItem.svelte similarity index 100% rename from app/src/lib/file/FileListItem.svelte rename to apps/desktop/src/lib/file/FileListItem.svelte diff --git a/app/src/lib/file/FileStatusCircle.svelte b/apps/desktop/src/lib/file/FileStatusCircle.svelte similarity index 100% rename from app/src/lib/file/FileStatusCircle.svelte rename to apps/desktop/src/lib/file/FileStatusCircle.svelte diff --git a/app/src/lib/file/FileStatusIcons.svelte b/apps/desktop/src/lib/file/FileStatusIcons.svelte similarity index 100% rename from app/src/lib/file/FileStatusIcons.svelte rename to apps/desktop/src/lib/file/FileStatusIcons.svelte diff --git a/app/src/lib/file/FileStatusTag.svelte b/apps/desktop/src/lib/file/FileStatusTag.svelte similarity index 100% rename from app/src/lib/file/FileStatusTag.svelte rename to apps/desktop/src/lib/file/FileStatusTag.svelte diff --git a/app/src/lib/gitHost/gitHostFactory.test.ts b/apps/desktop/src/lib/gitHost/gitHostFactory.test.ts similarity index 100% rename from app/src/lib/gitHost/gitHostFactory.test.ts rename to apps/desktop/src/lib/gitHost/gitHostFactory.test.ts diff --git a/app/src/lib/gitHost/gitHostFactory.ts b/apps/desktop/src/lib/gitHost/gitHostFactory.ts similarity index 100% rename from app/src/lib/gitHost/gitHostFactory.ts rename to apps/desktop/src/lib/gitHost/gitHostFactory.ts diff --git a/app/src/lib/gitHost/github/errorMap.ts b/apps/desktop/src/lib/gitHost/github/errorMap.ts similarity index 100% rename from app/src/lib/gitHost/github/errorMap.ts rename to apps/desktop/src/lib/gitHost/github/errorMap.ts diff --git a/app/src/lib/gitHost/github/github.ts b/apps/desktop/src/lib/gitHost/github/github.ts similarity index 100% rename from app/src/lib/gitHost/github/github.ts rename to apps/desktop/src/lib/gitHost/github/github.ts diff --git a/app/src/lib/gitHost/github/githubChecksMonitor.test.ts b/apps/desktop/src/lib/gitHost/github/githubChecksMonitor.test.ts similarity index 100% rename from app/src/lib/gitHost/github/githubChecksMonitor.test.ts rename to apps/desktop/src/lib/gitHost/github/githubChecksMonitor.test.ts diff --git a/app/src/lib/gitHost/github/githubChecksMonitor.ts b/apps/desktop/src/lib/gitHost/github/githubChecksMonitor.ts similarity index 100% rename from app/src/lib/gitHost/github/githubChecksMonitor.ts rename to apps/desktop/src/lib/gitHost/github/githubChecksMonitor.ts diff --git a/app/src/lib/gitHost/github/githubListingService.test.ts b/apps/desktop/src/lib/gitHost/github/githubListingService.test.ts similarity index 100% rename from app/src/lib/gitHost/github/githubListingService.test.ts rename to apps/desktop/src/lib/gitHost/github/githubListingService.test.ts diff --git a/app/src/lib/gitHost/github/githubListingService.ts b/apps/desktop/src/lib/gitHost/github/githubListingService.ts similarity index 100% rename from app/src/lib/gitHost/github/githubListingService.ts rename to apps/desktop/src/lib/gitHost/github/githubListingService.ts diff --git a/app/src/lib/gitHost/github/githubPrMonitor.test.ts b/apps/desktop/src/lib/gitHost/github/githubPrMonitor.test.ts similarity index 100% rename from app/src/lib/gitHost/github/githubPrMonitor.test.ts rename to apps/desktop/src/lib/gitHost/github/githubPrMonitor.test.ts diff --git a/app/src/lib/gitHost/github/githubPrMonitor.ts b/apps/desktop/src/lib/gitHost/github/githubPrMonitor.ts similarity index 100% rename from app/src/lib/gitHost/github/githubPrMonitor.ts rename to apps/desktop/src/lib/gitHost/github/githubPrMonitor.ts diff --git a/app/src/lib/gitHost/github/githubPrService.test.ts b/apps/desktop/src/lib/gitHost/github/githubPrService.test.ts similarity index 100% rename from app/src/lib/gitHost/github/githubPrService.test.ts rename to apps/desktop/src/lib/gitHost/github/githubPrService.test.ts diff --git a/app/src/lib/gitHost/github/githubPrService.ts b/apps/desktop/src/lib/gitHost/github/githubPrService.ts similarity index 100% rename from app/src/lib/gitHost/github/githubPrService.ts rename to apps/desktop/src/lib/gitHost/github/githubPrService.ts diff --git a/app/src/lib/gitHost/github/githubUserService.ts b/apps/desktop/src/lib/gitHost/github/githubUserService.ts similarity index 100% rename from app/src/lib/gitHost/github/githubUserService.ts rename to apps/desktop/src/lib/gitHost/github/githubUserService.ts diff --git a/app/src/lib/gitHost/github/headers.ts b/apps/desktop/src/lib/gitHost/github/headers.ts similarity index 100% rename from app/src/lib/gitHost/github/headers.ts rename to apps/desktop/src/lib/gitHost/github/headers.ts diff --git a/app/src/lib/gitHost/github/octokit.ts b/apps/desktop/src/lib/gitHost/github/octokit.ts similarity index 100% rename from app/src/lib/gitHost/github/octokit.ts rename to apps/desktop/src/lib/gitHost/github/octokit.ts diff --git a/app/src/lib/gitHost/github/types.ts b/apps/desktop/src/lib/gitHost/github/types.ts similarity index 100% rename from app/src/lib/gitHost/github/types.ts rename to apps/desktop/src/lib/gitHost/github/types.ts diff --git a/app/src/lib/gitHost/interface/gitHost.ts b/apps/desktop/src/lib/gitHost/interface/gitHost.ts similarity index 100% rename from app/src/lib/gitHost/interface/gitHost.ts rename to apps/desktop/src/lib/gitHost/interface/gitHost.ts diff --git a/app/src/lib/gitHost/interface/gitHostChecksMonitor.ts b/apps/desktop/src/lib/gitHost/interface/gitHostChecksMonitor.ts similarity index 100% rename from app/src/lib/gitHost/interface/gitHostChecksMonitor.ts rename to apps/desktop/src/lib/gitHost/interface/gitHostChecksMonitor.ts diff --git a/app/src/lib/gitHost/interface/gitHostListingService.ts b/apps/desktop/src/lib/gitHost/interface/gitHostListingService.ts similarity index 100% rename from app/src/lib/gitHost/interface/gitHostListingService.ts rename to apps/desktop/src/lib/gitHost/interface/gitHostListingService.ts diff --git a/app/src/lib/gitHost/interface/gitHostPrMonitor.ts b/apps/desktop/src/lib/gitHost/interface/gitHostPrMonitor.ts similarity index 100% rename from app/src/lib/gitHost/interface/gitHostPrMonitor.ts rename to apps/desktop/src/lib/gitHost/interface/gitHostPrMonitor.ts diff --git a/app/src/lib/gitHost/interface/gitHostPrService.ts b/apps/desktop/src/lib/gitHost/interface/gitHostPrService.ts similarity index 100% rename from app/src/lib/gitHost/interface/gitHostPrService.ts rename to apps/desktop/src/lib/gitHost/interface/gitHostPrService.ts diff --git a/app/src/lib/gitHost/interface/types.ts b/apps/desktop/src/lib/gitHost/interface/types.ts similarity index 100% rename from app/src/lib/gitHost/interface/types.ts rename to apps/desktop/src/lib/gitHost/interface/types.ts diff --git a/app/src/lib/gravatar/url.ts b/apps/desktop/src/lib/gravatar/url.ts similarity index 100% rename from app/src/lib/gravatar/url.ts rename to apps/desktop/src/lib/gravatar/url.ts diff --git a/app/src/lib/head/headService.ts b/apps/desktop/src/lib/head/headService.ts similarity index 100% rename from app/src/lib/head/headService.ts rename to apps/desktop/src/lib/head/headService.ts diff --git a/app/src/lib/history/History.svelte b/apps/desktop/src/lib/history/History.svelte similarity index 100% rename from app/src/lib/history/History.svelte rename to apps/desktop/src/lib/history/History.svelte diff --git a/app/src/lib/history/SnapshotAttachment.svelte b/apps/desktop/src/lib/history/SnapshotAttachment.svelte similarity index 100% rename from app/src/lib/history/SnapshotAttachment.svelte rename to apps/desktop/src/lib/history/SnapshotAttachment.svelte diff --git a/app/src/lib/history/SnapshotCard.svelte b/apps/desktop/src/lib/history/SnapshotCard.svelte similarity index 100% rename from app/src/lib/history/SnapshotCard.svelte rename to apps/desktop/src/lib/history/SnapshotCard.svelte diff --git a/app/src/lib/history/history.ts b/apps/desktop/src/lib/history/history.ts similarity index 100% rename from app/src/lib/history/history.ts rename to apps/desktop/src/lib/history/history.ts diff --git a/app/src/lib/history/types.ts b/apps/desktop/src/lib/history/types.ts similarity index 100% rename from app/src/lib/history/types.ts rename to apps/desktop/src/lib/history/types.ts diff --git a/app/src/lib/hunk/HunkContextMenu.svelte b/apps/desktop/src/lib/hunk/HunkContextMenu.svelte similarity index 100% rename from app/src/lib/hunk/HunkContextMenu.svelte rename to apps/desktop/src/lib/hunk/HunkContextMenu.svelte diff --git a/app/src/lib/hunk/HunkLines.svelte b/apps/desktop/src/lib/hunk/HunkLines.svelte similarity index 100% rename from app/src/lib/hunk/HunkLines.svelte rename to apps/desktop/src/lib/hunk/HunkLines.svelte diff --git a/app/src/lib/hunk/HunkViewer.svelte b/apps/desktop/src/lib/hunk/HunkViewer.svelte similarity index 100% rename from app/src/lib/hunk/HunkViewer.svelte rename to apps/desktop/src/lib/hunk/HunkViewer.svelte diff --git a/app/src/lib/icons/icons.json b/apps/desktop/src/lib/icons/icons.json similarity index 100% rename from app/src/lib/icons/icons.json rename to apps/desktop/src/lib/icons/icons.json diff --git a/app/src/lib/metrics/MetricsReporter.svelte b/apps/desktop/src/lib/metrics/MetricsReporter.svelte similarity index 100% rename from app/src/lib/metrics/MetricsReporter.svelte rename to apps/desktop/src/lib/metrics/MetricsReporter.svelte diff --git a/app/src/lib/metrics/projectMetrics.ts b/apps/desktop/src/lib/metrics/projectMetrics.ts similarity index 100% rename from app/src/lib/metrics/projectMetrics.ts rename to apps/desktop/src/lib/metrics/projectMetrics.ts diff --git a/app/src/lib/navigation/BaseBranchCard.svelte b/apps/desktop/src/lib/navigation/BaseBranchCard.svelte similarity index 100% rename from app/src/lib/navigation/BaseBranchCard.svelte rename to apps/desktop/src/lib/navigation/BaseBranchCard.svelte diff --git a/app/src/lib/navigation/BranchItem.svelte b/apps/desktop/src/lib/navigation/BranchItem.svelte similarity index 100% rename from app/src/lib/navigation/BranchItem.svelte rename to apps/desktop/src/lib/navigation/BranchItem.svelte diff --git a/app/src/lib/navigation/Branches.svelte b/apps/desktop/src/lib/navigation/Branches.svelte similarity index 100% rename from app/src/lib/navigation/Branches.svelte rename to apps/desktop/src/lib/navigation/Branches.svelte diff --git a/app/src/lib/navigation/BranchesHeader.svelte b/apps/desktop/src/lib/navigation/BranchesHeader.svelte similarity index 100% rename from app/src/lib/navigation/BranchesHeader.svelte rename to apps/desktop/src/lib/navigation/BranchesHeader.svelte diff --git a/app/src/lib/navigation/Footer.svelte b/apps/desktop/src/lib/navigation/Footer.svelte similarity index 100% rename from app/src/lib/navigation/Footer.svelte rename to apps/desktop/src/lib/navigation/Footer.svelte diff --git a/app/src/lib/navigation/Navigation.svelte b/apps/desktop/src/lib/navigation/Navigation.svelte similarity index 100% rename from app/src/lib/navigation/Navigation.svelte rename to apps/desktop/src/lib/navigation/Navigation.svelte diff --git a/app/src/lib/navigation/ProjectAvatar.svelte b/apps/desktop/src/lib/navigation/ProjectAvatar.svelte similarity index 100% rename from app/src/lib/navigation/ProjectAvatar.svelte rename to apps/desktop/src/lib/navigation/ProjectAvatar.svelte diff --git a/app/src/lib/navigation/ProjectSelector.svelte b/apps/desktop/src/lib/navigation/ProjectSelector.svelte similarity index 100% rename from app/src/lib/navigation/ProjectSelector.svelte rename to apps/desktop/src/lib/navigation/ProjectSelector.svelte diff --git a/app/src/lib/navigation/ProjectsPopup.svelte b/apps/desktop/src/lib/navigation/ProjectsPopup.svelte similarity index 100% rename from app/src/lib/navigation/ProjectsPopup.svelte rename to apps/desktop/src/lib/navigation/ProjectsPopup.svelte diff --git a/app/src/lib/notifications/ToastController.svelte b/apps/desktop/src/lib/notifications/ToastController.svelte similarity index 100% rename from app/src/lib/notifications/ToastController.svelte rename to apps/desktop/src/lib/notifications/ToastController.svelte diff --git a/app/src/lib/notifications/toasts.ts b/apps/desktop/src/lib/notifications/toasts.ts similarity index 100% rename from app/src/lib/notifications/toasts.ts rename to apps/desktop/src/lib/notifications/toasts.ts diff --git a/app/src/lib/persisted/persisted.ts b/apps/desktop/src/lib/persisted/persisted.ts similarity index 100% rename from app/src/lib/persisted/persisted.ts rename to apps/desktop/src/lib/persisted/persisted.ts diff --git a/app/src/lib/platform/platform.ts b/apps/desktop/src/lib/platform/platform.ts similarity index 100% rename from app/src/lib/platform/platform.ts rename to apps/desktop/src/lib/platform/platform.ts diff --git a/app/src/lib/pr/CopyLinkContextMenu.svelte b/apps/desktop/src/lib/pr/CopyLinkContextMenu.svelte similarity index 100% rename from app/src/lib/pr/CopyLinkContextMenu.svelte rename to apps/desktop/src/lib/pr/CopyLinkContextMenu.svelte diff --git a/app/src/lib/pr/MergeButton.svelte b/apps/desktop/src/lib/pr/MergeButton.svelte similarity index 100% rename from app/src/lib/pr/MergeButton.svelte rename to apps/desktop/src/lib/pr/MergeButton.svelte diff --git a/app/src/lib/pr/PullRequestButton.svelte b/apps/desktop/src/lib/pr/PullRequestButton.svelte similarity index 100% rename from app/src/lib/pr/PullRequestButton.svelte rename to apps/desktop/src/lib/pr/PullRequestButton.svelte diff --git a/app/src/lib/pr/PullRequestCard.svelte b/apps/desktop/src/lib/pr/PullRequestCard.svelte similarity index 100% rename from app/src/lib/pr/PullRequestCard.svelte rename to apps/desktop/src/lib/pr/PullRequestCard.svelte diff --git a/app/src/lib/pr/ViewPrButton.svelte b/apps/desktop/src/lib/pr/ViewPrButton.svelte similarity index 100% rename from app/src/lib/pr/ViewPrButton.svelte rename to apps/desktop/src/lib/pr/ViewPrButton.svelte diff --git a/app/src/lib/remotes/service.ts b/apps/desktop/src/lib/remotes/service.ts similarity index 100% rename from app/src/lib/remotes/service.ts rename to apps/desktop/src/lib/remotes/service.ts diff --git a/app/src/lib/result.ts b/apps/desktop/src/lib/result.ts similarity index 100% rename from app/src/lib/result.ts rename to apps/desktop/src/lib/result.ts diff --git a/app/src/lib/secrets/secretsService.ts b/apps/desktop/src/lib/secrets/secretsService.ts similarity index 100% rename from app/src/lib/secrets/secretsService.ts rename to apps/desktop/src/lib/secrets/secretsService.ts diff --git a/app/src/lib/select/OptionsGroup.svelte b/apps/desktop/src/lib/select/OptionsGroup.svelte similarity index 100% rename from app/src/lib/select/OptionsGroup.svelte rename to apps/desktop/src/lib/select/OptionsGroup.svelte diff --git a/app/src/lib/select/SearchItem.svelte b/apps/desktop/src/lib/select/SearchItem.svelte similarity index 100% rename from app/src/lib/select/SearchItem.svelte rename to apps/desktop/src/lib/select/SearchItem.svelte diff --git a/app/src/lib/select/Select.svelte b/apps/desktop/src/lib/select/Select.svelte similarity index 100% rename from app/src/lib/select/Select.svelte rename to apps/desktop/src/lib/select/Select.svelte diff --git a/app/src/lib/select/SelectItem.svelte b/apps/desktop/src/lib/select/SelectItem.svelte similarity index 100% rename from app/src/lib/select/SelectItem.svelte rename to apps/desktop/src/lib/select/SelectItem.svelte diff --git a/app/src/lib/settings/AnalyticsConfirmation.svelte b/apps/desktop/src/lib/settings/AnalyticsConfirmation.svelte similarity index 100% rename from app/src/lib/settings/AnalyticsConfirmation.svelte rename to apps/desktop/src/lib/settings/AnalyticsConfirmation.svelte diff --git a/app/src/lib/settings/AnalyticsSettings.svelte b/apps/desktop/src/lib/settings/AnalyticsSettings.svelte similarity index 100% rename from app/src/lib/settings/AnalyticsSettings.svelte rename to apps/desktop/src/lib/settings/AnalyticsSettings.svelte diff --git a/app/src/lib/settings/AuthorizationBanner.svelte b/apps/desktop/src/lib/settings/AuthorizationBanner.svelte similarity index 100% rename from app/src/lib/settings/AuthorizationBanner.svelte rename to apps/desktop/src/lib/settings/AuthorizationBanner.svelte diff --git a/app/src/lib/settings/CloudForm.svelte b/apps/desktop/src/lib/settings/CloudForm.svelte similarity index 100% rename from app/src/lib/settings/CloudForm.svelte rename to apps/desktop/src/lib/settings/CloudForm.svelte diff --git a/app/src/lib/settings/ContentWrapper.svelte b/apps/desktop/src/lib/settings/ContentWrapper.svelte similarity index 100% rename from app/src/lib/settings/ContentWrapper.svelte rename to apps/desktop/src/lib/settings/ContentWrapper.svelte diff --git a/app/src/lib/settings/CredentialCheck.svelte b/apps/desktop/src/lib/settings/CredentialCheck.svelte similarity index 100% rename from app/src/lib/settings/CredentialCheck.svelte rename to apps/desktop/src/lib/settings/CredentialCheck.svelte diff --git a/app/src/lib/settings/DetailsForm.svelte b/apps/desktop/src/lib/settings/DetailsForm.svelte similarity index 100% rename from app/src/lib/settings/DetailsForm.svelte rename to apps/desktop/src/lib/settings/DetailsForm.svelte diff --git a/app/src/lib/settings/GithubIntegration.svelte b/apps/desktop/src/lib/settings/GithubIntegration.svelte similarity index 100% rename from app/src/lib/settings/GithubIntegration.svelte rename to apps/desktop/src/lib/settings/GithubIntegration.svelte diff --git a/app/src/lib/settings/KeysForm.svelte b/apps/desktop/src/lib/settings/KeysForm.svelte similarity index 100% rename from app/src/lib/settings/KeysForm.svelte rename to apps/desktop/src/lib/settings/KeysForm.svelte diff --git a/app/src/lib/settings/PreferencesForm.svelte b/apps/desktop/src/lib/settings/PreferencesForm.svelte similarity index 100% rename from app/src/lib/settings/PreferencesForm.svelte rename to apps/desktop/src/lib/settings/PreferencesForm.svelte diff --git a/app/src/lib/settings/Section.svelte b/apps/desktop/src/lib/settings/Section.svelte similarity index 100% rename from app/src/lib/settings/Section.svelte rename to apps/desktop/src/lib/settings/Section.svelte diff --git a/app/src/lib/settings/Sidebar.svelte b/apps/desktop/src/lib/settings/Sidebar.svelte similarity index 100% rename from app/src/lib/settings/Sidebar.svelte rename to apps/desktop/src/lib/settings/Sidebar.svelte diff --git a/app/src/lib/settings/SupportersBanner.svelte b/apps/desktop/src/lib/settings/SupportersBanner.svelte similarity index 100% rename from app/src/lib/settings/SupportersBanner.svelte rename to apps/desktop/src/lib/settings/SupportersBanner.svelte diff --git a/app/src/lib/settings/ThemeSelector.svelte b/apps/desktop/src/lib/settings/ThemeSelector.svelte similarity index 100% rename from app/src/lib/settings/ThemeSelector.svelte rename to apps/desktop/src/lib/settings/ThemeSelector.svelte diff --git a/app/src/lib/settings/userSettings.ts b/apps/desktop/src/lib/settings/userSettings.ts similarity index 100% rename from app/src/lib/settings/userSettings.ts rename to apps/desktop/src/lib/settings/userSettings.ts diff --git a/app/src/lib/shared/AccountLink.svelte b/apps/desktop/src/lib/shared/AccountLink.svelte similarity index 100% rename from app/src/lib/shared/AccountLink.svelte rename to apps/desktop/src/lib/shared/AccountLink.svelte diff --git a/app/src/lib/shared/Badge.svelte b/apps/desktop/src/lib/shared/Badge.svelte similarity index 100% rename from app/src/lib/shared/Badge.svelte rename to apps/desktop/src/lib/shared/Badge.svelte diff --git a/app/src/lib/shared/Button.svelte b/apps/desktop/src/lib/shared/Button.svelte similarity index 100% rename from app/src/lib/shared/Button.svelte rename to apps/desktop/src/lib/shared/Button.svelte diff --git a/app/src/lib/shared/Checkbox.svelte b/apps/desktop/src/lib/shared/Checkbox.svelte similarity index 100% rename from app/src/lib/shared/Checkbox.svelte rename to apps/desktop/src/lib/shared/Checkbox.svelte diff --git a/app/src/lib/shared/CredentialCheck.svelte b/apps/desktop/src/lib/shared/CredentialCheck.svelte similarity index 100% rename from app/src/lib/shared/CredentialCheck.svelte rename to apps/desktop/src/lib/shared/CredentialCheck.svelte diff --git a/app/src/lib/shared/DropDownButton.svelte b/apps/desktop/src/lib/shared/DropDownButton.svelte similarity index 100% rename from app/src/lib/shared/DropDownButton.svelte rename to apps/desktop/src/lib/shared/DropDownButton.svelte diff --git a/app/src/lib/shared/Icon.svelte b/apps/desktop/src/lib/shared/Icon.svelte similarity index 100% rename from app/src/lib/shared/Icon.svelte rename to apps/desktop/src/lib/shared/Icon.svelte diff --git a/app/src/lib/shared/IconLink.svelte b/apps/desktop/src/lib/shared/IconLink.svelte similarity index 100% rename from app/src/lib/shared/IconLink.svelte rename to apps/desktop/src/lib/shared/IconLink.svelte diff --git a/app/src/lib/shared/InfoMessage.svelte b/apps/desktop/src/lib/shared/InfoMessage.svelte similarity index 100% rename from app/src/lib/shared/InfoMessage.svelte rename to apps/desktop/src/lib/shared/InfoMessage.svelte diff --git a/app/src/lib/shared/LargeDiffMessage.svelte b/apps/desktop/src/lib/shared/LargeDiffMessage.svelte similarity index 100% rename from app/src/lib/shared/LargeDiffMessage.svelte rename to apps/desktop/src/lib/shared/LargeDiffMessage.svelte diff --git a/app/src/lib/shared/LazyloadContainer.svelte b/apps/desktop/src/lib/shared/LazyloadContainer.svelte similarity index 100% rename from app/src/lib/shared/LazyloadContainer.svelte rename to apps/desktop/src/lib/shared/LazyloadContainer.svelte diff --git a/app/src/lib/shared/Link.svelte b/apps/desktop/src/lib/shared/Link.svelte similarity index 100% rename from app/src/lib/shared/Link.svelte rename to apps/desktop/src/lib/shared/Link.svelte diff --git a/app/src/lib/shared/ListItem.svelte b/apps/desktop/src/lib/shared/ListItem.svelte similarity index 100% rename from app/src/lib/shared/ListItem.svelte rename to apps/desktop/src/lib/shared/ListItem.svelte diff --git a/app/src/lib/shared/Modal.svelte b/apps/desktop/src/lib/shared/Modal.svelte similarity index 100% rename from app/src/lib/shared/Modal.svelte rename to apps/desktop/src/lib/shared/Modal.svelte diff --git a/app/src/lib/shared/ProjectNameLabel.svelte b/apps/desktop/src/lib/shared/ProjectNameLabel.svelte similarity index 100% rename from app/src/lib/shared/ProjectNameLabel.svelte rename to apps/desktop/src/lib/shared/ProjectNameLabel.svelte diff --git a/app/src/lib/shared/RadioButton.svelte b/apps/desktop/src/lib/shared/RadioButton.svelte similarity index 100% rename from app/src/lib/shared/RadioButton.svelte rename to apps/desktop/src/lib/shared/RadioButton.svelte diff --git a/app/src/lib/shared/Resizer.svelte b/apps/desktop/src/lib/shared/Resizer.svelte similarity index 100% rename from app/src/lib/shared/Resizer.svelte rename to apps/desktop/src/lib/shared/Resizer.svelte diff --git a/app/src/lib/shared/ScrollableContainer.svelte b/apps/desktop/src/lib/shared/ScrollableContainer.svelte similarity index 100% rename from app/src/lib/shared/ScrollableContainer.svelte rename to apps/desktop/src/lib/shared/ScrollableContainer.svelte diff --git a/app/src/lib/shared/Scrollbar.svelte b/apps/desktop/src/lib/shared/Scrollbar.svelte similarity index 100% rename from app/src/lib/shared/Scrollbar.svelte rename to apps/desktop/src/lib/shared/Scrollbar.svelte diff --git a/app/src/lib/shared/Spacer.svelte b/apps/desktop/src/lib/shared/Spacer.svelte similarity index 100% rename from app/src/lib/shared/Spacer.svelte rename to apps/desktop/src/lib/shared/Spacer.svelte diff --git a/app/src/lib/shared/TextArea.svelte b/apps/desktop/src/lib/shared/TextArea.svelte similarity index 100% rename from app/src/lib/shared/TextArea.svelte rename to apps/desktop/src/lib/shared/TextArea.svelte diff --git a/app/src/lib/shared/TextBox.svelte b/apps/desktop/src/lib/shared/TextBox.svelte similarity index 100% rename from app/src/lib/shared/TextBox.svelte rename to apps/desktop/src/lib/shared/TextBox.svelte diff --git a/app/src/lib/shared/TimeAgo.svelte b/apps/desktop/src/lib/shared/TimeAgo.svelte similarity index 100% rename from app/src/lib/shared/TimeAgo.svelte rename to apps/desktop/src/lib/shared/TimeAgo.svelte diff --git a/app/src/lib/shared/Toggle.svelte b/apps/desktop/src/lib/shared/Toggle.svelte similarity index 100% rename from app/src/lib/shared/Toggle.svelte rename to apps/desktop/src/lib/shared/Toggle.svelte diff --git a/app/src/lib/stores/remoteBranches.ts b/apps/desktop/src/lib/stores/remoteBranches.ts similarity index 100% rename from app/src/lib/stores/remoteBranches.ts rename to apps/desktop/src/lib/stores/remoteBranches.ts diff --git a/app/src/lib/stores/user.ts b/apps/desktop/src/lib/stores/user.ts similarity index 100% rename from app/src/lib/stores/user.ts rename to apps/desktop/src/lib/stores/user.ts diff --git a/app/src/lib/testing/fileHunks.ts b/apps/desktop/src/lib/testing/fileHunks.ts similarity index 100% rename from app/src/lib/testing/fileHunks.ts rename to apps/desktop/src/lib/testing/fileHunks.ts diff --git a/app/src/lib/testing/fixtures.ts b/apps/desktop/src/lib/testing/fixtures.ts similarity index 100% rename from app/src/lib/testing/fixtures.ts rename to apps/desktop/src/lib/testing/fixtures.ts diff --git a/app/src/lib/testing/index.ts b/apps/desktop/src/lib/testing/index.ts similarity index 100% rename from app/src/lib/testing/index.ts rename to apps/desktop/src/lib/testing/index.ts diff --git a/app/src/lib/url/gitUrl.ts b/apps/desktop/src/lib/url/gitUrl.ts similarity index 100% rename from app/src/lib/url/gitUrl.ts rename to apps/desktop/src/lib/url/gitUrl.ts diff --git a/app/src/lib/utils/autoHeight.ts b/apps/desktop/src/lib/utils/autoHeight.ts similarity index 100% rename from app/src/lib/utils/autoHeight.ts rename to apps/desktop/src/lib/utils/autoHeight.ts diff --git a/app/src/lib/utils/clipboard.ts b/apps/desktop/src/lib/utils/clipboard.ts similarity index 100% rename from app/src/lib/utils/clipboard.ts rename to apps/desktop/src/lib/utils/clipboard.ts diff --git a/app/src/lib/utils/commitMessage.test.ts b/apps/desktop/src/lib/utils/commitMessage.test.ts similarity index 100% rename from app/src/lib/utils/commitMessage.test.ts rename to apps/desktop/src/lib/utils/commitMessage.test.ts diff --git a/app/src/lib/utils/commitMessage.ts b/apps/desktop/src/lib/utils/commitMessage.ts similarity index 100% rename from app/src/lib/utils/commitMessage.ts rename to apps/desktop/src/lib/utils/commitMessage.ts diff --git a/app/src/lib/utils/context.ts b/apps/desktop/src/lib/utils/context.ts similarity index 100% rename from app/src/lib/utils/context.ts rename to apps/desktop/src/lib/utils/context.ts diff --git a/app/src/lib/utils/debounce.ts b/apps/desktop/src/lib/utils/debounce.ts similarity index 100% rename from app/src/lib/utils/debounce.ts rename to apps/desktop/src/lib/utils/debounce.ts diff --git a/app/src/lib/utils/events.ts b/apps/desktop/src/lib/utils/events.ts similarity index 100% rename from app/src/lib/utils/events.ts rename to apps/desktop/src/lib/utils/events.ts diff --git a/app/src/lib/utils/filePath.ts b/apps/desktop/src/lib/utils/filePath.ts similarity index 100% rename from app/src/lib/utils/filePath.ts rename to apps/desktop/src/lib/utils/filePath.ts diff --git a/app/src/lib/utils/fileSections.test.ts b/apps/desktop/src/lib/utils/fileSections.test.ts similarity index 100% rename from app/src/lib/utils/fileSections.test.ts rename to apps/desktop/src/lib/utils/fileSections.test.ts diff --git a/app/src/lib/utils/fileSections.ts b/apps/desktop/src/lib/utils/fileSections.ts similarity index 100% rename from app/src/lib/utils/fileSections.ts rename to apps/desktop/src/lib/utils/fileSections.ts diff --git a/app/src/lib/utils/fileStatus.ts b/apps/desktop/src/lib/utils/fileStatus.ts similarity index 100% rename from app/src/lib/utils/fileStatus.ts rename to apps/desktop/src/lib/utils/fileStatus.ts diff --git a/app/src/lib/utils/filters.ts b/apps/desktop/src/lib/utils/filters.ts similarity index 100% rename from app/src/lib/utils/filters.ts rename to apps/desktop/src/lib/utils/filters.ts diff --git a/app/src/lib/utils/getSelectionDirection.ts b/apps/desktop/src/lib/utils/getSelectionDirection.ts similarity index 100% rename from app/src/lib/utils/getSelectionDirection.ts rename to apps/desktop/src/lib/utils/getSelectionDirection.ts diff --git a/app/src/lib/utils/groupBy.ts b/apps/desktop/src/lib/utils/groupBy.ts similarity index 100% rename from app/src/lib/utils/groupBy.ts rename to apps/desktop/src/lib/utils/groupBy.ts diff --git a/app/src/lib/utils/hotkeys.ts b/apps/desktop/src/lib/utils/hotkeys.ts similarity index 100% rename from app/src/lib/utils/hotkeys.ts rename to apps/desktop/src/lib/utils/hotkeys.ts diff --git a/app/src/lib/utils/intersectionObserver.ts b/apps/desktop/src/lib/utils/intersectionObserver.ts similarity index 100% rename from app/src/lib/utils/intersectionObserver.ts rename to apps/desktop/src/lib/utils/intersectionObserver.ts diff --git a/app/src/lib/utils/joinClassNames.ts b/apps/desktop/src/lib/utils/joinClassNames.ts similarity index 100% rename from app/src/lib/utils/joinClassNames.ts rename to apps/desktop/src/lib/utils/joinClassNames.ts diff --git a/app/src/lib/utils/markdown.ts b/apps/desktop/src/lib/utils/markdown.ts similarity index 100% rename from app/src/lib/utils/markdown.ts rename to apps/desktop/src/lib/utils/markdown.ts diff --git a/app/src/lib/utils/metrics.ts b/apps/desktop/src/lib/utils/metrics.ts similarity index 100% rename from app/src/lib/utils/metrics.ts rename to apps/desktop/src/lib/utils/metrics.ts diff --git a/app/src/lib/utils/misc.ts b/apps/desktop/src/lib/utils/misc.ts similarity index 100% rename from app/src/lib/utils/misc.ts rename to apps/desktop/src/lib/utils/misc.ts diff --git a/app/src/lib/utils/paths.ts b/apps/desktop/src/lib/utils/paths.ts similarity index 100% rename from app/src/lib/utils/paths.ts rename to apps/desktop/src/lib/utils/paths.ts diff --git a/app/src/lib/utils/portal.ts b/apps/desktop/src/lib/utils/portal.ts similarity index 100% rename from app/src/lib/utils/portal.ts rename to apps/desktop/src/lib/utils/portal.ts diff --git a/app/src/lib/utils/resizeObserver.ts b/apps/desktop/src/lib/utils/resizeObserver.ts similarity index 100% rename from app/src/lib/utils/resizeObserver.ts rename to apps/desktop/src/lib/utils/resizeObserver.ts diff --git a/app/src/lib/utils/selectFilesInList.ts b/apps/desktop/src/lib/utils/selectFilesInList.ts similarity index 100% rename from app/src/lib/utils/selectFilesInList.ts rename to apps/desktop/src/lib/utils/selectFilesInList.ts diff --git a/app/src/lib/utils/selection.ts b/apps/desktop/src/lib/utils/selection.ts similarity index 100% rename from app/src/lib/utils/selection.ts rename to apps/desktop/src/lib/utils/selection.ts diff --git a/app/src/lib/utils/sleep.ts b/apps/desktop/src/lib/utils/sleep.ts similarity index 100% rename from app/src/lib/utils/sleep.ts rename to apps/desktop/src/lib/utils/sleep.ts diff --git a/app/src/lib/utils/string.ts b/apps/desktop/src/lib/utils/string.ts similarity index 100% rename from app/src/lib/utils/string.ts rename to apps/desktop/src/lib/utils/string.ts diff --git a/app/src/lib/utils/svelteTransitions.ts b/apps/desktop/src/lib/utils/svelteTransitions.ts similarity index 100% rename from app/src/lib/utils/svelteTransitions.ts rename to apps/desktop/src/lib/utils/svelteTransitions.ts diff --git a/app/src/lib/utils/theme.ts b/apps/desktop/src/lib/utils/theme.ts similarity index 100% rename from app/src/lib/utils/theme.ts rename to apps/desktop/src/lib/utils/theme.ts diff --git a/app/src/lib/utils/time.ts b/apps/desktop/src/lib/utils/time.ts similarity index 100% rename from app/src/lib/utils/time.ts rename to apps/desktop/src/lib/utils/time.ts diff --git a/app/src/lib/utils/timeAgo.ts b/apps/desktop/src/lib/utils/timeAgo.ts similarity index 100% rename from app/src/lib/utils/timeAgo.ts rename to apps/desktop/src/lib/utils/timeAgo.ts diff --git a/app/src/lib/utils/toasts.ts b/apps/desktop/src/lib/utils/toasts.ts similarity index 100% rename from app/src/lib/utils/toasts.ts rename to apps/desktop/src/lib/utils/toasts.ts diff --git a/app/src/lib/utils/unsubscribe.test.ts b/apps/desktop/src/lib/utils/unsubscribe.test.ts similarity index 100% rename from app/src/lib/utils/unsubscribe.test.ts rename to apps/desktop/src/lib/utils/unsubscribe.test.ts diff --git a/app/src/lib/utils/unsubscribe.ts b/apps/desktop/src/lib/utils/unsubscribe.ts similarity index 100% rename from app/src/lib/utils/unsubscribe.ts rename to apps/desktop/src/lib/utils/unsubscribe.ts diff --git a/app/src/lib/utils/url.test.ts b/apps/desktop/src/lib/utils/url.test.ts similarity index 100% rename from app/src/lib/utils/url.test.ts rename to apps/desktop/src/lib/utils/url.test.ts diff --git a/app/src/lib/utils/url.ts b/apps/desktop/src/lib/utils/url.ts similarity index 100% rename from app/src/lib/utils/url.ts rename to apps/desktop/src/lib/utils/url.ts diff --git a/app/src/lib/vbranches/branchController.ts b/apps/desktop/src/lib/vbranches/branchController.ts similarity index 100% rename from app/src/lib/vbranches/branchController.ts rename to apps/desktop/src/lib/vbranches/branchController.ts diff --git a/app/src/lib/vbranches/contexts.ts b/apps/desktop/src/lib/vbranches/contexts.ts similarity index 100% rename from app/src/lib/vbranches/contexts.ts rename to apps/desktop/src/lib/vbranches/contexts.ts diff --git a/app/src/lib/vbranches/fileIdSelection.ts b/apps/desktop/src/lib/vbranches/fileIdSelection.ts similarity index 100% rename from app/src/lib/vbranches/fileIdSelection.ts rename to apps/desktop/src/lib/vbranches/fileIdSelection.ts diff --git a/app/src/lib/vbranches/filetree.test.ts b/apps/desktop/src/lib/vbranches/filetree.test.ts similarity index 100% rename from app/src/lib/vbranches/filetree.test.ts rename to apps/desktop/src/lib/vbranches/filetree.test.ts diff --git a/app/src/lib/vbranches/filetree.ts b/apps/desktop/src/lib/vbranches/filetree.ts similarity index 100% rename from app/src/lib/vbranches/filetree.ts rename to apps/desktop/src/lib/vbranches/filetree.ts diff --git a/app/src/lib/vbranches/ownership.ts b/apps/desktop/src/lib/vbranches/ownership.ts similarity index 100% rename from app/src/lib/vbranches/ownership.ts rename to apps/desktop/src/lib/vbranches/ownership.ts diff --git a/app/src/lib/vbranches/remoteCommits.ts b/apps/desktop/src/lib/vbranches/remoteCommits.ts similarity index 100% rename from app/src/lib/vbranches/remoteCommits.ts rename to apps/desktop/src/lib/vbranches/remoteCommits.ts diff --git a/app/src/lib/vbranches/tooltip.ts b/apps/desktop/src/lib/vbranches/tooltip.ts similarity index 100% rename from app/src/lib/vbranches/tooltip.ts rename to apps/desktop/src/lib/vbranches/tooltip.ts diff --git a/app/src/lib/vbranches/types.ts b/apps/desktop/src/lib/vbranches/types.ts similarity index 100% rename from app/src/lib/vbranches/types.ts rename to apps/desktop/src/lib/vbranches/types.ts diff --git a/app/src/lib/vbranches/virtualBranch.ts b/apps/desktop/src/lib/vbranches/virtualBranch.ts similarity index 100% rename from app/src/lib/vbranches/virtualBranch.ts rename to apps/desktop/src/lib/vbranches/virtualBranch.ts diff --git a/app/src/routes/+error.svelte b/apps/desktop/src/routes/+error.svelte similarity index 100% rename from app/src/routes/+error.svelte rename to apps/desktop/src/routes/+error.svelte diff --git a/app/src/routes/+layout.svelte b/apps/desktop/src/routes/+layout.svelte similarity index 100% rename from app/src/routes/+layout.svelte rename to apps/desktop/src/routes/+layout.svelte diff --git a/app/src/routes/+layout.ts b/apps/desktop/src/routes/+layout.ts similarity index 100% rename from app/src/routes/+layout.ts rename to apps/desktop/src/routes/+layout.ts diff --git a/app/src/routes/+page.svelte b/apps/desktop/src/routes/+page.svelte similarity index 100% rename from app/src/routes/+page.svelte rename to apps/desktop/src/routes/+page.svelte diff --git a/app/src/routes/[projectId]/+layout.svelte b/apps/desktop/src/routes/[projectId]/+layout.svelte similarity index 100% rename from app/src/routes/[projectId]/+layout.svelte rename to apps/desktop/src/routes/[projectId]/+layout.svelte diff --git a/app/src/routes/[projectId]/+layout.ts b/apps/desktop/src/routes/[projectId]/+layout.ts similarity index 100% rename from app/src/routes/[projectId]/+layout.ts rename to apps/desktop/src/routes/[projectId]/+layout.ts diff --git a/app/src/routes/[projectId]/+page.svelte b/apps/desktop/src/routes/[projectId]/+page.svelte similarity index 100% rename from app/src/routes/[projectId]/+page.svelte rename to apps/desktop/src/routes/[projectId]/+page.svelte diff --git a/app/src/routes/[projectId]/base/+page.svelte b/apps/desktop/src/routes/[projectId]/base/+page.svelte similarity index 100% rename from app/src/routes/[projectId]/base/+page.svelte rename to apps/desktop/src/routes/[projectId]/base/+page.svelte diff --git a/app/src/routes/[projectId]/board/+page.svelte b/apps/desktop/src/routes/[projectId]/board/+page.svelte similarity index 100% rename from app/src/routes/[projectId]/board/+page.svelte rename to apps/desktop/src/routes/[projectId]/board/+page.svelte diff --git a/app/src/routes/[projectId]/branch/[...name]/+page.svelte b/apps/desktop/src/routes/[projectId]/branch/[...name]/+page.svelte similarity index 100% rename from app/src/routes/[projectId]/branch/[...name]/+page.svelte rename to apps/desktop/src/routes/[projectId]/branch/[...name]/+page.svelte diff --git a/app/src/routes/[projectId]/pull/[number]/+page.svelte b/apps/desktop/src/routes/[projectId]/pull/[number]/+page.svelte similarity index 100% rename from app/src/routes/[projectId]/pull/[number]/+page.svelte rename to apps/desktop/src/routes/[projectId]/pull/[number]/+page.svelte diff --git a/app/src/routes/[projectId]/settings/+page.svelte b/apps/desktop/src/routes/[projectId]/settings/+page.svelte similarity index 100% rename from app/src/routes/[projectId]/settings/+page.svelte rename to apps/desktop/src/routes/[projectId]/settings/+page.svelte diff --git a/app/src/routes/settings/+layout.svelte b/apps/desktop/src/routes/settings/+layout.svelte similarity index 100% rename from app/src/routes/settings/+layout.svelte rename to apps/desktop/src/routes/settings/+layout.svelte diff --git a/app/src/routes/settings/+page.svelte b/apps/desktop/src/routes/settings/+page.svelte similarity index 100% rename from app/src/routes/settings/+page.svelte rename to apps/desktop/src/routes/settings/+page.svelte diff --git a/app/src/routes/settings/ai/+page.svelte b/apps/desktop/src/routes/settings/ai/+page.svelte similarity index 100% rename from app/src/routes/settings/ai/+page.svelte rename to apps/desktop/src/routes/settings/ai/+page.svelte diff --git a/app/src/routes/settings/experimental/+page.svelte b/apps/desktop/src/routes/settings/experimental/+page.svelte similarity index 100% rename from app/src/routes/settings/experimental/+page.svelte rename to apps/desktop/src/routes/settings/experimental/+page.svelte diff --git a/app/src/routes/settings/git/+page.svelte b/apps/desktop/src/routes/settings/git/+page.svelte similarity index 100% rename from app/src/routes/settings/git/+page.svelte rename to apps/desktop/src/routes/settings/git/+page.svelte diff --git a/app/src/routes/settings/integrations/+page.svelte b/apps/desktop/src/routes/settings/integrations/+page.svelte similarity index 100% rename from app/src/routes/settings/integrations/+page.svelte rename to apps/desktop/src/routes/settings/integrations/+page.svelte diff --git a/app/src/routes/settings/profile/+page.svelte b/apps/desktop/src/routes/settings/profile/+page.svelte similarity index 100% rename from app/src/routes/settings/profile/+page.svelte rename to apps/desktop/src/routes/settings/profile/+page.svelte diff --git a/app/src/routes/settings/telemetry/+page.svelte b/apps/desktop/src/routes/settings/telemetry/+page.svelte similarity index 100% rename from app/src/routes/settings/telemetry/+page.svelte rename to apps/desktop/src/routes/settings/telemetry/+page.svelte diff --git a/app/src/styles/card.css b/apps/desktop/src/styles/card.css similarity index 100% rename from app/src/styles/card.css rename to apps/desktop/src/styles/card.css diff --git a/app/src/styles/commit-lines.css b/apps/desktop/src/styles/commit-lines.css similarity index 100% rename from app/src/styles/commit-lines.css rename to apps/desktop/src/styles/commit-lines.css diff --git a/app/src/styles/diff.css b/apps/desktop/src/styles/diff.css similarity index 100% rename from app/src/styles/diff.css rename to apps/desktop/src/styles/diff.css diff --git a/app/src/styles/draggable.css b/apps/desktop/src/styles/draggable.css similarity index 100% rename from app/src/styles/draggable.css rename to apps/desktop/src/styles/draggable.css diff --git a/app/src/styles/fonts.css b/apps/desktop/src/styles/fonts.css similarity index 100% rename from app/src/styles/fonts.css rename to apps/desktop/src/styles/fonts.css diff --git a/app/src/styles/main.css b/apps/desktop/src/styles/main.css similarity index 100% rename from app/src/styles/main.css rename to apps/desktop/src/styles/main.css diff --git a/app/src/styles/markdown.css b/apps/desktop/src/styles/markdown.css similarity index 100% rename from app/src/styles/markdown.css rename to apps/desktop/src/styles/markdown.css diff --git a/app/src/styles/reset.css b/apps/desktop/src/styles/reset.css similarity index 100% rename from app/src/styles/reset.css rename to apps/desktop/src/styles/reset.css diff --git a/app/src/styles/syntax-highlighting.css b/apps/desktop/src/styles/syntax-highlighting.css similarity index 100% rename from app/src/styles/syntax-highlighting.css rename to apps/desktop/src/styles/syntax-highlighting.css diff --git a/app/src/styles/text-classes.css b/apps/desktop/src/styles/text-classes.css similarity index 100% rename from app/src/styles/text-classes.css rename to apps/desktop/src/styles/text-classes.css diff --git a/app/src/styles/text-input.css b/apps/desktop/src/styles/text-input.css similarity index 100% rename from app/src/styles/text-input.css rename to apps/desktop/src/styles/text-input.css diff --git a/app/src/styles/tokens.css b/apps/desktop/src/styles/tokens.css similarity index 100% rename from app/src/styles/tokens.css rename to apps/desktop/src/styles/tokens.css diff --git a/app/src/styles/tooltip.css b/apps/desktop/src/styles/tooltip.css similarity index 100% rename from app/src/styles/tooltip.css rename to apps/desktop/src/styles/tooltip.css diff --git a/app/static/fonts/PPEditorialNew-Regular.woff2 b/apps/desktop/static/fonts/PPEditorialNew-Regular.woff2 similarity index 100% rename from app/static/fonts/PPEditorialNew-Regular.woff2 rename to apps/desktop/static/fonts/PPEditorialNew-Regular.woff2 diff --git a/app/static/fonts/SplineSansMono-Medium.woff2 b/apps/desktop/static/fonts/SplineSansMono-Medium.woff2 similarity index 100% rename from app/static/fonts/SplineSansMono-Medium.woff2 rename to apps/desktop/static/fonts/SplineSansMono-Medium.woff2 diff --git a/app/static/fonts/SplineSansMono-Regular.woff2 b/apps/desktop/static/fonts/SplineSansMono-Regular.woff2 similarity index 100% rename from app/static/fonts/SplineSansMono-Regular.woff2 rename to apps/desktop/static/fonts/SplineSansMono-Regular.woff2 diff --git a/app/static/fonts/SplineSansMono-Semibold.woff2 b/apps/desktop/static/fonts/SplineSansMono-Semibold.woff2 similarity index 100% rename from app/static/fonts/SplineSansMono-Semibold.woff2 rename to apps/desktop/static/fonts/SplineSansMono-Semibold.woff2 diff --git a/app/static/images/banners/support.svg b/apps/desktop/static/images/banners/support.svg similarity index 100% rename from app/static/images/banners/support.svg rename to apps/desktop/static/images/banners/support.svg diff --git a/app/static/images/domain-icons/trunk.svg b/apps/desktop/static/images/domain-icons/trunk.svg similarity index 100% rename from app/static/images/domain-icons/trunk.svg rename to apps/desktop/static/images/domain-icons/trunk.svg diff --git a/app/static/images/domain-icons/working-branches.svg b/apps/desktop/static/images/domain-icons/working-branches.svg similarity index 100% rename from app/static/images/domain-icons/working-branches.svg rename to apps/desktop/static/images/domain-icons/working-branches.svg diff --git a/app/static/images/history/restore-icon.svg b/apps/desktop/static/images/history/restore-icon.svg similarity index 100% rename from app/static/images/history/restore-icon.svg rename to apps/desktop/static/images/history/restore-icon.svg diff --git a/app/static/images/theme-previews/dark.svg b/apps/desktop/static/images/theme-previews/dark.svg similarity index 100% rename from app/static/images/theme-previews/dark.svg rename to apps/desktop/static/images/theme-previews/dark.svg diff --git a/app/static/images/theme-previews/light.svg b/apps/desktop/static/images/theme-previews/light.svg similarity index 100% rename from app/static/images/theme-previews/light.svg rename to apps/desktop/static/images/theme-previews/light.svg diff --git a/app/static/images/theme-previews/system.svg b/apps/desktop/static/images/theme-previews/system.svg similarity index 100% rename from app/static/images/theme-previews/system.svg rename to apps/desktop/static/images/theme-previews/system.svg diff --git a/app/svelte.config.js b/apps/desktop/svelte.config.js similarity index 100% rename from app/svelte.config.js rename to apps/desktop/svelte.config.js diff --git a/app/tsconfig.json b/apps/desktop/tsconfig.json similarity index 100% rename from app/tsconfig.json rename to apps/desktop/tsconfig.json diff --git a/app/vite.config.ts b/apps/desktop/vite.config.ts similarity index 100% rename from app/vite.config.ts rename to apps/desktop/vite.config.ts diff --git a/apps/web/.env b/apps/web/.env new file mode 100644 index 000000000..e5df8b256 --- /dev/null +++ b/apps/web/.env @@ -0,0 +1 @@ +PUBLIC_APP_HOST=https://app.gitbutler.com/ diff --git a/apps/web/package.json b/apps/web/package.json new file mode 100644 index 000000000..1aa4d9dfa --- /dev/null +++ b/apps/web/package.json @@ -0,0 +1,26 @@ +{ + "name": "@gitbutler/cloud", + "private": true, + "version": "0.0.1", + "type": "module", + "scripts": { + "dev": "vite dev", + "build": "vite build", + "preview": "vite preview", + "prepare": "svelte-kit sync", + "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", + "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch" + }, + "devDependencies": { + "@fontsource/fira-mono": "^4.5.10", + "@neoconfetti/svelte": "^1.0.0", + "@sveltejs/adapter-auto": "^3.0.0", + "@sveltejs/kit": "catalog:svelte", + "@sveltejs/vite-plugin-svelte": "catalog:svelte", + "svelte": "catalog:svelte", + "svelte-check": "catalog:svelte", + "tslib": "^2.4.1", + "typescript": "^5.0.0", + "vite": "catalog:" + } +} diff --git a/apps/web/src/app.css b/apps/web/src/app.css new file mode 100644 index 000000000..1441d9408 --- /dev/null +++ b/apps/web/src/app.css @@ -0,0 +1,107 @@ +@import '@fontsource/fira-mono'; + +:root { + --font-body: Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, + Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + --font-mono: 'Fira Mono', monospace; + --color-bg-0: rgb(202, 216, 228); + --color-bg-1: hsl(209, 36%, 86%); + --color-bg-2: hsl(224, 44%, 95%); + --color-theme-1: #ff3e00; + --color-theme-2: #4075a6; + --color-text: rgba(0, 0, 0, 0.7); + --column-width: 42rem; + --column-margin-top: 4rem; + font-family: var(--font-body); + color: var(--color-text); +} + +body { + min-height: 100vh; + margin: 0; + background-attachment: fixed; + background-color: var(--color-bg-1); + background-size: 100vw 100vh; + background-image: radial-gradient( + 50% 50% at 50% 50%, + rgba(255, 255, 255, 0.75) 0%, + rgba(255, 255, 255, 0) 100% + ), + linear-gradient(180deg, var(--color-bg-0) 0%, var(--color-bg-1) 15%, var(--color-bg-2) 50%); +} + +h1, +h2, +p { + font-weight: 400; +} + +p { + line-height: 1.5; +} + +a { + color: var(--color-theme-1); + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + +h1 { + font-size: 2rem; + text-align: center; +} + +h2 { + font-size: 1rem; +} + +pre { + font-size: 16px; + font-family: var(--font-mono); + background-color: rgba(255, 255, 255, 0.45); + border-radius: 3px; + box-shadow: 2px 2px 6px rgb(255 255 255 / 25%); + padding: 0.5em; + overflow-x: auto; + color: var(--color-text); +} + +.text-column { + display: flex; + max-width: 48rem; + flex: 0.6; + flex-direction: column; + justify-content: center; + margin: 0 auto; +} + +input, +button { + font-size: inherit; + font-family: inherit; +} + +button:focus:not(:focus-visible) { + outline: none; +} + +@media (min-width: 720px) { + h1 { + font-size: 2.4rem; + } +} + +.visually-hidden { + border: 0; + clip: rect(0 0 0 0); + height: auto; + margin: 0; + overflow: hidden; + padding: 0; + position: absolute; + width: 1px; + white-space: nowrap; +} diff --git a/apps/web/src/app.d.ts b/apps/web/src/app.d.ts new file mode 100644 index 000000000..743f07b2e --- /dev/null +++ b/apps/web/src/app.d.ts @@ -0,0 +1,13 @@ +// See https://kit.svelte.dev/docs/types#app +// for information about these interfaces +declare global { + namespace App { + // interface Error {} + // interface Locals {} + // interface PageData {} + // interface PageState {} + // interface Platform {} + } +} + +export {}; diff --git a/apps/web/src/app.html b/apps/web/src/app.html new file mode 100644 index 000000000..77a5ff52c --- /dev/null +++ b/apps/web/src/app.html @@ -0,0 +1,12 @@ + + +
+ + + + %sveltekit.head% + + +Loading...
+{:else} +Loading...
+{:else if state === 'unauthorized'} +Unauthorized
+{:else} + {user.name} +