From 85c13bb1f3d21a0e1c92d76c084234d635d6fb38 Mon Sep 17 00:00:00 2001 From: Anton Nikolaev Date: Sat, 14 Mar 2020 14:26:07 -0700 Subject: [PATCH] Move desktop-related code to "desktop" subfolder (#872) Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/872 Move all the JS code related to desktop app to "desktop" subfolder. The structure of "desktop" folder: - `src` - JS code of Flipper desktop app executing in Electron Renderer (Chrome) process. This folder also contains all the Flipper plugins in subfolder "src/plugins". - `static` - JS code of Flipper desktop app bootstrapping executing in Electron Main (Node.js) process - `pkg` - Flipper packaging lib and CLI tool - `doctor` - Flipper diagnostics lib and CLI tool - `scripts` - Build scripts for Flipper desktop app - `headless` - Headless version of Flipper app - `headless-tests` - Integration tests running agains Flipper headless version Reviewed By: passy Differential Revision: D20249304 fbshipit-source-id: 9a51c63b51b92b758a02fc8ebf7d3d116770efe9 --- .eslintignore | 6 -- .flowconfig | 8 +-- .github/workflows/nodejs-doctor.yml | 9 ++- .github/workflows/nodejs-pkg.yml | 9 ++- .github/workflows/nodejs.yml | 9 +++ .gitignore | 5 +- .travis.yml | 3 +- README.md | 10 ++-- desktop/.eslintignore | 14 +++++ .eslintrc.js => desktop/.eslintrc.js | 0 .npmignore => desktop/.npmignore | 0 {.vscode => desktop/.vscode}/launch.json | 3 +- .yarnrc => desktop/.yarnrc | 0 {__mocks__ => desktop/__mocks__}/electron.tsx | 0 {doctor => desktop/doctor}/.gitignore | 0 {doctor => desktop/doctor}/.ignore | 0 {doctor => desktop/doctor}/README.md | 0 {doctor => desktop/doctor}/jestconfig.json | 0 {doctor => desktop/doctor}/package.json | 0 {doctor => desktop/doctor}/src/cli.ts | 0 .../doctor}/src/environmentInfo.ts | 0 {doctor => desktop/doctor}/src/globals.d.ts | 0 {doctor => desktop/doctor}/src/index.ts | 0 {doctor => desktop/doctor}/tsconfig.json | 0 {doctor => desktop/doctor}/tslint.json | 0 {doctor => desktop/doctor}/yarn.lock | 0 {flow-typed => desktop/flow-typed}/TsStub.js | 0 {flow-typed => desktop/flow-typed}/flipper.js | 0 .../flow-typed}/npm/adbkit-fb_vx.x.x.js | 0 .../flow-typed}/npm/dateformat_vx.x.x.js | 0 .../flow-typed}/npm/electron-v5.0.2.js | 0 .../flow-typed}/npm/electron-v8.0.1.js | 0 .../flow-typed}/npm/google-palette_vx.x.x.js | 0 .../flow-typed}/npm/graphql_vx.x.x.js | 0 .../flow-typed}/npm/immutable_v4.x.x.js | 0 .../flow-typed}/npm/jest_v24.x.x.js | 0 .../flow-typed}/npm/lodash.debounce_vx.x.x.js | 0 .../flow-typed}/npm/lodash.memoize_vx.x.x.js | 0 .../flow-typed}/npm/lodash_v4.x.x.js | 0 .../flow-typed}/npm/needle_vx.x.x.js | 0 .../flow-typed}/npm/react-chartjs-2_vx.x.x.js | 0 .../flow-typed}/npm/react-d3-tree_vx.x.x.js | 0 .../npm/react-stepper-horizontal_vx.x.x.js | 0 .../npm/react-virtualized_vx.x.x.js | 0 .../npm/redux-mock-store_vx.x.x.js | 0 .../flow-typed}/npm/sql-formatter_vx.x.x.js | 0 .../flow-typed}/npm/unicode-substring.js | 0 {flow-typed => desktop/flow-typed}/react.js | 0 .../headless-tests}/.babelrc | 0 .../headlessIntegrationTests.js.snap | 0 .../__tests__/headlessIntegrationTests.js | 0 .../headless-tests}/package.json | 0 .../headless-tests}/yarn.lock | 0 {headless => desktop/headless}/index.tsx | 0 package.json => desktop/package.json | 0 .../patches}/adbkit+2.11.1.patch | 0 .../patches}/adbkit-logcat+2.0.1.patch | 0 .../patches}/jsonparse+1.3.1.patch | 0 {pkg => desktop/pkg}/.eslintignore | 0 {pkg => desktop/pkg}/.gitignore | 0 {pkg => desktop/pkg}/LICENSE | 0 {pkg => desktop/pkg}/README.md | 0 {pkg => desktop/pkg}/bin/run | 0 {pkg => desktop/pkg}/bin/run.cmd | 0 {pkg => desktop/pkg}/jestconfig.json | 0 {pkg => desktop/pkg}/package.json | 0 {pkg => desktop/pkg}/src/__tests__/index.ts | 0 {pkg => desktop/pkg}/src/commands/bundle.ts | 0 {pkg => desktop/pkg}/src/index.ts | 0 .../__tests__/flipper-requires.node.js | 0 .../pkg}/src/transforms/dynamic-requires.js | 0 .../pkg}/src/transforms/electron-requires.js | 0 .../pkg}/src/transforms/electron-stubs.js | 0 .../pkg}/src/transforms/fb-stubs.js | 0 .../pkg}/src/transforms/flipper-requires.js | 0 {pkg => desktop/pkg}/src/transforms/index.js | 0 {pkg => desktop/pkg}/src/utils/runBuild.ts | 0 {pkg => desktop/pkg}/src/utils/yarn.ts | 0 {pkg => desktop/pkg}/tsconfig.json | 0 {pkg => desktop/pkg}/tslint.json | 0 {pkg => desktop/pkg}/yarn.lock | 0 .../scripts}/build-headless.ts | 2 +- {scripts => desktop/scripts}/build-release.ts | 8 +-- {scripts => desktop/scripts}/build-utils.ts | 4 +- .../scripts}/generate-changelog.js | 7 ++- .../scripts}/metro-transform.js | 0 .../scripts}/prepare-watchman-config.js | 5 +- .../scripts}/start-dev-server.ts | 2 +- {scripts => desktop/scripts}/yarn-install.ts | 0 {src => desktop/src}/.eslintrc.js | 0 {src => desktop/src}/App.tsx | 0 {src => desktop/src}/Client.tsx | 0 {src => desktop/src}/MenuBar.tsx | 0 {src => desktop/src}/NotificationsHub.tsx | 0 {src => desktop/src}/PluginContainer.tsx | 0 {src => desktop/src}/UninitializedClient.tsx | 0 .../createMockFlipperWithPlugin.node.tsx.snap | 0 .../createMockFlipperWithPlugin.node.tsx | 0 .../src}/__tests__/createTablePlugin.node.tsx | 0 .../src}/chrome/AutoUpdateVersion.tsx | 0 .../src}/chrome/BugReporterDialog.tsx | 0 .../src}/chrome/CancellableExportStatus.tsx | 0 {src => desktop/src}/chrome/DetailSidebar.tsx | 0 {src => desktop/src}/chrome/DevicesButton.tsx | 0 {src => desktop/src}/chrome/DoctorBar.tsx | 0 {src => desktop/src}/chrome/DoctorSheet.tsx | 0 {src => desktop/src}/chrome/ErrorBar.tsx | 0 .../src}/chrome/ExportDataPluginSheet.tsx | 0 {src => desktop/src}/chrome/FpsGraph.tsx | 0 .../src}/chrome/JSEmulatorLauncherSheet.tsx | 0 {src => desktop/src}/chrome/ListView.tsx | 0 .../src}/chrome/LocationsButton.tsx | 0 {src => desktop/src}/chrome/MetroButton.tsx | 0 .../src}/chrome/NotificationScreen.tsx | 0 {src => desktop/src}/chrome/Popover.tsx | 0 {src => desktop/src}/chrome/RatingButton.tsx | 0 .../src}/chrome/ScreenCaptureButtons.tsx | 0 {src => desktop/src}/chrome/SettingsSheet.tsx | 0 .../src}/chrome/ShareSheetErrorList.tsx | 0 .../src}/chrome/ShareSheetExportFile.tsx | 0 .../src}/chrome/ShareSheetExportUrl.tsx | 0 .../src}/chrome/ShareSheetPendingDialog.tsx | 0 {src => desktop/src}/chrome/Sheet.tsx | 0 {src => desktop/src}/chrome/SignInSheet.tsx | 0 {src => desktop/src}/chrome/StatusBar.tsx | 0 {src => desktop/src}/chrome/TitleBar.tsx | 0 .../src}/chrome/UpdateIndicator.tsx | 0 {src => desktop/src}/chrome/UserAccount.tsx | 0 .../src}/chrome/VideoRecordingButton.tsx | 0 .../src}/chrome/WarningEmployee.tsx | 0 {src => desktop/src}/chrome/WelcomeScreen.tsx | 0 .../src}/chrome/WelcomeScreenHeadless.tsx | 0 .../__tests__/ShareSheetErrorList.node.js | 0 .../ShareSheetPendingDialog.node.tsx | 0 .../src}/chrome/__tests__/StatusBar.node.tsx | 0 .../ShareSheetPendingDialog.node.tsx.snap | 0 .../src}/chrome/mainsidebar/MainSidebar2.tsx | 0 .../mainsidebar/MainSidebarUtilsSection.tsx | 0 .../src}/chrome/mainsidebar/sidebarUtils.tsx | 0 .../chrome/plugin-manager/PluginDebugger.tsx | 0 .../chrome/plugin-manager/PluginInstaller.tsx | 0 .../chrome/plugin-manager/PluginManager.tsx | 0 .../plugin-manager/PluginPackageInstaller.tsx | 0 .../__tests__/PluginInstaller.node.tsx | 0 .../chrome/settings/KeyboardShortcutInput.tsx | 0 .../src}/chrome/settings/ToggledSection.tsx | 0 .../src}/chrome/settings/configFields.tsx | 0 {src => desktop/src}/createTablePlugin.tsx | 0 .../src}/devices/AndroidDevice.tsx | 0 .../src}/devices/ArchivedDevice.tsx | 0 {src => desktop/src}/devices/BaseDevice.tsx | 0 {src => desktop/src}/devices/IOSDevice.tsx | 0 {src => desktop/src}/devices/JSDevice.tsx | 0 {src => desktop/src}/devices/KaiOSDevice.tsx | 0 {src => desktop/src}/devices/MacDevice.tsx | 0 {src => desktop/src}/devices/MetroDevice.tsx | 0 .../src}/devices/WindowsDevice.tsx | 0 .../src}/dispatcher/__tests__/TestPlugin.js | 0 .../__tests__/deeplinkURLParsing.node.js | 0 .../src}/dispatcher/__tests__/plugins.node.js | 0 .../dispatcher/__tests__/tracking.node.tsx | 0 .../src}/dispatcher/androidDevice.tsx | 0 .../src}/dispatcher/application.tsx | 0 .../src}/dispatcher/desktopDevice.tsx | 0 {src => desktop/src}/dispatcher/iOSDevice.tsx | 0 {src => desktop/src}/dispatcher/index.tsx | 0 .../src}/dispatcher/metroDevice.tsx | 0 .../src}/dispatcher/notifications.tsx | 0 .../src}/dispatcher/pluginManager.tsx | 0 {src => desktop/src}/dispatcher/plugins.tsx | 0 .../src}/dispatcher/reactNative.tsx | 0 {src => desktop/src}/dispatcher/server.tsx | 0 {src => desktop/src}/dispatcher/tracking.tsx | 0 {src => desktop/src}/dispatcher/types.tsx | 0 {src => desktop/src}/dispatcher/user.tsx | 0 {src => desktop/src}/fb-interfaces/Logger.tsx | 0 {src => desktop/src}/fb-stubs/BugReporter.tsx | 0 .../src}/fb-stubs/ErrorReporter.tsx | 0 {src => desktop/src}/fb-stubs/GK.tsx | 0 .../src}/fb-stubs/LauncherSettingsPanel.tsx | 0 .../LayoutInspectorSidebarExtensions.tsx | 0 {src => desktop/src}/fb-stubs/Logger.tsx | 0 {src => desktop/src}/fb-stubs/Prefetcher.tsx | 0 .../src}/fb-stubs/ScribeLogger.tsx | 0 .../src}/fb-stubs/SupportRequestDetails.tsx | 0 .../src}/fb-stubs/SupportRequestFormV2.tsx | 0 .../src}/fb-stubs/UserFeedback.tsx | 0 {src => desktop/src}/fb-stubs/WatchTools.tsx | 0 .../src}/fb-stubs/__mocks__/Logger.tsx | 0 {src => desktop/src}/fb-stubs/config.tsx | 0 {src => desktop/src}/fb-stubs/constants.tsx | 0 {src => desktop/src}/fb-stubs/createPaste.tsx | 0 .../src}/fb-stubs/iOSContainerUtility.tsx | 0 {src => desktop/src}/fb-stubs/user.tsx | 0 {src => desktop/src}/index.tsx | 0 {src => desktop/src}/init.tsx | 0 {src => desktop/src}/plugin.tsx | 0 .../src}/plugins/TableNativePlugin.tsx | 0 .../src}/plugins/cpu/TemperatureTable.tsx | 0 {src => desktop/src}/plugins/cpu/index.tsx | 0 {src => desktop/src}/plugins/cpu/package.json | 0 {src => desktop/src}/plugins/cpu/yarn.lock | 0 .../testCrashReporterPlugin.electron.js | 0 .../src}/plugins/crash_reporter/index.js | 0 .../src}/plugins/crash_reporter/package.json | 0 .../src}/plugins/crash_reporter/yarn.lock | 0 .../plugins/databases/ButtonNavigation.js | 0 .../src}/plugins/databases/ClientProtocol.js | 0 .../src}/plugins/databases/index.js | 0 .../src}/plugins/databases/package.json | 0 .../src}/plugins/databases/yarn.lock | 0 .../src}/plugins/example/index.tsx | 0 .../src}/plugins/example/package.json | 0 .../src}/plugins/example/yarn.lock | 0 .../src}/plugins/fresco/ImagePool.tsx | 0 .../plugins/fresco/ImagesCacheOverview.tsx | 0 .../src}/plugins/fresco/ImagesSidebar.tsx | 0 .../src}/plugins/fresco/MultipleSelect.tsx | 0 .../__snapshots__/index.node.tsx.snap | 0 .../plugins/fresco/__tests__/index.node.tsx | 0 {src => desktop/src}/plugins/fresco/api.tsx | 0 {src => desktop/src}/plugins/fresco/index.tsx | 0 .../src}/plugins/fresco/package.json | 0 {src => desktop/src}/plugins/fresco/yarn.lock | 0 .../src}/plugins/kaios-allocations/index.tsx | 0 .../plugins/kaios-allocations/package.json | 0 .../patches/firefox-client+0.3.0.patch | 0 .../types/firefox-client.d.tsx | 0 .../src}/plugins/kaios-allocations/yarn.lock | 0 .../src}/plugins/kaios-ram/index.tsx | 0 .../src}/plugins/kaios-ram/package.json | 0 .../src}/plugins/kaios-ram/yarn.lock | 0 .../src}/plugins/layout/Inspector.tsx | 0 .../src}/plugins/layout/InspectorSidebar.tsx | 0 .../plugins/layout/ProxyArchiveClient.tsx | 0 .../src}/plugins/layout/Search.tsx | 0 .../src}/plugins/layout/ToolbarIcon.tsx | 0 .../__tests__/ProxyArchiveClient.node.tsx | 0 {src => desktop/src}/plugins/layout/index.tsx | 0 .../src}/plugins/layout/package.json | 0 {src => desktop/src}/plugins/layout/yarn.lock | 0 .../src}/plugins/leak_canary/index.tsx | 0 .../src}/plugins/leak_canary/package.json | 0 .../plugins/leak_canary/processLeakString.tsx | 0 .../src}/plugins/leak_canary/yarn.lock | 0 .../src}/plugins/logs/LogWatcher.tsx | 0 .../src}/plugins/logs/__tests__/index.node.js | 0 {src => desktop/src}/plugins/logs/index.tsx | 0 .../src}/plugins/logs/package.json | 0 {src => desktop/src}/plugins/logs/yarn.lock | 0 .../__tests__/testAutoCompleteSearch.node.tsx | 0 .../navigation/__tests__/testURI.node.tsx | 0 .../components/AutoCompleteSheet.tsx | 0 .../components/BookmarksSidebar.tsx | 0 .../navigation/components/FavoriteButton.tsx | 0 .../navigation/components/IconButton.tsx | 0 .../components/NavigationInfoBox.tsx | 0 .../components/RequiredParametersDialog.tsx | 0 .../components/SaveBookmarkDialog.tsx | 0 .../navigation/components/SearchBar.tsx | 0 .../navigation/components/Timeline.tsx | 0 .../plugins/navigation/components/index.tsx | 0 .../navigation/hooks/autoCompleteSheet.tsx | 0 .../navigation/hooks/requiredParameters.tsx | 0 .../src}/plugins/navigation/index.tsx | 0 .../src}/plugins/navigation/package.json | 0 .../src}/plugins/navigation/types.tsx | 0 .../navigation/util/appMatchPatterns.tsx | 0 .../navigation/util/autoCompleteProvider.tsx | 0 .../plugins/navigation/util/indexedDB.tsx | 0 .../src}/plugins/navigation/util/uri.tsx | 0 .../src}/plugins/navigation/yarn.lock | 0 .../src}/plugins/network/RequestDetails.tsx | 0 .../__tests__/requestToCurlCommand.node.tsx | 0 .../src}/plugins/network/index.tsx | 0 .../src}/plugins/network/package.json | 0 .../src}/plugins/network/types.tsx | 0 .../src}/plugins/network/utils.tsx | 0 .../src}/plugins/network/yarn.lock | 0 .../src}/plugins/reactdevtools/get-port.d.tsx | 0 .../src}/plugins/reactdevtools/index.tsx | 0 .../src}/plugins/reactdevtools/package.json | 0 .../reactdevtools/react-devtools-core.d.tsx | 0 .../src}/plugins/reactdevtools/yarn.lock | 0 .../src}/plugins/rn-tic-tac-toe/index.tsx | 0 .../src}/plugins/rn-tic-tac-toe/package.json | 0 .../src}/plugins/rn-tic-tac-toe/yarn.lock | 0 .../src}/plugins/sandbox/index.tsx | 0 .../src}/plugins/sandbox/package.json | 0 .../src}/plugins/sandbox/yarn.lock | 0 .../src}/plugins/seamammals/index.tsx | 0 .../src}/plugins/seamammals/package.json | 0 .../src}/plugins/seamammals/yarn.lock | 0 .../src}/plugins/sections/DetailsPanel.js | 0 .../src}/plugins/sections/EventsTable.js | 0 .../src}/plugins/sections/Models.js | 0 .../src}/plugins/sections/StackTrace.js | 0 {src => desktop/src}/plugins/sections/Tree.js | 0 .../src}/plugins/sections/d3/LICENSE | 0 .../src}/plugins/sections/d3/d3.js | 0 .../src}/plugins/sections/d3/package.json | 0 .../src}/plugins/sections/index.js | 0 .../src}/plugins/sections/package.json | 0 .../src}/plugins/sections/yarn.lock | 0 .../src}/plugins/shared_preferences/index.js | 0 .../plugins/shared_preferences/package.json | 0 .../src}/plugins/shared_preferences/yarn.lock | 0 .../__snapshots__/healthchecks.node.tsx.snap | 0 .../__tests__/applications.electron.tsx | 0 .../reducers/__tests__/connections.node.tsx | 0 .../reducers/__tests__/healthchecks.node.tsx | 0 .../reducers/__tests__/notifications.node.tsx | 0 .../reducers/__tests__/pluginManager.node.tsx | 0 .../reducers/__tests__/pluginStates.node.tsx | 0 .../src}/reducers/__tests__/plugins.node.tsx | 0 .../src}/reducers/__tests__/settings.node.tsx | 0 .../src}/reducers/__tests__/user.node.tsx | 0 {src => desktop/src}/reducers/application.tsx | 0 {src => desktop/src}/reducers/connections.tsx | 0 .../src}/reducers/healthchecks.tsx | 0 {src => desktop/src}/reducers/index.tsx | 0 .../src}/reducers/launcherSettings.tsx | 0 .../src}/reducers/notifications.tsx | 0 .../src}/reducers/pluginManager.tsx | 0 .../src}/reducers/pluginMessageQueue.tsx | 0 .../src}/reducers/pluginStates.tsx | 0 {src => desktop/src}/reducers/plugins.tsx | 0 {src => desktop/src}/reducers/settings.tsx | 0 {src => desktop/src}/reducers/supportForm.tsx | 0 .../src}/reducers/usageTracking.tsx | 0 {src => desktop/src}/reducers/user.tsx | 0 {src => desktop/src}/server.tsx | 0 {src => desktop/src}/store.tsx | 0 .../createMockFlipperWithPlugin.tsx | 0 .../src}/ui/components/AlternatingRows.tsx | 0 {src => desktop/src}/ui/components/Block.tsx | 0 .../src}/ui/components/Bordered.tsx | 0 {src => desktop/src}/ui/components/Box.tsx | 0 {src => desktop/src}/ui/components/Button.tsx | 0 .../src}/ui/components/ButtonGroup.tsx | 0 .../src}/ui/components/ButtonGroupChain.tsx | 0 .../ui/components/ButtonNavigationGroup.tsx | 0 .../src}/ui/components/CenteredView.tsx | 0 .../src}/ui/components/Checkbox.tsx | 0 .../src}/ui/components/CodeBlock.tsx | 0 .../src}/ui/components/ContextMenu.tsx | 0 .../ui/components/ContextMenuProvider.tsx | 0 .../src}/ui/components/ErrorBlock.tsx | 0 .../src}/ui/components/ErrorBoundary.tsx | 0 {src => desktop/src}/ui/components/File.tsx | 0 .../src}/ui/components/FileList.tsx | 0 .../src}/ui/components/FileSelector.tsx | 0 .../src}/ui/components/FlexBox.tsx | 0 .../src}/ui/components/FlexCenter.tsx | 0 .../src}/ui/components/FlexColumn.tsx | 0 .../src}/ui/components/FlexRow.tsx | 0 .../src}/ui/components/FocusableBox.tsx | 0 {src => desktop/src}/ui/components/Glyph.tsx | 0 {src => desktop/src}/ui/components/HBox.tsx | 0 .../src}/ui/components/Heading.tsx | 0 .../src}/ui/components/HorizontalRule.tsx | 0 {src => desktop/src}/ui/components/Info.tsx | 0 {src => desktop/src}/ui/components/Input.tsx | 0 .../src}/ui/components/Interactive.tsx | 0 {src => desktop/src}/ui/components/Label.tsx | 0 .../src}/ui/components/Labeled.tsx | 0 {src => desktop/src}/ui/components/Link.tsx | 0 .../src}/ui/components/LoadingIndicator.tsx | 0 .../src}/ui/components/Markdown.tsx | 0 .../src}/ui/components/MarkerTimeline.tsx | 0 .../src}/ui/components/ModalOverlay.tsx | 0 .../src}/ui/components/MultiLineInput.tsx | 0 .../src}/ui/components/Orderable.tsx | 0 {src => desktop/src}/ui/components/Panel.tsx | 0 .../src}/ui/components/PathBreadcrumbs.tsx | 0 .../src}/ui/components/Popover.tsx | 0 {src => desktop/src}/ui/components/Radio.tsx | 0 .../src}/ui/components/ResizeSensor.tsx | 0 .../src}/ui/components/RoundedSection.tsx | 0 {src => desktop/src}/ui/components/Select.tsx | 0 {src => desktop/src}/ui/components/Sheet.tsx | 0 .../src}/ui/components/Sidebar.tsx | 0 .../src}/ui/components/SidebarLabel.tsx | 0 .../src}/ui/components/SmallText.tsx | 0 .../src}/ui/components/StackTrace.tsx | 0 .../src}/ui/components/StarButton.tsx | 0 .../src}/ui/components/StatusIndicator.tsx | 0 {src => desktop/src}/ui/components/Tab.tsx | 0 {src => desktop/src}/ui/components/Tabs.tsx | 0 .../src}/ui/components/TabsContainer.tsx | 0 {src => desktop/src}/ui/components/Text.tsx | 0 .../src}/ui/components/TextParagraph.tsx | 0 .../src}/ui/components/Textarea.tsx | 0 .../src}/ui/components/ToggleSwitch.tsx | 0 .../src}/ui/components/Toolbar.tsx | 0 .../src}/ui/components/Tooltip.tsx | 0 .../src}/ui/components/TooltipProvider.tsx | 0 {src => desktop/src}/ui/components/VBox.tsx | 0 .../src}/ui/components/VerticalRule.tsx | 0 {src => desktop/src}/ui/components/View.tsx | 0 .../src}/ui/components/ViewWithSize.tsx | 0 .../src}/ui/components/VirtualList.tsx | 0 .../__tests__/MarkerTimeline.electron.tsx | 0 .../MarkerTimeline.electron.tsx.snap | 0 {src => desktop/src}/ui/components/colors.tsx | 0 .../src}/ui/components/console.tsx | 0 .../data-inspector/DataDescription.tsx | 0 .../data-inspector/DataInspector.tsx | 0 .../components/data-inspector/DataPreview.tsx | 0 .../data-inspector/ManagedDataInspector.tsx | 0 .../ui/components/data-inspector/utils.tsx | 0 .../src}/ui/components/desktop-toolbar.tsx | 0 .../elements-inspector/ElementsInspector.tsx | 0 .../elements-inspector/Visualizer.tsx | 0 .../elements-inspector/elements.tsx | 0 .../components/elements-inspector/sidebar.tsx | 0 .../src}/ui/components/filter/FilterRow.tsx | 0 .../src}/ui/components/filter/types.tsx | 0 .../ui/components/searchable/FilterToken.tsx | 0 .../ui/components/searchable/Searchable.tsx | 0 .../components/searchable/SearchableTable.tsx | 0 .../searchable/SearchableTable_immutable.tsx | 0 .../src}/ui/components/table/ManagedTable.tsx | 0 .../table/ManagedTable_immutable.tsx | 0 .../src}/ui/components/table/TableHead.tsx | 0 .../src}/ui/components/table/TableRow.tsx | 0 .../table/TypeBasedValueRenderer.tsx | 0 .../src}/ui/components/table/types.tsx | 0 .../src}/ui/components/table/utils.tsx | 0 {src => desktop/src}/ui/index.tsx | 0 .../src}/utils/CertificateProvider.tsx | 0 {src => desktop/src}/utils/Idler.tsx | 0 .../src}/utils/InteractionTracker.tsx | 0 {src => desktop/src}/utils/LowPassFilter.tsx | 0 {src => desktop/src}/utils/StubLogger.tsx | 0 .../src}/utils/__mocks__/argvUtils.js | 0 .../src}/utils/__tests__/Idler.node.js | 0 .../src}/utils/__tests__/adbConfig.node.js | 0 .../src}/utils/__tests__/clientUtils.node.tsx | 0 .../__tests__/crashReporterUtility.node.js | 0 .../__tests__/data/settings-v1-valid.json | 0 .../__tests__/environmentVariables.node.js | 0 .../utils/__tests__/exportData.electron.tsx | 0 .../src}/utils/__tests__/icons.node.ts | 0 .../utils/__tests__/jsonFileStorage.node.js | 0 .../utils/__tests__/messageQueue.node.tsx | 0 .../utils/__tests__/packageMetadata.node.js | 0 .../src}/utils/__tests__/pluginUtils.node.js | 0 .../utils/__tests__/processConfig.node.js | 0 .../utils/__tests__/promiseTimeout.node.js | 0 .../utils/__tests__/serialization.node.js | 0 {src => desktop/src}/utils/adbClient.tsx | 0 {src => desktop/src}/utils/adbConfig.tsx | 0 .../src}/utils/androidContainerUtility.tsx | 0 .../utils/androidContainerUtilityInternal.tsx | 0 {src => desktop/src}/utils/argvUtils.tsx | 0 {src => desktop/src}/utils/clientUtils.tsx | 0 .../src}/utils/crashReporterUtility.tsx | 0 .../src}/utils/electronCrashReporter.tsx | 0 .../src}/utils/environmentVariables.tsx | 0 {src => desktop/src}/utils/errors.tsx | 0 {src => desktop/src}/utils/exportData.tsx | 0 {src => desktop/src}/utils/exportMetrics.tsx | 0 {src => desktop/src}/utils/fbEmployee.tsx | 0 {src => desktop/src}/utils/geometry.tsx | 0 {src => desktop/src}/utils/icons.d.ts | 0 {src => desktop/src}/utils/icons.ts | 0 {src => desktop/src}/utils/index.tsx | 0 {src => desktop/src}/utils/info.tsx | 0 {src => desktop/src}/utils/isHeadless.tsx | 0 {src => desktop/src}/utils/isProduction.tsx | 0 {src => desktop/src}/utils/js-client/api.js | 0 .../src}/utils/js-client/example.js | 0 .../src}/utils/js-client/package.json | 0 .../js-client/plugins/analyticsLogging.js | 0 .../src}/utils/js-client/plugins/fury.js | 0 .../src}/utils/js-client/serverUtils.tsx | 0 .../websocketClientFlipperConnection.tsx | 0 .../src}/utils/js-client/webviewImpl.js | 0 .../src}/utils/js-client/yarn.lock | 0 .../utils/jsonFileReduxPersistStorage.tsx | 0 {src => desktop/src}/utils/jsonTypes.tsx | 0 {src => desktop/src}/utils/launcher.tsx | 0 .../src}/utils/launcherSettingsStorage.tsx | 0 {src => desktop/src}/utils/listDevices.tsx | 0 {src => desktop/src}/utils/messageQueue.tsx | 0 {src => desktop/src}/utils/metrics.tsx | 0 .../src}/utils/onRegisterDevice.tsx | 0 .../utils/openssl-wrapper-with-promises.tsx | 0 .../src}/utils/packageMetadata.tsx | 0 {src => desktop/src}/utils/pathUtils.tsx | 0 {src => desktop/src}/utils/persistor.tsx | 0 {src => desktop/src}/utils/pluginManager.tsx | 0 .../src}/utils/pluginStateRecorder.tsx | 0 {src => desktop/src}/utils/pluginUtils.tsx | 0 {src => desktop/src}/utils/processCleanup.tsx | 0 {src => desktop/src}/utils/processConfig.tsx | 0 {src => desktop/src}/utils/promiseTimeout.tsx | 0 .../src}/utils/publicVersionChecker.tsx | 0 .../src}/utils/reduxDevToolsConfig.tsx | 0 {src => desktop/src}/utils/restartFlipper.tsx | 0 .../src}/utils/runHealthchecks.tsx | 0 {src => desktop/src}/utils/screenshot.tsx | 0 {src => desktop/src}/utils/serialization.tsx | 0 {src => desktop/src}/utils/snap.tsx | 0 .../src}/utils/supportRequestsFormUtils.tsx | 0 {src => desktop/src}/utils/textContent.tsx | 0 {src => desktop/src}/utils/typeUtils.tsx | 0 {static => desktop/static}/CHANGELOG.md | 0 .../CocoaAsyncSocketMac | Bin .../Resources/Info.plist | 0 .../Versions/A/CocoaAsyncSocketMac | Bin .../Versions/A/Resources/Info.plist | 0 .../FBPortForwarding-Mac | Bin .../Resources/Info.plist | 0 .../Versions/A/FBPortForwarding-Mac | Bin .../Versions/A/Resources/Info.plist | 0 .../Resources/Info.plist | 0 .../Versions/A/Resources/Info.plist | 0 .../Versions/A/peertalkMac | Bin .../peertalkMac.framework/peertalkMac | Bin .../Contents/Info.plist | 0 .../Contents/MacOS/PortForwardingMacApp | Bin .../PortForwardingMacApp.app/Contents/PkgInfo | 0 .../static}/SupportJSClientPreload.js | 0 .../static}/SupportRequestPreload.js | 0 {static => desktop/static}/_watchmanconfig | 0 .../static}/actions-artifacts.png | Bin {static => desktop/static}/anchor.svg | 0 {static => desktop/static}/compilePlugins.ts | 0 {static => desktop/static}/dmgBackground.png | Bin .../static}/document-icons/document.icns | Bin .../static}/document-icons/document.ico | Bin .../static}/document-icons/document.png | Bin .../static}/electron-stubs.notjs | 0 {static => desktop/static}/globalTestSetup.js | 0 .../static}/graphiql/graphiql.css | 0 {static => desktop/static}/icon.icns | Bin {static => desktop/static}/icon.ico | Bin {static => desktop/static}/icon.png | Bin {static => desktop/static}/icons.json | 0 .../static}/icons/accessibility.png | Bin {static => desktop/static}/icons/android.svg | 0 .../static}/icons/componentkit-logo.png | Bin {static => desktop/static}/icons/ios.svg | 0 .../static}/icons/litho-logo.png | Bin .../static}/icons/sidebar_bottom.svg | 0 .../static}/icons/sidebar_left.svg | 0 .../static}/icons/sidebar_right.svg | 0 {static => desktop/static}/index.dev.html | 0 {static => desktop/static}/index.html | 0 {static => desktop/static}/index.js | 0 {static => desktop/static}/launcher.ts | 0 {static => desktop/static}/main.ts | 0 .../static}/native-modules/keytar-darwin.node | Bin .../static}/native-modules/keytar-linux.node | Bin .../static}/native-modules/keytar-win32.node | Bin {static => desktop/static}/package.json | 0 {static => desktop/static}/pattern.gif | Bin {static => desktop/static}/setup.ts | 0 {static => desktop/static}/style.css | 0 .../__tests__/electron-process.node.js | 0 .../__tests__/electron-stubs.node.js | 0 .../__tests__/flipper-requires.node.js | 0 .../static}/transforms/dynamic-requires.js | 0 .../static}/transforms/electron-process.js | 0 .../transforms/electron-requires-main.js | 0 .../static}/transforms/electron-requires.js | 0 .../static}/transforms/electron-stubs.js | 0 .../static}/transforms/fb-stubs.js | 0 .../static}/transforms/flipper-requires.js | 0 .../static}/transforms/import-react.js | 0 .../static}/transforms/index.js | 0 .../static}/uiperf/screenshot.png | Bin {static => desktop/static}/vis/vis.min.css | 0 {static => desktop/static}/watchman.ts | 0 {static => desktop/static}/yarn.lock | 0 tsconfig.json => desktop/tsconfig.json | 0 {types => desktop/types}/JSONStream.d.tsx | 0 .../types}/ReactDebounceRender.d.tsx | 0 {types => desktop/types}/ResizeObserver.d.tsx | 0 {types => desktop/types}/XmlBeautifier.d.tsx | 0 {types => desktop/types}/adbkit-logcat.d.tsx | 0 {types => desktop/types}/adbkit.d.tsx | 0 {types => desktop/types}/ansi-to-html.d.ts | 0 .../types}/decompress-targz.d.tsx | 0 .../types}/decompress-unzip.d.tsx | 0 .../types}/download-tarball.d.tsx | 0 {types => desktop/types}/globals.tsx | 0 {types => desktop/types}/line-replace.d.ts | 0 .../types}/live-plugin-manager.d.tsx | 0 {types => desktop/types}/nodejs.tsx | 0 {types => desktop/types}/npm-api.d.ts | 0 .../types}/openssl-wrapper.d.tsx | 0 .../types}/string-natural-compare.d.tsx | 0 yarn.lock => desktop/yarn.lock | 0 docs/extending/establishing-a-connection.md | 2 +- docs/extending/styling-components.md | 2 +- docs/extending/testing.md | 2 +- docs/tutorial/js-setup.md | 2 +- docs/tutorial/js-table.md | 2 +- docs/tutorial/react-native.md | 2 +- greenkeeper.json | 54 ++++++++++-------- react-native/react-native-flipper/README.md | 2 +- scripts/eslint.sh | 35 ------------ scripts/flow.sh | 36 ------------ scripts/setup-env.sh | 2 +- 607 files changed, 103 insertions(+), 142 deletions(-) create mode 100644 desktop/.eslintignore rename .eslintrc.js => desktop/.eslintrc.js (100%) rename .npmignore => desktop/.npmignore (100%) rename {.vscode => desktop/.vscode}/launch.json (96%) rename .yarnrc => desktop/.yarnrc (100%) rename {__mocks__ => desktop/__mocks__}/electron.tsx (100%) rename {doctor => desktop/doctor}/.gitignore (100%) rename {doctor => desktop/doctor}/.ignore (100%) rename {doctor => desktop/doctor}/README.md (100%) rename {doctor => desktop/doctor}/jestconfig.json (100%) rename {doctor => desktop/doctor}/package.json (100%) rename {doctor => desktop/doctor}/src/cli.ts (100%) rename {doctor => desktop/doctor}/src/environmentInfo.ts (100%) rename {doctor => desktop/doctor}/src/globals.d.ts (100%) rename {doctor => desktop/doctor}/src/index.ts (100%) rename {doctor => desktop/doctor}/tsconfig.json (100%) rename {doctor => desktop/doctor}/tslint.json (100%) rename {doctor => desktop/doctor}/yarn.lock (100%) rename {flow-typed => desktop/flow-typed}/TsStub.js (100%) rename {flow-typed => desktop/flow-typed}/flipper.js (100%) rename {flow-typed => desktop/flow-typed}/npm/adbkit-fb_vx.x.x.js (100%) rename {flow-typed => desktop/flow-typed}/npm/dateformat_vx.x.x.js (100%) rename {flow-typed => desktop/flow-typed}/npm/electron-v5.0.2.js (100%) rename {flow-typed => desktop/flow-typed}/npm/electron-v8.0.1.js (100%) rename {flow-typed => desktop/flow-typed}/npm/google-palette_vx.x.x.js (100%) rename {flow-typed => desktop/flow-typed}/npm/graphql_vx.x.x.js (100%) rename {flow-typed => desktop/flow-typed}/npm/immutable_v4.x.x.js (100%) rename {flow-typed => desktop/flow-typed}/npm/jest_v24.x.x.js (100%) rename {flow-typed => desktop/flow-typed}/npm/lodash.debounce_vx.x.x.js (100%) rename {flow-typed => desktop/flow-typed}/npm/lodash.memoize_vx.x.x.js (100%) rename {flow-typed => desktop/flow-typed}/npm/lodash_v4.x.x.js (100%) rename {flow-typed => desktop/flow-typed}/npm/needle_vx.x.x.js (100%) rename {flow-typed => desktop/flow-typed}/npm/react-chartjs-2_vx.x.x.js (100%) rename {flow-typed => desktop/flow-typed}/npm/react-d3-tree_vx.x.x.js (100%) rename {flow-typed => desktop/flow-typed}/npm/react-stepper-horizontal_vx.x.x.js (100%) rename {flow-typed => desktop/flow-typed}/npm/react-virtualized_vx.x.x.js (100%) rename {flow-typed => desktop/flow-typed}/npm/redux-mock-store_vx.x.x.js (100%) rename {flow-typed => desktop/flow-typed}/npm/sql-formatter_vx.x.x.js (100%) rename {flow-typed => desktop/flow-typed}/npm/unicode-substring.js (100%) rename {flow-typed => desktop/flow-typed}/react.js (100%) rename {headless-tests => desktop/headless-tests}/.babelrc (100%) rename {headless-tests => desktop/headless-tests}/__tests__/__snapshots__/headlessIntegrationTests.js.snap (100%) rename {headless-tests => desktop/headless-tests}/__tests__/headlessIntegrationTests.js (100%) rename {headless-tests => desktop/headless-tests}/package.json (100%) rename {headless-tests => desktop/headless-tests}/yarn.lock (100%) rename {headless => desktop/headless}/index.tsx (100%) rename package.json => desktop/package.json (100%) rename {patches => desktop/patches}/adbkit+2.11.1.patch (100%) rename {patches => desktop/patches}/adbkit-logcat+2.0.1.patch (100%) rename {patches => desktop/patches}/jsonparse+1.3.1.patch (100%) rename {pkg => desktop/pkg}/.eslintignore (100%) rename {pkg => desktop/pkg}/.gitignore (100%) rename {pkg => desktop/pkg}/LICENSE (100%) rename {pkg => desktop/pkg}/README.md (100%) rename {pkg => desktop/pkg}/bin/run (100%) rename {pkg => desktop/pkg}/bin/run.cmd (100%) rename {pkg => desktop/pkg}/jestconfig.json (100%) rename {pkg => desktop/pkg}/package.json (100%) rename {pkg => desktop/pkg}/src/__tests__/index.ts (100%) rename {pkg => desktop/pkg}/src/commands/bundle.ts (100%) rename {pkg => desktop/pkg}/src/index.ts (100%) rename {pkg => desktop/pkg}/src/transforms/__tests__/flipper-requires.node.js (100%) rename {pkg => desktop/pkg}/src/transforms/dynamic-requires.js (100%) rename {pkg => desktop/pkg}/src/transforms/electron-requires.js (100%) rename {pkg => desktop/pkg}/src/transforms/electron-stubs.js (100%) rename {pkg => desktop/pkg}/src/transforms/fb-stubs.js (100%) rename {pkg => desktop/pkg}/src/transforms/flipper-requires.js (100%) rename {pkg => desktop/pkg}/src/transforms/index.js (100%) rename {pkg => desktop/pkg}/src/utils/runBuild.ts (100%) rename {pkg => desktop/pkg}/src/utils/yarn.ts (100%) rename {pkg => desktop/pkg}/tsconfig.json (100%) rename {pkg => desktop/pkg}/tslint.json (100%) rename {pkg => desktop/pkg}/yarn.lock (100%) rename {scripts => desktop/scripts}/build-headless.ts (98%) rename {scripts => desktop/scripts}/build-release.ts (95%) rename {scripts => desktop/scripts}/build-utils.ts (97%) rename {scripts => desktop/scripts}/generate-changelog.js (89%) rename {scripts => desktop/scripts}/metro-transform.js (100%) rename {scripts => desktop/scripts}/prepare-watchman-config.js (82%) rename {scripts => desktop/scripts}/start-dev-server.ts (99%) rename {scripts => desktop/scripts}/yarn-install.ts (100%) rename {src => desktop/src}/.eslintrc.js (100%) rename {src => desktop/src}/App.tsx (100%) rename {src => desktop/src}/Client.tsx (100%) rename {src => desktop/src}/MenuBar.tsx (100%) rename {src => desktop/src}/NotificationsHub.tsx (100%) rename {src => desktop/src}/PluginContainer.tsx (100%) rename {src => desktop/src}/UninitializedClient.tsx (100%) rename {src => desktop/src}/__tests__/__snapshots__/createMockFlipperWithPlugin.node.tsx.snap (100%) rename {src => desktop/src}/__tests__/createMockFlipperWithPlugin.node.tsx (100%) rename {src => desktop/src}/__tests__/createTablePlugin.node.tsx (100%) rename {src => desktop/src}/chrome/AutoUpdateVersion.tsx (100%) rename {src => desktop/src}/chrome/BugReporterDialog.tsx (100%) rename {src => desktop/src}/chrome/CancellableExportStatus.tsx (100%) rename {src => desktop/src}/chrome/DetailSidebar.tsx (100%) rename {src => desktop/src}/chrome/DevicesButton.tsx (100%) rename {src => desktop/src}/chrome/DoctorBar.tsx (100%) rename {src => desktop/src}/chrome/DoctorSheet.tsx (100%) rename {src => desktop/src}/chrome/ErrorBar.tsx (100%) rename {src => desktop/src}/chrome/ExportDataPluginSheet.tsx (100%) rename {src => desktop/src}/chrome/FpsGraph.tsx (100%) rename {src => desktop/src}/chrome/JSEmulatorLauncherSheet.tsx (100%) rename {src => desktop/src}/chrome/ListView.tsx (100%) rename {src => desktop/src}/chrome/LocationsButton.tsx (100%) rename {src => desktop/src}/chrome/MetroButton.tsx (100%) rename {src => desktop/src}/chrome/NotificationScreen.tsx (100%) rename {src => desktop/src}/chrome/Popover.tsx (100%) rename {src => desktop/src}/chrome/RatingButton.tsx (100%) rename {src => desktop/src}/chrome/ScreenCaptureButtons.tsx (100%) rename {src => desktop/src}/chrome/SettingsSheet.tsx (100%) rename {src => desktop/src}/chrome/ShareSheetErrorList.tsx (100%) rename {src => desktop/src}/chrome/ShareSheetExportFile.tsx (100%) rename {src => desktop/src}/chrome/ShareSheetExportUrl.tsx (100%) rename {src => desktop/src}/chrome/ShareSheetPendingDialog.tsx (100%) rename {src => desktop/src}/chrome/Sheet.tsx (100%) rename {src => desktop/src}/chrome/SignInSheet.tsx (100%) rename {src => desktop/src}/chrome/StatusBar.tsx (100%) rename {src => desktop/src}/chrome/TitleBar.tsx (100%) rename {src => desktop/src}/chrome/UpdateIndicator.tsx (100%) rename {src => desktop/src}/chrome/UserAccount.tsx (100%) rename {src => desktop/src}/chrome/VideoRecordingButton.tsx (100%) rename {src => desktop/src}/chrome/WarningEmployee.tsx (100%) rename {src => desktop/src}/chrome/WelcomeScreen.tsx (100%) rename {src => desktop/src}/chrome/WelcomeScreenHeadless.tsx (100%) rename {src => desktop/src}/chrome/__tests__/ShareSheetErrorList.node.js (100%) rename {src => desktop/src}/chrome/__tests__/ShareSheetPendingDialog.node.tsx (100%) rename {src => desktop/src}/chrome/__tests__/StatusBar.node.tsx (100%) rename {src => desktop/src}/chrome/__tests__/__snapshots__/ShareSheetPendingDialog.node.tsx.snap (100%) rename {src => desktop/src}/chrome/mainsidebar/MainSidebar2.tsx (100%) rename {src => desktop/src}/chrome/mainsidebar/MainSidebarUtilsSection.tsx (100%) rename {src => desktop/src}/chrome/mainsidebar/sidebarUtils.tsx (100%) rename {src => desktop/src}/chrome/plugin-manager/PluginDebugger.tsx (100%) rename {src => desktop/src}/chrome/plugin-manager/PluginInstaller.tsx (100%) rename {src => desktop/src}/chrome/plugin-manager/PluginManager.tsx (100%) rename {src => desktop/src}/chrome/plugin-manager/PluginPackageInstaller.tsx (100%) rename {src => desktop/src}/chrome/plugin-manager/__tests__/PluginInstaller.node.tsx (100%) rename {src => desktop/src}/chrome/settings/KeyboardShortcutInput.tsx (100%) rename {src => desktop/src}/chrome/settings/ToggledSection.tsx (100%) rename {src => desktop/src}/chrome/settings/configFields.tsx (100%) rename {src => desktop/src}/createTablePlugin.tsx (100%) rename {src => desktop/src}/devices/AndroidDevice.tsx (100%) rename {src => desktop/src}/devices/ArchivedDevice.tsx (100%) rename {src => desktop/src}/devices/BaseDevice.tsx (100%) rename {src => desktop/src}/devices/IOSDevice.tsx (100%) rename {src => desktop/src}/devices/JSDevice.tsx (100%) rename {src => desktop/src}/devices/KaiOSDevice.tsx (100%) rename {src => desktop/src}/devices/MacDevice.tsx (100%) rename {src => desktop/src}/devices/MetroDevice.tsx (100%) rename {src => desktop/src}/devices/WindowsDevice.tsx (100%) rename {src => desktop/src}/dispatcher/__tests__/TestPlugin.js (100%) rename {src => desktop/src}/dispatcher/__tests__/deeplinkURLParsing.node.js (100%) rename {src => desktop/src}/dispatcher/__tests__/plugins.node.js (100%) rename {src => desktop/src}/dispatcher/__tests__/tracking.node.tsx (100%) rename {src => desktop/src}/dispatcher/androidDevice.tsx (100%) rename {src => desktop/src}/dispatcher/application.tsx (100%) rename {src => desktop/src}/dispatcher/desktopDevice.tsx (100%) rename {src => desktop/src}/dispatcher/iOSDevice.tsx (100%) rename {src => desktop/src}/dispatcher/index.tsx (100%) rename {src => desktop/src}/dispatcher/metroDevice.tsx (100%) rename {src => desktop/src}/dispatcher/notifications.tsx (100%) rename {src => desktop/src}/dispatcher/pluginManager.tsx (100%) rename {src => desktop/src}/dispatcher/plugins.tsx (100%) rename {src => desktop/src}/dispatcher/reactNative.tsx (100%) rename {src => desktop/src}/dispatcher/server.tsx (100%) rename {src => desktop/src}/dispatcher/tracking.tsx (100%) rename {src => desktop/src}/dispatcher/types.tsx (100%) rename {src => desktop/src}/dispatcher/user.tsx (100%) rename {src => desktop/src}/fb-interfaces/Logger.tsx (100%) rename {src => desktop/src}/fb-stubs/BugReporter.tsx (100%) rename {src => desktop/src}/fb-stubs/ErrorReporter.tsx (100%) rename {src => desktop/src}/fb-stubs/GK.tsx (100%) rename {src => desktop/src}/fb-stubs/LauncherSettingsPanel.tsx (100%) rename {src => desktop/src}/fb-stubs/LayoutInspectorSidebarExtensions.tsx (100%) rename {src => desktop/src}/fb-stubs/Logger.tsx (100%) rename {src => desktop/src}/fb-stubs/Prefetcher.tsx (100%) rename {src => desktop/src}/fb-stubs/ScribeLogger.tsx (100%) rename {src => desktop/src}/fb-stubs/SupportRequestDetails.tsx (100%) rename {src => desktop/src}/fb-stubs/SupportRequestFormV2.tsx (100%) rename {src => desktop/src}/fb-stubs/UserFeedback.tsx (100%) rename {src => desktop/src}/fb-stubs/WatchTools.tsx (100%) rename {src => desktop/src}/fb-stubs/__mocks__/Logger.tsx (100%) rename {src => desktop/src}/fb-stubs/config.tsx (100%) rename {src => desktop/src}/fb-stubs/constants.tsx (100%) rename {src => desktop/src}/fb-stubs/createPaste.tsx (100%) rename {src => desktop/src}/fb-stubs/iOSContainerUtility.tsx (100%) rename {src => desktop/src}/fb-stubs/user.tsx (100%) rename {src => desktop/src}/index.tsx (100%) rename {src => desktop/src}/init.tsx (100%) rename {src => desktop/src}/plugin.tsx (100%) rename {src => desktop/src}/plugins/TableNativePlugin.tsx (100%) rename {src => desktop/src}/plugins/cpu/TemperatureTable.tsx (100%) rename {src => desktop/src}/plugins/cpu/index.tsx (100%) rename {src => desktop/src}/plugins/cpu/package.json (100%) rename {src => desktop/src}/plugins/cpu/yarn.lock (100%) rename {src => desktop/src}/plugins/crash_reporter/__tests__/testCrashReporterPlugin.electron.js (100%) rename {src => desktop/src}/plugins/crash_reporter/index.js (100%) rename {src => desktop/src}/plugins/crash_reporter/package.json (100%) rename {src => desktop/src}/plugins/crash_reporter/yarn.lock (100%) rename {src => desktop/src}/plugins/databases/ButtonNavigation.js (100%) rename {src => desktop/src}/plugins/databases/ClientProtocol.js (100%) rename {src => desktop/src}/plugins/databases/index.js (100%) rename {src => desktop/src}/plugins/databases/package.json (100%) rename {src => desktop/src}/plugins/databases/yarn.lock (100%) rename {src => desktop/src}/plugins/example/index.tsx (100%) rename {src => desktop/src}/plugins/example/package.json (100%) rename {src => desktop/src}/plugins/example/yarn.lock (100%) rename {src => desktop/src}/plugins/fresco/ImagePool.tsx (100%) rename {src => desktop/src}/plugins/fresco/ImagesCacheOverview.tsx (100%) rename {src => desktop/src}/plugins/fresco/ImagesSidebar.tsx (100%) rename {src => desktop/src}/plugins/fresco/MultipleSelect.tsx (100%) rename {src => desktop/src}/plugins/fresco/__tests__/__snapshots__/index.node.tsx.snap (100%) rename {src => desktop/src}/plugins/fresco/__tests__/index.node.tsx (100%) rename {src => desktop/src}/plugins/fresco/api.tsx (100%) rename {src => desktop/src}/plugins/fresco/index.tsx (100%) rename {src => desktop/src}/plugins/fresco/package.json (100%) rename {src => desktop/src}/plugins/fresco/yarn.lock (100%) rename {src => desktop/src}/plugins/kaios-allocations/index.tsx (100%) rename {src => desktop/src}/plugins/kaios-allocations/package.json (100%) rename {src => desktop/src}/plugins/kaios-allocations/patches/firefox-client+0.3.0.patch (100%) rename {src => desktop/src}/plugins/kaios-allocations/types/firefox-client.d.tsx (100%) rename {src => desktop/src}/plugins/kaios-allocations/yarn.lock (100%) rename {src => desktop/src}/plugins/kaios-ram/index.tsx (100%) rename {src => desktop/src}/plugins/kaios-ram/package.json (100%) rename {src => desktop/src}/plugins/kaios-ram/yarn.lock (100%) rename {src => desktop/src}/plugins/layout/Inspector.tsx (100%) rename {src => desktop/src}/plugins/layout/InspectorSidebar.tsx (100%) rename {src => desktop/src}/plugins/layout/ProxyArchiveClient.tsx (100%) rename {src => desktop/src}/plugins/layout/Search.tsx (100%) rename {src => desktop/src}/plugins/layout/ToolbarIcon.tsx (100%) rename {src => desktop/src}/plugins/layout/__tests__/ProxyArchiveClient.node.tsx (100%) rename {src => desktop/src}/plugins/layout/index.tsx (100%) rename {src => desktop/src}/plugins/layout/package.json (100%) rename {src => desktop/src}/plugins/layout/yarn.lock (100%) rename {src => desktop/src}/plugins/leak_canary/index.tsx (100%) rename {src => desktop/src}/plugins/leak_canary/package.json (100%) rename {src => desktop/src}/plugins/leak_canary/processLeakString.tsx (100%) rename {src => desktop/src}/plugins/leak_canary/yarn.lock (100%) rename {src => desktop/src}/plugins/logs/LogWatcher.tsx (100%) rename {src => desktop/src}/plugins/logs/__tests__/index.node.js (100%) rename {src => desktop/src}/plugins/logs/index.tsx (100%) rename {src => desktop/src}/plugins/logs/package.json (100%) rename {src => desktop/src}/plugins/logs/yarn.lock (100%) rename {src => desktop/src}/plugins/navigation/__tests__/testAutoCompleteSearch.node.tsx (100%) rename {src => desktop/src}/plugins/navigation/__tests__/testURI.node.tsx (100%) rename {src => desktop/src}/plugins/navigation/components/AutoCompleteSheet.tsx (100%) rename {src => desktop/src}/plugins/navigation/components/BookmarksSidebar.tsx (100%) rename {src => desktop/src}/plugins/navigation/components/FavoriteButton.tsx (100%) rename {src => desktop/src}/plugins/navigation/components/IconButton.tsx (100%) rename {src => desktop/src}/plugins/navigation/components/NavigationInfoBox.tsx (100%) rename {src => desktop/src}/plugins/navigation/components/RequiredParametersDialog.tsx (100%) rename {src => desktop/src}/plugins/navigation/components/SaveBookmarkDialog.tsx (100%) rename {src => desktop/src}/plugins/navigation/components/SearchBar.tsx (100%) rename {src => desktop/src}/plugins/navigation/components/Timeline.tsx (100%) rename {src => desktop/src}/plugins/navigation/components/index.tsx (100%) rename {src => desktop/src}/plugins/navigation/hooks/autoCompleteSheet.tsx (100%) rename {src => desktop/src}/plugins/navigation/hooks/requiredParameters.tsx (100%) rename {src => desktop/src}/plugins/navigation/index.tsx (100%) rename {src => desktop/src}/plugins/navigation/package.json (100%) rename {src => desktop/src}/plugins/navigation/types.tsx (100%) rename {src => desktop/src}/plugins/navigation/util/appMatchPatterns.tsx (100%) rename {src => desktop/src}/plugins/navigation/util/autoCompleteProvider.tsx (100%) rename {src => desktop/src}/plugins/navigation/util/indexedDB.tsx (100%) rename {src => desktop/src}/plugins/navigation/util/uri.tsx (100%) rename {src => desktop/src}/plugins/navigation/yarn.lock (100%) rename {src => desktop/src}/plugins/network/RequestDetails.tsx (100%) rename {src => desktop/src}/plugins/network/__tests__/requestToCurlCommand.node.tsx (100%) rename {src => desktop/src}/plugins/network/index.tsx (100%) rename {src => desktop/src}/plugins/network/package.json (100%) rename {src => desktop/src}/plugins/network/types.tsx (100%) rename {src => desktop/src}/plugins/network/utils.tsx (100%) rename {src => desktop/src}/plugins/network/yarn.lock (100%) rename {src => desktop/src}/plugins/reactdevtools/get-port.d.tsx (100%) rename {src => desktop/src}/plugins/reactdevtools/index.tsx (100%) rename {src => desktop/src}/plugins/reactdevtools/package.json (100%) rename {src => desktop/src}/plugins/reactdevtools/react-devtools-core.d.tsx (100%) rename {src => desktop/src}/plugins/reactdevtools/yarn.lock (100%) rename {src => desktop/src}/plugins/rn-tic-tac-toe/index.tsx (100%) rename {src => desktop/src}/plugins/rn-tic-tac-toe/package.json (100%) rename {src => desktop/src}/plugins/rn-tic-tac-toe/yarn.lock (100%) rename {src => desktop/src}/plugins/sandbox/index.tsx (100%) rename {src => desktop/src}/plugins/sandbox/package.json (100%) rename {src => desktop/src}/plugins/sandbox/yarn.lock (100%) rename {src => desktop/src}/plugins/seamammals/index.tsx (100%) rename {src => desktop/src}/plugins/seamammals/package.json (100%) rename {src => desktop/src}/plugins/seamammals/yarn.lock (100%) rename {src => desktop/src}/plugins/sections/DetailsPanel.js (100%) rename {src => desktop/src}/plugins/sections/EventsTable.js (100%) rename {src => desktop/src}/plugins/sections/Models.js (100%) rename {src => desktop/src}/plugins/sections/StackTrace.js (100%) rename {src => desktop/src}/plugins/sections/Tree.js (100%) rename {src => desktop/src}/plugins/sections/d3/LICENSE (100%) rename {src => desktop/src}/plugins/sections/d3/d3.js (100%) rename {src => desktop/src}/plugins/sections/d3/package.json (100%) rename {src => desktop/src}/plugins/sections/index.js (100%) rename {src => desktop/src}/plugins/sections/package.json (100%) rename {src => desktop/src}/plugins/sections/yarn.lock (100%) rename {src => desktop/src}/plugins/shared_preferences/index.js (100%) rename {src => desktop/src}/plugins/shared_preferences/package.json (100%) rename {src => desktop/src}/plugins/shared_preferences/yarn.lock (100%) rename {src => desktop/src}/reducers/__tests__/__snapshots__/healthchecks.node.tsx.snap (100%) rename {src => desktop/src}/reducers/__tests__/applications.electron.tsx (100%) rename {src => desktop/src}/reducers/__tests__/connections.node.tsx (100%) rename {src => desktop/src}/reducers/__tests__/healthchecks.node.tsx (100%) rename {src => desktop/src}/reducers/__tests__/notifications.node.tsx (100%) rename {src => desktop/src}/reducers/__tests__/pluginManager.node.tsx (100%) rename {src => desktop/src}/reducers/__tests__/pluginStates.node.tsx (100%) rename {src => desktop/src}/reducers/__tests__/plugins.node.tsx (100%) rename {src => desktop/src}/reducers/__tests__/settings.node.tsx (100%) rename {src => desktop/src}/reducers/__tests__/user.node.tsx (100%) rename {src => desktop/src}/reducers/application.tsx (100%) rename {src => desktop/src}/reducers/connections.tsx (100%) rename {src => desktop/src}/reducers/healthchecks.tsx (100%) rename {src => desktop/src}/reducers/index.tsx (100%) rename {src => desktop/src}/reducers/launcherSettings.tsx (100%) rename {src => desktop/src}/reducers/notifications.tsx (100%) rename {src => desktop/src}/reducers/pluginManager.tsx (100%) rename {src => desktop/src}/reducers/pluginMessageQueue.tsx (100%) rename {src => desktop/src}/reducers/pluginStates.tsx (100%) rename {src => desktop/src}/reducers/plugins.tsx (100%) rename {src => desktop/src}/reducers/settings.tsx (100%) rename {src => desktop/src}/reducers/supportForm.tsx (100%) rename {src => desktop/src}/reducers/usageTracking.tsx (100%) rename {src => desktop/src}/reducers/user.tsx (100%) rename {src => desktop/src}/server.tsx (100%) rename {src => desktop/src}/store.tsx (100%) rename {src => desktop/src}/test-utils/createMockFlipperWithPlugin.tsx (100%) rename {src => desktop/src}/ui/components/AlternatingRows.tsx (100%) rename {src => desktop/src}/ui/components/Block.tsx (100%) rename {src => desktop/src}/ui/components/Bordered.tsx (100%) rename {src => desktop/src}/ui/components/Box.tsx (100%) rename {src => desktop/src}/ui/components/Button.tsx (100%) rename {src => desktop/src}/ui/components/ButtonGroup.tsx (100%) rename {src => desktop/src}/ui/components/ButtonGroupChain.tsx (100%) rename {src => desktop/src}/ui/components/ButtonNavigationGroup.tsx (100%) rename {src => desktop/src}/ui/components/CenteredView.tsx (100%) rename {src => desktop/src}/ui/components/Checkbox.tsx (100%) rename {src => desktop/src}/ui/components/CodeBlock.tsx (100%) rename {src => desktop/src}/ui/components/ContextMenu.tsx (100%) rename {src => desktop/src}/ui/components/ContextMenuProvider.tsx (100%) rename {src => desktop/src}/ui/components/ErrorBlock.tsx (100%) rename {src => desktop/src}/ui/components/ErrorBoundary.tsx (100%) rename {src => desktop/src}/ui/components/File.tsx (100%) rename {src => desktop/src}/ui/components/FileList.tsx (100%) rename {src => desktop/src}/ui/components/FileSelector.tsx (100%) rename {src => desktop/src}/ui/components/FlexBox.tsx (100%) rename {src => desktop/src}/ui/components/FlexCenter.tsx (100%) rename {src => desktop/src}/ui/components/FlexColumn.tsx (100%) rename {src => desktop/src}/ui/components/FlexRow.tsx (100%) rename {src => desktop/src}/ui/components/FocusableBox.tsx (100%) rename {src => desktop/src}/ui/components/Glyph.tsx (100%) rename {src => desktop/src}/ui/components/HBox.tsx (100%) rename {src => desktop/src}/ui/components/Heading.tsx (100%) rename {src => desktop/src}/ui/components/HorizontalRule.tsx (100%) rename {src => desktop/src}/ui/components/Info.tsx (100%) rename {src => desktop/src}/ui/components/Input.tsx (100%) rename {src => desktop/src}/ui/components/Interactive.tsx (100%) rename {src => desktop/src}/ui/components/Label.tsx (100%) rename {src => desktop/src}/ui/components/Labeled.tsx (100%) rename {src => desktop/src}/ui/components/Link.tsx (100%) rename {src => desktop/src}/ui/components/LoadingIndicator.tsx (100%) rename {src => desktop/src}/ui/components/Markdown.tsx (100%) rename {src => desktop/src}/ui/components/MarkerTimeline.tsx (100%) rename {src => desktop/src}/ui/components/ModalOverlay.tsx (100%) rename {src => desktop/src}/ui/components/MultiLineInput.tsx (100%) rename {src => desktop/src}/ui/components/Orderable.tsx (100%) rename {src => desktop/src}/ui/components/Panel.tsx (100%) rename {src => desktop/src}/ui/components/PathBreadcrumbs.tsx (100%) rename {src => desktop/src}/ui/components/Popover.tsx (100%) rename {src => desktop/src}/ui/components/Radio.tsx (100%) rename {src => desktop/src}/ui/components/ResizeSensor.tsx (100%) rename {src => desktop/src}/ui/components/RoundedSection.tsx (100%) rename {src => desktop/src}/ui/components/Select.tsx (100%) rename {src => desktop/src}/ui/components/Sheet.tsx (100%) rename {src => desktop/src}/ui/components/Sidebar.tsx (100%) rename {src => desktop/src}/ui/components/SidebarLabel.tsx (100%) rename {src => desktop/src}/ui/components/SmallText.tsx (100%) rename {src => desktop/src}/ui/components/StackTrace.tsx (100%) rename {src => desktop/src}/ui/components/StarButton.tsx (100%) rename {src => desktop/src}/ui/components/StatusIndicator.tsx (100%) rename {src => desktop/src}/ui/components/Tab.tsx (100%) rename {src => desktop/src}/ui/components/Tabs.tsx (100%) rename {src => desktop/src}/ui/components/TabsContainer.tsx (100%) rename {src => desktop/src}/ui/components/Text.tsx (100%) rename {src => desktop/src}/ui/components/TextParagraph.tsx (100%) rename {src => desktop/src}/ui/components/Textarea.tsx (100%) rename {src => desktop/src}/ui/components/ToggleSwitch.tsx (100%) rename {src => desktop/src}/ui/components/Toolbar.tsx (100%) rename {src => desktop/src}/ui/components/Tooltip.tsx (100%) rename {src => desktop/src}/ui/components/TooltipProvider.tsx (100%) rename {src => desktop/src}/ui/components/VBox.tsx (100%) rename {src => desktop/src}/ui/components/VerticalRule.tsx (100%) rename {src => desktop/src}/ui/components/View.tsx (100%) rename {src => desktop/src}/ui/components/ViewWithSize.tsx (100%) rename {src => desktop/src}/ui/components/VirtualList.tsx (100%) rename {src => desktop/src}/ui/components/__tests__/MarkerTimeline.electron.tsx (100%) rename {src => desktop/src}/ui/components/__tests__/__snapshots__/MarkerTimeline.electron.tsx.snap (100%) rename {src => desktop/src}/ui/components/colors.tsx (100%) rename {src => desktop/src}/ui/components/console.tsx (100%) rename {src => desktop/src}/ui/components/data-inspector/DataDescription.tsx (100%) rename {src => desktop/src}/ui/components/data-inspector/DataInspector.tsx (100%) rename {src => desktop/src}/ui/components/data-inspector/DataPreview.tsx (100%) rename {src => desktop/src}/ui/components/data-inspector/ManagedDataInspector.tsx (100%) rename {src => desktop/src}/ui/components/data-inspector/utils.tsx (100%) rename {src => desktop/src}/ui/components/desktop-toolbar.tsx (100%) rename {src => desktop/src}/ui/components/elements-inspector/ElementsInspector.tsx (100%) rename {src => desktop/src}/ui/components/elements-inspector/Visualizer.tsx (100%) rename {src => desktop/src}/ui/components/elements-inspector/elements.tsx (100%) rename {src => desktop/src}/ui/components/elements-inspector/sidebar.tsx (100%) rename {src => desktop/src}/ui/components/filter/FilterRow.tsx (100%) rename {src => desktop/src}/ui/components/filter/types.tsx (100%) rename {src => desktop/src}/ui/components/searchable/FilterToken.tsx (100%) rename {src => desktop/src}/ui/components/searchable/Searchable.tsx (100%) rename {src => desktop/src}/ui/components/searchable/SearchableTable.tsx (100%) rename {src => desktop/src}/ui/components/searchable/SearchableTable_immutable.tsx (100%) rename {src => desktop/src}/ui/components/table/ManagedTable.tsx (100%) rename {src => desktop/src}/ui/components/table/ManagedTable_immutable.tsx (100%) rename {src => desktop/src}/ui/components/table/TableHead.tsx (100%) rename {src => desktop/src}/ui/components/table/TableRow.tsx (100%) rename {src => desktop/src}/ui/components/table/TypeBasedValueRenderer.tsx (100%) rename {src => desktop/src}/ui/components/table/types.tsx (100%) rename {src => desktop/src}/ui/components/table/utils.tsx (100%) rename {src => desktop/src}/ui/index.tsx (100%) rename {src => desktop/src}/utils/CertificateProvider.tsx (100%) rename {src => desktop/src}/utils/Idler.tsx (100%) rename {src => desktop/src}/utils/InteractionTracker.tsx (100%) rename {src => desktop/src}/utils/LowPassFilter.tsx (100%) rename {src => desktop/src}/utils/StubLogger.tsx (100%) rename {src => desktop/src}/utils/__mocks__/argvUtils.js (100%) rename {src => desktop/src}/utils/__tests__/Idler.node.js (100%) rename {src => desktop/src}/utils/__tests__/adbConfig.node.js (100%) rename {src => desktop/src}/utils/__tests__/clientUtils.node.tsx (100%) rename {src => desktop/src}/utils/__tests__/crashReporterUtility.node.js (100%) rename {src => desktop/src}/utils/__tests__/data/settings-v1-valid.json (100%) rename {src => desktop/src}/utils/__tests__/environmentVariables.node.js (100%) rename {src => desktop/src}/utils/__tests__/exportData.electron.tsx (100%) rename {src => desktop/src}/utils/__tests__/icons.node.ts (100%) rename {src => desktop/src}/utils/__tests__/jsonFileStorage.node.js (100%) rename {src => desktop/src}/utils/__tests__/messageQueue.node.tsx (100%) rename {src => desktop/src}/utils/__tests__/packageMetadata.node.js (100%) rename {src => desktop/src}/utils/__tests__/pluginUtils.node.js (100%) rename {src => desktop/src}/utils/__tests__/processConfig.node.js (100%) rename {src => desktop/src}/utils/__tests__/promiseTimeout.node.js (100%) rename {src => desktop/src}/utils/__tests__/serialization.node.js (100%) rename {src => desktop/src}/utils/adbClient.tsx (100%) rename {src => desktop/src}/utils/adbConfig.tsx (100%) rename {src => desktop/src}/utils/androidContainerUtility.tsx (100%) rename {src => desktop/src}/utils/androidContainerUtilityInternal.tsx (100%) rename {src => desktop/src}/utils/argvUtils.tsx (100%) rename {src => desktop/src}/utils/clientUtils.tsx (100%) rename {src => desktop/src}/utils/crashReporterUtility.tsx (100%) rename {src => desktop/src}/utils/electronCrashReporter.tsx (100%) rename {src => desktop/src}/utils/environmentVariables.tsx (100%) rename {src => desktop/src}/utils/errors.tsx (100%) rename {src => desktop/src}/utils/exportData.tsx (100%) rename {src => desktop/src}/utils/exportMetrics.tsx (100%) rename {src => desktop/src}/utils/fbEmployee.tsx (100%) rename {src => desktop/src}/utils/geometry.tsx (100%) rename {src => desktop/src}/utils/icons.d.ts (100%) rename {src => desktop/src}/utils/icons.ts (100%) rename {src => desktop/src}/utils/index.tsx (100%) rename {src => desktop/src}/utils/info.tsx (100%) rename {src => desktop/src}/utils/isHeadless.tsx (100%) rename {src => desktop/src}/utils/isProduction.tsx (100%) rename {src => desktop/src}/utils/js-client/api.js (100%) rename {src => desktop/src}/utils/js-client/example.js (100%) rename {src => desktop/src}/utils/js-client/package.json (100%) rename {src => desktop/src}/utils/js-client/plugins/analyticsLogging.js (100%) rename {src => desktop/src}/utils/js-client/plugins/fury.js (100%) rename {src => desktop/src}/utils/js-client/serverUtils.tsx (100%) rename {src => desktop/src}/utils/js-client/websocketClientFlipperConnection.tsx (100%) rename {src => desktop/src}/utils/js-client/webviewImpl.js (100%) rename {src => desktop/src}/utils/js-client/yarn.lock (100%) rename {src => desktop/src}/utils/jsonFileReduxPersistStorage.tsx (100%) rename {src => desktop/src}/utils/jsonTypes.tsx (100%) rename {src => desktop/src}/utils/launcher.tsx (100%) rename {src => desktop/src}/utils/launcherSettingsStorage.tsx (100%) rename {src => desktop/src}/utils/listDevices.tsx (100%) rename {src => desktop/src}/utils/messageQueue.tsx (100%) rename {src => desktop/src}/utils/metrics.tsx (100%) rename {src => desktop/src}/utils/onRegisterDevice.tsx (100%) rename {src => desktop/src}/utils/openssl-wrapper-with-promises.tsx (100%) rename {src => desktop/src}/utils/packageMetadata.tsx (100%) rename {src => desktop/src}/utils/pathUtils.tsx (100%) rename {src => desktop/src}/utils/persistor.tsx (100%) rename {src => desktop/src}/utils/pluginManager.tsx (100%) rename {src => desktop/src}/utils/pluginStateRecorder.tsx (100%) rename {src => desktop/src}/utils/pluginUtils.tsx (100%) rename {src => desktop/src}/utils/processCleanup.tsx (100%) rename {src => desktop/src}/utils/processConfig.tsx (100%) rename {src => desktop/src}/utils/promiseTimeout.tsx (100%) rename {src => desktop/src}/utils/publicVersionChecker.tsx (100%) rename {src => desktop/src}/utils/reduxDevToolsConfig.tsx (100%) rename {src => desktop/src}/utils/restartFlipper.tsx (100%) rename {src => desktop/src}/utils/runHealthchecks.tsx (100%) rename {src => desktop/src}/utils/screenshot.tsx (100%) rename {src => desktop/src}/utils/serialization.tsx (100%) rename {src => desktop/src}/utils/snap.tsx (100%) rename {src => desktop/src}/utils/supportRequestsFormUtils.tsx (100%) rename {src => desktop/src}/utils/textContent.tsx (100%) rename {src => desktop/src}/utils/typeUtils.tsx (100%) rename {static => desktop/static}/CHANGELOG.md (100%) rename {static => desktop/static}/PortForwardingMacApp.app/Contents/Frameworks/CocoaAsyncSocketMac.framework/CocoaAsyncSocketMac (100%) rename {static => desktop/static}/PortForwardingMacApp.app/Contents/Frameworks/CocoaAsyncSocketMac.framework/Resources/Info.plist (100%) rename {static => desktop/static}/PortForwardingMacApp.app/Contents/Frameworks/CocoaAsyncSocketMac.framework/Versions/A/CocoaAsyncSocketMac (100%) rename {static => desktop/static}/PortForwardingMacApp.app/Contents/Frameworks/CocoaAsyncSocketMac.framework/Versions/A/Resources/Info.plist (100%) rename {static => desktop/static}/PortForwardingMacApp.app/Contents/Frameworks/FBPortForwarding-Mac.framework/FBPortForwarding-Mac (100%) rename {static => desktop/static}/PortForwardingMacApp.app/Contents/Frameworks/FBPortForwarding-Mac.framework/Resources/Info.plist (100%) rename {static => desktop/static}/PortForwardingMacApp.app/Contents/Frameworks/FBPortForwarding-Mac.framework/Versions/A/FBPortForwarding-Mac (100%) rename {static => desktop/static}/PortForwardingMacApp.app/Contents/Frameworks/FBPortForwarding-Mac.framework/Versions/A/Resources/Info.plist (100%) rename {static => desktop/static}/PortForwardingMacApp.app/Contents/Frameworks/peertalkMac.framework/Resources/Info.plist (100%) rename {static => desktop/static}/PortForwardingMacApp.app/Contents/Frameworks/peertalkMac.framework/Versions/A/Resources/Info.plist (100%) rename {static => desktop/static}/PortForwardingMacApp.app/Contents/Frameworks/peertalkMac.framework/Versions/A/peertalkMac (100%) rename {static => desktop/static}/PortForwardingMacApp.app/Contents/Frameworks/peertalkMac.framework/peertalkMac (100%) rename {static => desktop/static}/PortForwardingMacApp.app/Contents/Info.plist (100%) rename {static => desktop/static}/PortForwardingMacApp.app/Contents/MacOS/PortForwardingMacApp (100%) rename {static => desktop/static}/PortForwardingMacApp.app/Contents/PkgInfo (100%) rename {static => desktop/static}/SupportJSClientPreload.js (100%) rename {static => desktop/static}/SupportRequestPreload.js (100%) rename {static => desktop/static}/_watchmanconfig (100%) rename {static => desktop/static}/actions-artifacts.png (100%) rename {static => desktop/static}/anchor.svg (100%) rename {static => desktop/static}/compilePlugins.ts (100%) rename {static => desktop/static}/dmgBackground.png (100%) rename {static => desktop/static}/document-icons/document.icns (100%) rename {static => desktop/static}/document-icons/document.ico (100%) rename {static => desktop/static}/document-icons/document.png (100%) rename {static => desktop/static}/electron-stubs.notjs (100%) rename {static => desktop/static}/globalTestSetup.js (100%) rename {static => desktop/static}/graphiql/graphiql.css (100%) rename {static => desktop/static}/icon.icns (100%) rename {static => desktop/static}/icon.ico (100%) rename {static => desktop/static}/icon.png (100%) rename {static => desktop/static}/icons.json (100%) rename {static => desktop/static}/icons/accessibility.png (100%) rename {static => desktop/static}/icons/android.svg (100%) rename {static => desktop/static}/icons/componentkit-logo.png (100%) rename {static => desktop/static}/icons/ios.svg (100%) rename {static => desktop/static}/icons/litho-logo.png (100%) rename {static => desktop/static}/icons/sidebar_bottom.svg (100%) rename {static => desktop/static}/icons/sidebar_left.svg (100%) rename {static => desktop/static}/icons/sidebar_right.svg (100%) rename {static => desktop/static}/index.dev.html (100%) rename {static => desktop/static}/index.html (100%) rename {static => desktop/static}/index.js (100%) rename {static => desktop/static}/launcher.ts (100%) rename {static => desktop/static}/main.ts (100%) rename {static => desktop/static}/native-modules/keytar-darwin.node (100%) rename {static => desktop/static}/native-modules/keytar-linux.node (100%) rename {static => desktop/static}/native-modules/keytar-win32.node (100%) rename {static => desktop/static}/package.json (100%) rename {static => desktop/static}/pattern.gif (100%) rename {static => desktop/static}/setup.ts (100%) rename {static => desktop/static}/style.css (100%) rename {static => desktop/static}/transforms/__tests__/electron-process.node.js (100%) rename {static => desktop/static}/transforms/__tests__/electron-stubs.node.js (100%) rename {static => desktop/static}/transforms/__tests__/flipper-requires.node.js (100%) rename {static => desktop/static}/transforms/dynamic-requires.js (100%) rename {static => desktop/static}/transforms/electron-process.js (100%) rename {static => desktop/static}/transforms/electron-requires-main.js (100%) rename {static => desktop/static}/transforms/electron-requires.js (100%) rename {static => desktop/static}/transforms/electron-stubs.js (100%) rename {static => desktop/static}/transforms/fb-stubs.js (100%) rename {static => desktop/static}/transforms/flipper-requires.js (100%) rename {static => desktop/static}/transforms/import-react.js (100%) rename {static => desktop/static}/transforms/index.js (100%) rename {static => desktop/static}/uiperf/screenshot.png (100%) rename {static => desktop/static}/vis/vis.min.css (100%) rename {static => desktop/static}/watchman.ts (100%) rename {static => desktop/static}/yarn.lock (100%) rename tsconfig.json => desktop/tsconfig.json (100%) rename {types => desktop/types}/JSONStream.d.tsx (100%) rename {types => desktop/types}/ReactDebounceRender.d.tsx (100%) rename {types => desktop/types}/ResizeObserver.d.tsx (100%) rename {types => desktop/types}/XmlBeautifier.d.tsx (100%) rename {types => desktop/types}/adbkit-logcat.d.tsx (100%) rename {types => desktop/types}/adbkit.d.tsx (100%) rename {types => desktop/types}/ansi-to-html.d.ts (100%) rename {types => desktop/types}/decompress-targz.d.tsx (100%) rename {types => desktop/types}/decompress-unzip.d.tsx (100%) rename {types => desktop/types}/download-tarball.d.tsx (100%) rename {types => desktop/types}/globals.tsx (100%) rename {types => desktop/types}/line-replace.d.ts (100%) rename {types => desktop/types}/live-plugin-manager.d.tsx (100%) rename {types => desktop/types}/nodejs.tsx (100%) rename {types => desktop/types}/npm-api.d.ts (100%) rename {types => desktop/types}/openssl-wrapper.d.tsx (100%) rename {types => desktop/types}/string-natural-compare.d.tsx (100%) rename yarn.lock => desktop/yarn.lock (100%) delete mode 100755 scripts/eslint.sh delete mode 100755 scripts/flow.sh diff --git a/.eslintignore b/.eslintignore index 28b3ea114..4252183a9 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,11 +1,5 @@ *.d.ts -*.bundle.js -src/fb/plugins/relaydevtools/relay-devtools/* -latest -resources -templates node_modules -flow-typed lib !.eslintrc.js dist diff --git a/.flowconfig b/.flowconfig index 2aa67564d..712d40eb8 100644 --- a/.flowconfig +++ b/.flowconfig @@ -5,16 +5,16 @@ .*/pkg/.* .*/dist/.* .*/static/.* -/src/fb/plugins/relaydevtools/relay-devtools/DevtoolsUI.js$ +/desktop/src/fb/plugins/relaydevtools/relay-devtools/DevtoolsUI.js$ .*/website/.* -/src/plugins/sections/d3/d3.js$ +/desktop/src/plugins/sections/d3/d3.js$ .*\.tsx .*/node_modules/.* -/doctor/.* +/desktop/doctor/.* /react-native/ReactNativeFlipperExample/.* [libs] -flow-typed +desktop/flow-typed [options] esproposal.export_star_as=enable diff --git a/.github/workflows/nodejs-doctor.yml b/.github/workflows/nodejs-doctor.yml index 73d6a1a4f..a68bb7b92 100644 --- a/.github/workflows/nodejs-doctor.yml +++ b/.github/workflows/nodejs-doctor.yml @@ -7,17 +7,20 @@ jobs: runs-on: 'ubuntu-latest' + env: + doctor-directory: ./desktop/doctor + steps: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 with: node-version: '12.x' - name: install - working-directory: doctor + working-directory: ${{env.doctor-directory}} run: yarn - name: test - working-directory: doctor + working-directory: ${{env.doctor-directory}} run: yarn test - name: run - working-directory: doctor + working-directory: ${{env.doctor-directory}} run: yarn run run diff --git a/.github/workflows/nodejs-pkg.yml b/.github/workflows/nodejs-pkg.yml index 0eca8bab4..f24ead2b3 100644 --- a/.github/workflows/nodejs-pkg.yml +++ b/.github/workflows/nodejs-pkg.yml @@ -7,17 +7,20 @@ jobs: runs-on: ubuntu-latest + env: + pkg-directory: ./desktop/pkg + steps: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 with: node-version: '12.x' - name: install - working-directory: pkg + working-directory: ${{env.pkg-directory}} run: yarn - name: test - working-directory: pkg + working-directory: ${{env.pkg-directory}} run: yarn test - name: run - working-directory: pkg + working-directory: ${{env.pkg-directory}} run: bin/run diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 114256db8..9c7d03648 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -7,6 +7,9 @@ jobs: runs-on: ${{ matrix.os }} + env: + desktop-directory: ./desktop + strategy: matrix: node-version: [12.x] @@ -20,19 +23,25 @@ jobs: node-version: ${{ matrix.node-version }} - name: yarn install run: yarn + working-directory: ${{env.desktop-directory}} - name: lint run: yarn lint + working-directory: ${{env.desktop-directory}} - name: test run: yarn test + working-directory: ${{env.desktop-directory}} - name: build linux if: matrix.os == 'ubuntu-latest' run: yarn build --linux + working-directory: ${{env.desktop-directory}} - name: build macos if: matrix.os == 'macos-latest' run: yarn build --mac --mac-dmg + working-directory: ${{env.desktop-directory}} - name: build windows if: matrix.os == 'windows-latest' run: yarn build --win + working-directory: ${{env.desktop-directory}} - name: upload linux artifact uses: actions/upload-artifact@v1 if: matrix.os == 'ubuntu-latest' diff --git a/.gitignore b/.gitignore index ba3865dce..690ea7b2b 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,10 @@ node_modules dist website/build yarn-error.log -static/main.bundle.* +bundle.js +bundle.map +*.bundle.js +*.bundle.map # conflicts with FB internal infra .watchmanconfig diff --git a/.travis.yml b/.travis.yml index df5371e27..2e558c4cc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,9 +33,10 @@ matrix: - "11" install: + - cd desktop - yarn - script: + script: - yarn lint - yarn test - yarn build --linux --version=$TRAVIS_BUILD_NUMBER diff --git a/README.md b/README.md index 47df05320..78cbe8025 100644 --- a/README.md +++ b/README.md @@ -38,14 +38,14 @@ Both Flipper's desktop app and native mobile SDKs are open-source and MIT licens This repository includes all parts of Flipper. This includes: -* Flipper's desktop app built using [Electron](https://electronjs.org) (`/src`) +* Flipper's desktop app built using [Electron](https://electronjs.org) (`/desktop`) * native Flipper SDKs for iOS (`/iOS`) * native Flipper SDKs for Android (`/android`) * Plugins: - * Logs (`/src/device-plugins/logs`) - * Layout inspector (`/src/plugins/layout`) - * Network inspector (`/src/plugins/network`) - * Shared Preferences/NSUserDefaults inspector (`/src/plugins/shared_preferences`) + * Logs (`/desktop/src/device-plugins/logs`) + * Layout inspector (`/desktop/src/plugins/layout`) + * Network inspector (`/desktop/src/plugins/network`) + * Shared Preferences/NSUserDefaults inspector (`/desktop/src/plugins/shared_preferences`) * website and documentation (`/website` / `/docs`) # Getting started diff --git a/desktop/.eslintignore b/desktop/.eslintignore new file mode 100644 index 000000000..28b3ea114 --- /dev/null +++ b/desktop/.eslintignore @@ -0,0 +1,14 @@ +*.d.ts +*.bundle.js +src/fb/plugins/relaydevtools/relay-devtools/* +latest +resources +templates +node_modules +flow-typed +lib +!.eslintrc.js +dist +website/build +react-native/ReactNativeFlipperExample +scripts/generate-changelog.js diff --git a/.eslintrc.js b/desktop/.eslintrc.js similarity index 100% rename from .eslintrc.js rename to desktop/.eslintrc.js diff --git a/.npmignore b/desktop/.npmignore similarity index 100% rename from .npmignore rename to desktop/.npmignore diff --git a/.vscode/launch.json b/desktop/.vscode/launch.json similarity index 96% rename from .vscode/launch.json rename to desktop/.vscode/launch.json index 581840e25..6d11fcd05 100644 --- a/.vscode/launch.json +++ b/desktop/.vscode/launch.json @@ -36,8 +36,7 @@ "runtimeArgs": [ "--require", "ts-node/register" - ], - "cwd": "${workspaceFolder}" + ] } ], "compounds": [ diff --git a/.yarnrc b/desktop/.yarnrc similarity index 100% rename from .yarnrc rename to desktop/.yarnrc diff --git a/__mocks__/electron.tsx b/desktop/__mocks__/electron.tsx similarity index 100% rename from __mocks__/electron.tsx rename to desktop/__mocks__/electron.tsx diff --git a/doctor/.gitignore b/desktop/doctor/.gitignore similarity index 100% rename from doctor/.gitignore rename to desktop/doctor/.gitignore diff --git a/doctor/.ignore b/desktop/doctor/.ignore similarity index 100% rename from doctor/.ignore rename to desktop/doctor/.ignore diff --git a/doctor/README.md b/desktop/doctor/README.md similarity index 100% rename from doctor/README.md rename to desktop/doctor/README.md diff --git a/doctor/jestconfig.json b/desktop/doctor/jestconfig.json similarity index 100% rename from doctor/jestconfig.json rename to desktop/doctor/jestconfig.json diff --git a/doctor/package.json b/desktop/doctor/package.json similarity index 100% rename from doctor/package.json rename to desktop/doctor/package.json diff --git a/doctor/src/cli.ts b/desktop/doctor/src/cli.ts similarity index 100% rename from doctor/src/cli.ts rename to desktop/doctor/src/cli.ts diff --git a/doctor/src/environmentInfo.ts b/desktop/doctor/src/environmentInfo.ts similarity index 100% rename from doctor/src/environmentInfo.ts rename to desktop/doctor/src/environmentInfo.ts diff --git a/doctor/src/globals.d.ts b/desktop/doctor/src/globals.d.ts similarity index 100% rename from doctor/src/globals.d.ts rename to desktop/doctor/src/globals.d.ts diff --git a/doctor/src/index.ts b/desktop/doctor/src/index.ts similarity index 100% rename from doctor/src/index.ts rename to desktop/doctor/src/index.ts diff --git a/doctor/tsconfig.json b/desktop/doctor/tsconfig.json similarity index 100% rename from doctor/tsconfig.json rename to desktop/doctor/tsconfig.json diff --git a/doctor/tslint.json b/desktop/doctor/tslint.json similarity index 100% rename from doctor/tslint.json rename to desktop/doctor/tslint.json diff --git a/doctor/yarn.lock b/desktop/doctor/yarn.lock similarity index 100% rename from doctor/yarn.lock rename to desktop/doctor/yarn.lock diff --git a/flow-typed/TsStub.js b/desktop/flow-typed/TsStub.js similarity index 100% rename from flow-typed/TsStub.js rename to desktop/flow-typed/TsStub.js diff --git a/flow-typed/flipper.js b/desktop/flow-typed/flipper.js similarity index 100% rename from flow-typed/flipper.js rename to desktop/flow-typed/flipper.js diff --git a/flow-typed/npm/adbkit-fb_vx.x.x.js b/desktop/flow-typed/npm/adbkit-fb_vx.x.x.js similarity index 100% rename from flow-typed/npm/adbkit-fb_vx.x.x.js rename to desktop/flow-typed/npm/adbkit-fb_vx.x.x.js diff --git a/flow-typed/npm/dateformat_vx.x.x.js b/desktop/flow-typed/npm/dateformat_vx.x.x.js similarity index 100% rename from flow-typed/npm/dateformat_vx.x.x.js rename to desktop/flow-typed/npm/dateformat_vx.x.x.js diff --git a/flow-typed/npm/electron-v5.0.2.js b/desktop/flow-typed/npm/electron-v5.0.2.js similarity index 100% rename from flow-typed/npm/electron-v5.0.2.js rename to desktop/flow-typed/npm/electron-v5.0.2.js diff --git a/flow-typed/npm/electron-v8.0.1.js b/desktop/flow-typed/npm/electron-v8.0.1.js similarity index 100% rename from flow-typed/npm/electron-v8.0.1.js rename to desktop/flow-typed/npm/electron-v8.0.1.js diff --git a/flow-typed/npm/google-palette_vx.x.x.js b/desktop/flow-typed/npm/google-palette_vx.x.x.js similarity index 100% rename from flow-typed/npm/google-palette_vx.x.x.js rename to desktop/flow-typed/npm/google-palette_vx.x.x.js diff --git a/flow-typed/npm/graphql_vx.x.x.js b/desktop/flow-typed/npm/graphql_vx.x.x.js similarity index 100% rename from flow-typed/npm/graphql_vx.x.x.js rename to desktop/flow-typed/npm/graphql_vx.x.x.js diff --git a/flow-typed/npm/immutable_v4.x.x.js b/desktop/flow-typed/npm/immutable_v4.x.x.js similarity index 100% rename from flow-typed/npm/immutable_v4.x.x.js rename to desktop/flow-typed/npm/immutable_v4.x.x.js diff --git a/flow-typed/npm/jest_v24.x.x.js b/desktop/flow-typed/npm/jest_v24.x.x.js similarity index 100% rename from flow-typed/npm/jest_v24.x.x.js rename to desktop/flow-typed/npm/jest_v24.x.x.js diff --git a/flow-typed/npm/lodash.debounce_vx.x.x.js b/desktop/flow-typed/npm/lodash.debounce_vx.x.x.js similarity index 100% rename from flow-typed/npm/lodash.debounce_vx.x.x.js rename to desktop/flow-typed/npm/lodash.debounce_vx.x.x.js diff --git a/flow-typed/npm/lodash.memoize_vx.x.x.js b/desktop/flow-typed/npm/lodash.memoize_vx.x.x.js similarity index 100% rename from flow-typed/npm/lodash.memoize_vx.x.x.js rename to desktop/flow-typed/npm/lodash.memoize_vx.x.x.js diff --git a/flow-typed/npm/lodash_v4.x.x.js b/desktop/flow-typed/npm/lodash_v4.x.x.js similarity index 100% rename from flow-typed/npm/lodash_v4.x.x.js rename to desktop/flow-typed/npm/lodash_v4.x.x.js diff --git a/flow-typed/npm/needle_vx.x.x.js b/desktop/flow-typed/npm/needle_vx.x.x.js similarity index 100% rename from flow-typed/npm/needle_vx.x.x.js rename to desktop/flow-typed/npm/needle_vx.x.x.js diff --git a/flow-typed/npm/react-chartjs-2_vx.x.x.js b/desktop/flow-typed/npm/react-chartjs-2_vx.x.x.js similarity index 100% rename from flow-typed/npm/react-chartjs-2_vx.x.x.js rename to desktop/flow-typed/npm/react-chartjs-2_vx.x.x.js diff --git a/flow-typed/npm/react-d3-tree_vx.x.x.js b/desktop/flow-typed/npm/react-d3-tree_vx.x.x.js similarity index 100% rename from flow-typed/npm/react-d3-tree_vx.x.x.js rename to desktop/flow-typed/npm/react-d3-tree_vx.x.x.js diff --git a/flow-typed/npm/react-stepper-horizontal_vx.x.x.js b/desktop/flow-typed/npm/react-stepper-horizontal_vx.x.x.js similarity index 100% rename from flow-typed/npm/react-stepper-horizontal_vx.x.x.js rename to desktop/flow-typed/npm/react-stepper-horizontal_vx.x.x.js diff --git a/flow-typed/npm/react-virtualized_vx.x.x.js b/desktop/flow-typed/npm/react-virtualized_vx.x.x.js similarity index 100% rename from flow-typed/npm/react-virtualized_vx.x.x.js rename to desktop/flow-typed/npm/react-virtualized_vx.x.x.js diff --git a/flow-typed/npm/redux-mock-store_vx.x.x.js b/desktop/flow-typed/npm/redux-mock-store_vx.x.x.js similarity index 100% rename from flow-typed/npm/redux-mock-store_vx.x.x.js rename to desktop/flow-typed/npm/redux-mock-store_vx.x.x.js diff --git a/flow-typed/npm/sql-formatter_vx.x.x.js b/desktop/flow-typed/npm/sql-formatter_vx.x.x.js similarity index 100% rename from flow-typed/npm/sql-formatter_vx.x.x.js rename to desktop/flow-typed/npm/sql-formatter_vx.x.x.js diff --git a/flow-typed/npm/unicode-substring.js b/desktop/flow-typed/npm/unicode-substring.js similarity index 100% rename from flow-typed/npm/unicode-substring.js rename to desktop/flow-typed/npm/unicode-substring.js diff --git a/flow-typed/react.js b/desktop/flow-typed/react.js similarity index 100% rename from flow-typed/react.js rename to desktop/flow-typed/react.js diff --git a/headless-tests/.babelrc b/desktop/headless-tests/.babelrc similarity index 100% rename from headless-tests/.babelrc rename to desktop/headless-tests/.babelrc diff --git a/headless-tests/__tests__/__snapshots__/headlessIntegrationTests.js.snap b/desktop/headless-tests/__tests__/__snapshots__/headlessIntegrationTests.js.snap similarity index 100% rename from headless-tests/__tests__/__snapshots__/headlessIntegrationTests.js.snap rename to desktop/headless-tests/__tests__/__snapshots__/headlessIntegrationTests.js.snap diff --git a/headless-tests/__tests__/headlessIntegrationTests.js b/desktop/headless-tests/__tests__/headlessIntegrationTests.js similarity index 100% rename from headless-tests/__tests__/headlessIntegrationTests.js rename to desktop/headless-tests/__tests__/headlessIntegrationTests.js diff --git a/headless-tests/package.json b/desktop/headless-tests/package.json similarity index 100% rename from headless-tests/package.json rename to desktop/headless-tests/package.json diff --git a/headless-tests/yarn.lock b/desktop/headless-tests/yarn.lock similarity index 100% rename from headless-tests/yarn.lock rename to desktop/headless-tests/yarn.lock diff --git a/headless/index.tsx b/desktop/headless/index.tsx similarity index 100% rename from headless/index.tsx rename to desktop/headless/index.tsx diff --git a/package.json b/desktop/package.json similarity index 100% rename from package.json rename to desktop/package.json diff --git a/patches/adbkit+2.11.1.patch b/desktop/patches/adbkit+2.11.1.patch similarity index 100% rename from patches/adbkit+2.11.1.patch rename to desktop/patches/adbkit+2.11.1.patch diff --git a/patches/adbkit-logcat+2.0.1.patch b/desktop/patches/adbkit-logcat+2.0.1.patch similarity index 100% rename from patches/adbkit-logcat+2.0.1.patch rename to desktop/patches/adbkit-logcat+2.0.1.patch diff --git a/patches/jsonparse+1.3.1.patch b/desktop/patches/jsonparse+1.3.1.patch similarity index 100% rename from patches/jsonparse+1.3.1.patch rename to desktop/patches/jsonparse+1.3.1.patch diff --git a/pkg/.eslintignore b/desktop/pkg/.eslintignore similarity index 100% rename from pkg/.eslintignore rename to desktop/pkg/.eslintignore diff --git a/pkg/.gitignore b/desktop/pkg/.gitignore similarity index 100% rename from pkg/.gitignore rename to desktop/pkg/.gitignore diff --git a/pkg/LICENSE b/desktop/pkg/LICENSE similarity index 100% rename from pkg/LICENSE rename to desktop/pkg/LICENSE diff --git a/pkg/README.md b/desktop/pkg/README.md similarity index 100% rename from pkg/README.md rename to desktop/pkg/README.md diff --git a/pkg/bin/run b/desktop/pkg/bin/run similarity index 100% rename from pkg/bin/run rename to desktop/pkg/bin/run diff --git a/pkg/bin/run.cmd b/desktop/pkg/bin/run.cmd similarity index 100% rename from pkg/bin/run.cmd rename to desktop/pkg/bin/run.cmd diff --git a/pkg/jestconfig.json b/desktop/pkg/jestconfig.json similarity index 100% rename from pkg/jestconfig.json rename to desktop/pkg/jestconfig.json diff --git a/pkg/package.json b/desktop/pkg/package.json similarity index 100% rename from pkg/package.json rename to desktop/pkg/package.json diff --git a/pkg/src/__tests__/index.ts b/desktop/pkg/src/__tests__/index.ts similarity index 100% rename from pkg/src/__tests__/index.ts rename to desktop/pkg/src/__tests__/index.ts diff --git a/pkg/src/commands/bundle.ts b/desktop/pkg/src/commands/bundle.ts similarity index 100% rename from pkg/src/commands/bundle.ts rename to desktop/pkg/src/commands/bundle.ts diff --git a/pkg/src/index.ts b/desktop/pkg/src/index.ts similarity index 100% rename from pkg/src/index.ts rename to desktop/pkg/src/index.ts diff --git a/pkg/src/transforms/__tests__/flipper-requires.node.js b/desktop/pkg/src/transforms/__tests__/flipper-requires.node.js similarity index 100% rename from pkg/src/transforms/__tests__/flipper-requires.node.js rename to desktop/pkg/src/transforms/__tests__/flipper-requires.node.js diff --git a/pkg/src/transforms/dynamic-requires.js b/desktop/pkg/src/transforms/dynamic-requires.js similarity index 100% rename from pkg/src/transforms/dynamic-requires.js rename to desktop/pkg/src/transforms/dynamic-requires.js diff --git a/pkg/src/transforms/electron-requires.js b/desktop/pkg/src/transforms/electron-requires.js similarity index 100% rename from pkg/src/transforms/electron-requires.js rename to desktop/pkg/src/transforms/electron-requires.js diff --git a/pkg/src/transforms/electron-stubs.js b/desktop/pkg/src/transforms/electron-stubs.js similarity index 100% rename from pkg/src/transforms/electron-stubs.js rename to desktop/pkg/src/transforms/electron-stubs.js diff --git a/pkg/src/transforms/fb-stubs.js b/desktop/pkg/src/transforms/fb-stubs.js similarity index 100% rename from pkg/src/transforms/fb-stubs.js rename to desktop/pkg/src/transforms/fb-stubs.js diff --git a/pkg/src/transforms/flipper-requires.js b/desktop/pkg/src/transforms/flipper-requires.js similarity index 100% rename from pkg/src/transforms/flipper-requires.js rename to desktop/pkg/src/transforms/flipper-requires.js diff --git a/pkg/src/transforms/index.js b/desktop/pkg/src/transforms/index.js similarity index 100% rename from pkg/src/transforms/index.js rename to desktop/pkg/src/transforms/index.js diff --git a/pkg/src/utils/runBuild.ts b/desktop/pkg/src/utils/runBuild.ts similarity index 100% rename from pkg/src/utils/runBuild.ts rename to desktop/pkg/src/utils/runBuild.ts diff --git a/pkg/src/utils/yarn.ts b/desktop/pkg/src/utils/yarn.ts similarity index 100% rename from pkg/src/utils/yarn.ts rename to desktop/pkg/src/utils/yarn.ts diff --git a/pkg/tsconfig.json b/desktop/pkg/tsconfig.json similarity index 100% rename from pkg/tsconfig.json rename to desktop/pkg/tsconfig.json diff --git a/pkg/tslint.json b/desktop/pkg/tslint.json similarity index 100% rename from pkg/tslint.json rename to desktop/pkg/tslint.json diff --git a/pkg/yarn.lock b/desktop/pkg/yarn.lock similarity index 100% rename from pkg/yarn.lock rename to desktop/pkg/yarn.lock diff --git a/scripts/build-headless.ts b/desktop/scripts/build-headless.ts similarity index 98% rename from scripts/build-headless.ts rename to desktop/scripts/build-headless.ts index 5029660ee..64d0d49b7 100644 --- a/scripts/build-headless.ts +++ b/desktop/scripts/build-headless.ts @@ -95,7 +95,7 @@ async function createZip(buildDir: string, distDir: string, targets: string[]) { process.env.BUILD_HEADLESS = 'true'; const buildDir = await buildFolder(); - const distDir = path.join(__dirname, '..', 'dist'); + const distDir = path.join(__dirname, '..', '..', 'dist'); // eslint-disable-next-line no-console console.log('Created build directory', buildDir); await compile(buildDir, path.join(__dirname, '..', 'headless', 'index.tsx')); diff --git a/scripts/build-release.ts b/desktop/scripts/build-release.ts similarity index 95% rename from scripts/build-release.ts rename to desktop/scripts/build-release.ts index 580fe0f16..550756587 100755 --- a/scripts/build-release.ts +++ b/desktop/scripts/build-release.ts @@ -24,12 +24,12 @@ import fetch from 'node-fetch'; import {getIcons, buildLocalIconPath, getIconURL} from '../src/utils/icons'; function generateManifest(versionNumber: string) { - const filePath = path.join(__dirname, '..', 'dist'); + const filePath = path.join(__dirname, '..', '..', 'dist'); if (!fs.existsSync(filePath)) { fs.mkdirSync(filePath); } fs.writeFileSync( - path.join(__dirname, '../dist/manifest.json'), + path.join(__dirname, '..', '..', 'dist', 'manifest.json'), JSON.stringify({ package: 'com.facebook.sonar', version_name: versionNumber, @@ -74,7 +74,7 @@ async function buildDist(buildFolder: string) { } postBuildCallbacks.push(() => spawn('zip', ['-qyr9', '../Flipper-mac.zip', 'Flipper.app'], { - cwd: path.join(__dirname, '..', 'dist', 'mac'), + cwd: path.join(__dirname, '..', '..', 'dist', 'mac'), encoding: 'utf-8', }), ); @@ -108,7 +108,7 @@ async function buildDist(buildFolder: string) { appId: `com.facebook.sonar`, directories: { buildResources: path.join(__dirname, '..', 'static'), - output: path.join(__dirname, '..', 'dist'), + output: path.join(__dirname, '..', '..', 'dist'), }, electronDownload: electronDownloadOptions, npmRebuild: false, diff --git a/scripts/build-utils.ts b/desktop/scripts/build-utils.ts similarity index 97% rename from scripts/build-utils.ts rename to desktop/scripts/build-utils.ts index 22cd2e650..33db011dc 100644 --- a/scripts/build-utils.ts +++ b/desktop/scripts/build-utils.ts @@ -81,7 +81,7 @@ export function compile(buildFolder: string, entry: string) { ), }, resolver: { - blacklistRE: /(\/|\\)(sonar|flipper|flipper-public)(\/|\\)(dist|doctor)(\/|\\)|(\.native\.js$)/, + blacklistRE: /(\/|\\)(sonar|flipper|flipper-public)(\/|\\)(desktop)(\/|\\)(dist|doctor)(\/|\\)|(\.native\.js$)/, }, }, { @@ -126,7 +126,7 @@ export async function compileMain({dev}: {dev: boolean}) { }, resolver: { sourceExts: ['tsx', 'ts', 'js'], - blacklistRE: /(\/|\\)(sonar|flipper|flipper-public)(\/|\\)(dist|doctor)(\/|\\)|(\.native\.js$)/, + blacklistRE: /(\/|\\)(sonar|flipper|flipper-public)(\/|\\)(desktop)(\/|\\)(dist|doctor)(\/|\\)|(\.native\.js$)/, }, }); await Metro.runBuild(config, { diff --git a/scripts/generate-changelog.js b/desktop/scripts/generate-changelog.js similarity index 89% rename from scripts/generate-changelog.js rename to desktop/scripts/generate-changelog.js index e8ff6d4a8..10520e225 100755 --- a/scripts/generate-changelog.js +++ b/desktop/scripts/generate-changelog.js @@ -17,14 +17,15 @@ const path = require('path'); const fs = require('fs'); const cp = require('child_process'); -const root = path.join(__dirname, '..'); +const desktopRoot = path.resolve(__dirname, '..'); +const root = path.resolve(desktopRoot, '..'); -const version = JSON.parse(fs.readFileSync(path.join(root, 'package.json'), 'utf8')).version; +const version = JSON.parse(fs.readFileSync(path.join(desktopRoot, 'package.json'), 'utf8')).version; const now = new Date(); const date = `${now.getDate()}/${now.getMonth() + 1}/${now.getFullYear()}`; const newlineMarker = '__NEWLINE_MARKER__'; -const fChangelog = path.join(root, 'CHANGELOG.md'); +const fChangelog = path.resolve(root, 'CHANGELOG.md'); const lastCommit = cp .execSync(`hg log --limit 1 --template '{node}'`, {cwd: root}) diff --git a/scripts/metro-transform.js b/desktop/scripts/metro-transform.js similarity index 100% rename from scripts/metro-transform.js rename to desktop/scripts/metro-transform.js diff --git a/scripts/prepare-watchman-config.js b/desktop/scripts/prepare-watchman-config.js similarity index 82% rename from scripts/prepare-watchman-config.js rename to desktop/scripts/prepare-watchman-config.js index f302b758e..b623e0e4f 100644 --- a/scripts/prepare-watchman-config.js +++ b/desktop/scripts/prepare-watchman-config.js @@ -12,7 +12,8 @@ const util = require('util'); const {exists: existsImport, copyFile} = require('fs'); const exists = util.promisify(existsImport); -const rootDir = path.resolve(__dirname, '..'); +const desktopRootDir = path.resolve(__dirname, '..'); +const rootDir = path.resolve(desktopRootDir, '..'); const hasGit = exists(path.join(rootDir, '.git')); async function prepareWatchmanConfig(dir) { @@ -27,4 +28,4 @@ async function prepareWatchmanConfig(dir) { } prepareWatchmanConfig(rootDir); -prepareWatchmanConfig(path.join(rootDir, 'static')); +prepareWatchmanConfig(path.join(desktopRootDir, 'static')); diff --git a/scripts/start-dev-server.ts b/desktop/scripts/start-dev-server.ts similarity index 99% rename from scripts/start-dev-server.ts rename to desktop/scripts/start-dev-server.ts index 0ab40fade..ede88b6c3 100644 --- a/scripts/start-dev-server.ts +++ b/desktop/scripts/start-dev-server.ts @@ -90,7 +90,7 @@ function startMetroServer(app: Express) { ), }, resolver: { - blacklistRE: /(\/|\\)(sonar|flipper|flipper-public)(\/|\\)(dist|doctor)(\/|\\)|(\.native\.js$)/, + blacklistRE: /(\/|\\)(sonar|flipper|flipper-public)(\/|\\)(desktop)(\/|\\)(dist|doctor)(\/|\\)|(\.native\.js$)/, resolveRequest: (context: any, moduleName: string, platform: string) => { if (moduleName.startsWith('./localhost:3000')) { moduleName = moduleName.replace('./localhost:3000', '.'); diff --git a/scripts/yarn-install.ts b/desktop/scripts/yarn-install.ts similarity index 100% rename from scripts/yarn-install.ts rename to desktop/scripts/yarn-install.ts diff --git a/src/.eslintrc.js b/desktop/src/.eslintrc.js similarity index 100% rename from src/.eslintrc.js rename to desktop/src/.eslintrc.js diff --git a/src/App.tsx b/desktop/src/App.tsx similarity index 100% rename from src/App.tsx rename to desktop/src/App.tsx diff --git a/src/Client.tsx b/desktop/src/Client.tsx similarity index 100% rename from src/Client.tsx rename to desktop/src/Client.tsx diff --git a/src/MenuBar.tsx b/desktop/src/MenuBar.tsx similarity index 100% rename from src/MenuBar.tsx rename to desktop/src/MenuBar.tsx diff --git a/src/NotificationsHub.tsx b/desktop/src/NotificationsHub.tsx similarity index 100% rename from src/NotificationsHub.tsx rename to desktop/src/NotificationsHub.tsx diff --git a/src/PluginContainer.tsx b/desktop/src/PluginContainer.tsx similarity index 100% rename from src/PluginContainer.tsx rename to desktop/src/PluginContainer.tsx diff --git a/src/UninitializedClient.tsx b/desktop/src/UninitializedClient.tsx similarity index 100% rename from src/UninitializedClient.tsx rename to desktop/src/UninitializedClient.tsx diff --git a/src/__tests__/__snapshots__/createMockFlipperWithPlugin.node.tsx.snap b/desktop/src/__tests__/__snapshots__/createMockFlipperWithPlugin.node.tsx.snap similarity index 100% rename from src/__tests__/__snapshots__/createMockFlipperWithPlugin.node.tsx.snap rename to desktop/src/__tests__/__snapshots__/createMockFlipperWithPlugin.node.tsx.snap diff --git a/src/__tests__/createMockFlipperWithPlugin.node.tsx b/desktop/src/__tests__/createMockFlipperWithPlugin.node.tsx similarity index 100% rename from src/__tests__/createMockFlipperWithPlugin.node.tsx rename to desktop/src/__tests__/createMockFlipperWithPlugin.node.tsx diff --git a/src/__tests__/createTablePlugin.node.tsx b/desktop/src/__tests__/createTablePlugin.node.tsx similarity index 100% rename from src/__tests__/createTablePlugin.node.tsx rename to desktop/src/__tests__/createTablePlugin.node.tsx diff --git a/src/chrome/AutoUpdateVersion.tsx b/desktop/src/chrome/AutoUpdateVersion.tsx similarity index 100% rename from src/chrome/AutoUpdateVersion.tsx rename to desktop/src/chrome/AutoUpdateVersion.tsx diff --git a/src/chrome/BugReporterDialog.tsx b/desktop/src/chrome/BugReporterDialog.tsx similarity index 100% rename from src/chrome/BugReporterDialog.tsx rename to desktop/src/chrome/BugReporterDialog.tsx diff --git a/src/chrome/CancellableExportStatus.tsx b/desktop/src/chrome/CancellableExportStatus.tsx similarity index 100% rename from src/chrome/CancellableExportStatus.tsx rename to desktop/src/chrome/CancellableExportStatus.tsx diff --git a/src/chrome/DetailSidebar.tsx b/desktop/src/chrome/DetailSidebar.tsx similarity index 100% rename from src/chrome/DetailSidebar.tsx rename to desktop/src/chrome/DetailSidebar.tsx diff --git a/src/chrome/DevicesButton.tsx b/desktop/src/chrome/DevicesButton.tsx similarity index 100% rename from src/chrome/DevicesButton.tsx rename to desktop/src/chrome/DevicesButton.tsx diff --git a/src/chrome/DoctorBar.tsx b/desktop/src/chrome/DoctorBar.tsx similarity index 100% rename from src/chrome/DoctorBar.tsx rename to desktop/src/chrome/DoctorBar.tsx diff --git a/src/chrome/DoctorSheet.tsx b/desktop/src/chrome/DoctorSheet.tsx similarity index 100% rename from src/chrome/DoctorSheet.tsx rename to desktop/src/chrome/DoctorSheet.tsx diff --git a/src/chrome/ErrorBar.tsx b/desktop/src/chrome/ErrorBar.tsx similarity index 100% rename from src/chrome/ErrorBar.tsx rename to desktop/src/chrome/ErrorBar.tsx diff --git a/src/chrome/ExportDataPluginSheet.tsx b/desktop/src/chrome/ExportDataPluginSheet.tsx similarity index 100% rename from src/chrome/ExportDataPluginSheet.tsx rename to desktop/src/chrome/ExportDataPluginSheet.tsx diff --git a/src/chrome/FpsGraph.tsx b/desktop/src/chrome/FpsGraph.tsx similarity index 100% rename from src/chrome/FpsGraph.tsx rename to desktop/src/chrome/FpsGraph.tsx diff --git a/src/chrome/JSEmulatorLauncherSheet.tsx b/desktop/src/chrome/JSEmulatorLauncherSheet.tsx similarity index 100% rename from src/chrome/JSEmulatorLauncherSheet.tsx rename to desktop/src/chrome/JSEmulatorLauncherSheet.tsx diff --git a/src/chrome/ListView.tsx b/desktop/src/chrome/ListView.tsx similarity index 100% rename from src/chrome/ListView.tsx rename to desktop/src/chrome/ListView.tsx diff --git a/src/chrome/LocationsButton.tsx b/desktop/src/chrome/LocationsButton.tsx similarity index 100% rename from src/chrome/LocationsButton.tsx rename to desktop/src/chrome/LocationsButton.tsx diff --git a/src/chrome/MetroButton.tsx b/desktop/src/chrome/MetroButton.tsx similarity index 100% rename from src/chrome/MetroButton.tsx rename to desktop/src/chrome/MetroButton.tsx diff --git a/src/chrome/NotificationScreen.tsx b/desktop/src/chrome/NotificationScreen.tsx similarity index 100% rename from src/chrome/NotificationScreen.tsx rename to desktop/src/chrome/NotificationScreen.tsx diff --git a/src/chrome/Popover.tsx b/desktop/src/chrome/Popover.tsx similarity index 100% rename from src/chrome/Popover.tsx rename to desktop/src/chrome/Popover.tsx diff --git a/src/chrome/RatingButton.tsx b/desktop/src/chrome/RatingButton.tsx similarity index 100% rename from src/chrome/RatingButton.tsx rename to desktop/src/chrome/RatingButton.tsx diff --git a/src/chrome/ScreenCaptureButtons.tsx b/desktop/src/chrome/ScreenCaptureButtons.tsx similarity index 100% rename from src/chrome/ScreenCaptureButtons.tsx rename to desktop/src/chrome/ScreenCaptureButtons.tsx diff --git a/src/chrome/SettingsSheet.tsx b/desktop/src/chrome/SettingsSheet.tsx similarity index 100% rename from src/chrome/SettingsSheet.tsx rename to desktop/src/chrome/SettingsSheet.tsx diff --git a/src/chrome/ShareSheetErrorList.tsx b/desktop/src/chrome/ShareSheetErrorList.tsx similarity index 100% rename from src/chrome/ShareSheetErrorList.tsx rename to desktop/src/chrome/ShareSheetErrorList.tsx diff --git a/src/chrome/ShareSheetExportFile.tsx b/desktop/src/chrome/ShareSheetExportFile.tsx similarity index 100% rename from src/chrome/ShareSheetExportFile.tsx rename to desktop/src/chrome/ShareSheetExportFile.tsx diff --git a/src/chrome/ShareSheetExportUrl.tsx b/desktop/src/chrome/ShareSheetExportUrl.tsx similarity index 100% rename from src/chrome/ShareSheetExportUrl.tsx rename to desktop/src/chrome/ShareSheetExportUrl.tsx diff --git a/src/chrome/ShareSheetPendingDialog.tsx b/desktop/src/chrome/ShareSheetPendingDialog.tsx similarity index 100% rename from src/chrome/ShareSheetPendingDialog.tsx rename to desktop/src/chrome/ShareSheetPendingDialog.tsx diff --git a/src/chrome/Sheet.tsx b/desktop/src/chrome/Sheet.tsx similarity index 100% rename from src/chrome/Sheet.tsx rename to desktop/src/chrome/Sheet.tsx diff --git a/src/chrome/SignInSheet.tsx b/desktop/src/chrome/SignInSheet.tsx similarity index 100% rename from src/chrome/SignInSheet.tsx rename to desktop/src/chrome/SignInSheet.tsx diff --git a/src/chrome/StatusBar.tsx b/desktop/src/chrome/StatusBar.tsx similarity index 100% rename from src/chrome/StatusBar.tsx rename to desktop/src/chrome/StatusBar.tsx diff --git a/src/chrome/TitleBar.tsx b/desktop/src/chrome/TitleBar.tsx similarity index 100% rename from src/chrome/TitleBar.tsx rename to desktop/src/chrome/TitleBar.tsx diff --git a/src/chrome/UpdateIndicator.tsx b/desktop/src/chrome/UpdateIndicator.tsx similarity index 100% rename from src/chrome/UpdateIndicator.tsx rename to desktop/src/chrome/UpdateIndicator.tsx diff --git a/src/chrome/UserAccount.tsx b/desktop/src/chrome/UserAccount.tsx similarity index 100% rename from src/chrome/UserAccount.tsx rename to desktop/src/chrome/UserAccount.tsx diff --git a/src/chrome/VideoRecordingButton.tsx b/desktop/src/chrome/VideoRecordingButton.tsx similarity index 100% rename from src/chrome/VideoRecordingButton.tsx rename to desktop/src/chrome/VideoRecordingButton.tsx diff --git a/src/chrome/WarningEmployee.tsx b/desktop/src/chrome/WarningEmployee.tsx similarity index 100% rename from src/chrome/WarningEmployee.tsx rename to desktop/src/chrome/WarningEmployee.tsx diff --git a/src/chrome/WelcomeScreen.tsx b/desktop/src/chrome/WelcomeScreen.tsx similarity index 100% rename from src/chrome/WelcomeScreen.tsx rename to desktop/src/chrome/WelcomeScreen.tsx diff --git a/src/chrome/WelcomeScreenHeadless.tsx b/desktop/src/chrome/WelcomeScreenHeadless.tsx similarity index 100% rename from src/chrome/WelcomeScreenHeadless.tsx rename to desktop/src/chrome/WelcomeScreenHeadless.tsx diff --git a/src/chrome/__tests__/ShareSheetErrorList.node.js b/desktop/src/chrome/__tests__/ShareSheetErrorList.node.js similarity index 100% rename from src/chrome/__tests__/ShareSheetErrorList.node.js rename to desktop/src/chrome/__tests__/ShareSheetErrorList.node.js diff --git a/src/chrome/__tests__/ShareSheetPendingDialog.node.tsx b/desktop/src/chrome/__tests__/ShareSheetPendingDialog.node.tsx similarity index 100% rename from src/chrome/__tests__/ShareSheetPendingDialog.node.tsx rename to desktop/src/chrome/__tests__/ShareSheetPendingDialog.node.tsx diff --git a/src/chrome/__tests__/StatusBar.node.tsx b/desktop/src/chrome/__tests__/StatusBar.node.tsx similarity index 100% rename from src/chrome/__tests__/StatusBar.node.tsx rename to desktop/src/chrome/__tests__/StatusBar.node.tsx diff --git a/src/chrome/__tests__/__snapshots__/ShareSheetPendingDialog.node.tsx.snap b/desktop/src/chrome/__tests__/__snapshots__/ShareSheetPendingDialog.node.tsx.snap similarity index 100% rename from src/chrome/__tests__/__snapshots__/ShareSheetPendingDialog.node.tsx.snap rename to desktop/src/chrome/__tests__/__snapshots__/ShareSheetPendingDialog.node.tsx.snap diff --git a/src/chrome/mainsidebar/MainSidebar2.tsx b/desktop/src/chrome/mainsidebar/MainSidebar2.tsx similarity index 100% rename from src/chrome/mainsidebar/MainSidebar2.tsx rename to desktop/src/chrome/mainsidebar/MainSidebar2.tsx diff --git a/src/chrome/mainsidebar/MainSidebarUtilsSection.tsx b/desktop/src/chrome/mainsidebar/MainSidebarUtilsSection.tsx similarity index 100% rename from src/chrome/mainsidebar/MainSidebarUtilsSection.tsx rename to desktop/src/chrome/mainsidebar/MainSidebarUtilsSection.tsx diff --git a/src/chrome/mainsidebar/sidebarUtils.tsx b/desktop/src/chrome/mainsidebar/sidebarUtils.tsx similarity index 100% rename from src/chrome/mainsidebar/sidebarUtils.tsx rename to desktop/src/chrome/mainsidebar/sidebarUtils.tsx diff --git a/src/chrome/plugin-manager/PluginDebugger.tsx b/desktop/src/chrome/plugin-manager/PluginDebugger.tsx similarity index 100% rename from src/chrome/plugin-manager/PluginDebugger.tsx rename to desktop/src/chrome/plugin-manager/PluginDebugger.tsx diff --git a/src/chrome/plugin-manager/PluginInstaller.tsx b/desktop/src/chrome/plugin-manager/PluginInstaller.tsx similarity index 100% rename from src/chrome/plugin-manager/PluginInstaller.tsx rename to desktop/src/chrome/plugin-manager/PluginInstaller.tsx diff --git a/src/chrome/plugin-manager/PluginManager.tsx b/desktop/src/chrome/plugin-manager/PluginManager.tsx similarity index 100% rename from src/chrome/plugin-manager/PluginManager.tsx rename to desktop/src/chrome/plugin-manager/PluginManager.tsx diff --git a/src/chrome/plugin-manager/PluginPackageInstaller.tsx b/desktop/src/chrome/plugin-manager/PluginPackageInstaller.tsx similarity index 100% rename from src/chrome/plugin-manager/PluginPackageInstaller.tsx rename to desktop/src/chrome/plugin-manager/PluginPackageInstaller.tsx diff --git a/src/chrome/plugin-manager/__tests__/PluginInstaller.node.tsx b/desktop/src/chrome/plugin-manager/__tests__/PluginInstaller.node.tsx similarity index 100% rename from src/chrome/plugin-manager/__tests__/PluginInstaller.node.tsx rename to desktop/src/chrome/plugin-manager/__tests__/PluginInstaller.node.tsx diff --git a/src/chrome/settings/KeyboardShortcutInput.tsx b/desktop/src/chrome/settings/KeyboardShortcutInput.tsx similarity index 100% rename from src/chrome/settings/KeyboardShortcutInput.tsx rename to desktop/src/chrome/settings/KeyboardShortcutInput.tsx diff --git a/src/chrome/settings/ToggledSection.tsx b/desktop/src/chrome/settings/ToggledSection.tsx similarity index 100% rename from src/chrome/settings/ToggledSection.tsx rename to desktop/src/chrome/settings/ToggledSection.tsx diff --git a/src/chrome/settings/configFields.tsx b/desktop/src/chrome/settings/configFields.tsx similarity index 100% rename from src/chrome/settings/configFields.tsx rename to desktop/src/chrome/settings/configFields.tsx diff --git a/src/createTablePlugin.tsx b/desktop/src/createTablePlugin.tsx similarity index 100% rename from src/createTablePlugin.tsx rename to desktop/src/createTablePlugin.tsx diff --git a/src/devices/AndroidDevice.tsx b/desktop/src/devices/AndroidDevice.tsx similarity index 100% rename from src/devices/AndroidDevice.tsx rename to desktop/src/devices/AndroidDevice.tsx diff --git a/src/devices/ArchivedDevice.tsx b/desktop/src/devices/ArchivedDevice.tsx similarity index 100% rename from src/devices/ArchivedDevice.tsx rename to desktop/src/devices/ArchivedDevice.tsx diff --git a/src/devices/BaseDevice.tsx b/desktop/src/devices/BaseDevice.tsx similarity index 100% rename from src/devices/BaseDevice.tsx rename to desktop/src/devices/BaseDevice.tsx diff --git a/src/devices/IOSDevice.tsx b/desktop/src/devices/IOSDevice.tsx similarity index 100% rename from src/devices/IOSDevice.tsx rename to desktop/src/devices/IOSDevice.tsx diff --git a/src/devices/JSDevice.tsx b/desktop/src/devices/JSDevice.tsx similarity index 100% rename from src/devices/JSDevice.tsx rename to desktop/src/devices/JSDevice.tsx diff --git a/src/devices/KaiOSDevice.tsx b/desktop/src/devices/KaiOSDevice.tsx similarity index 100% rename from src/devices/KaiOSDevice.tsx rename to desktop/src/devices/KaiOSDevice.tsx diff --git a/src/devices/MacDevice.tsx b/desktop/src/devices/MacDevice.tsx similarity index 100% rename from src/devices/MacDevice.tsx rename to desktop/src/devices/MacDevice.tsx diff --git a/src/devices/MetroDevice.tsx b/desktop/src/devices/MetroDevice.tsx similarity index 100% rename from src/devices/MetroDevice.tsx rename to desktop/src/devices/MetroDevice.tsx diff --git a/src/devices/WindowsDevice.tsx b/desktop/src/devices/WindowsDevice.tsx similarity index 100% rename from src/devices/WindowsDevice.tsx rename to desktop/src/devices/WindowsDevice.tsx diff --git a/src/dispatcher/__tests__/TestPlugin.js b/desktop/src/dispatcher/__tests__/TestPlugin.js similarity index 100% rename from src/dispatcher/__tests__/TestPlugin.js rename to desktop/src/dispatcher/__tests__/TestPlugin.js diff --git a/src/dispatcher/__tests__/deeplinkURLParsing.node.js b/desktop/src/dispatcher/__tests__/deeplinkURLParsing.node.js similarity index 100% rename from src/dispatcher/__tests__/deeplinkURLParsing.node.js rename to desktop/src/dispatcher/__tests__/deeplinkURLParsing.node.js diff --git a/src/dispatcher/__tests__/plugins.node.js b/desktop/src/dispatcher/__tests__/plugins.node.js similarity index 100% rename from src/dispatcher/__tests__/plugins.node.js rename to desktop/src/dispatcher/__tests__/plugins.node.js diff --git a/src/dispatcher/__tests__/tracking.node.tsx b/desktop/src/dispatcher/__tests__/tracking.node.tsx similarity index 100% rename from src/dispatcher/__tests__/tracking.node.tsx rename to desktop/src/dispatcher/__tests__/tracking.node.tsx diff --git a/src/dispatcher/androidDevice.tsx b/desktop/src/dispatcher/androidDevice.tsx similarity index 100% rename from src/dispatcher/androidDevice.tsx rename to desktop/src/dispatcher/androidDevice.tsx diff --git a/src/dispatcher/application.tsx b/desktop/src/dispatcher/application.tsx similarity index 100% rename from src/dispatcher/application.tsx rename to desktop/src/dispatcher/application.tsx diff --git a/src/dispatcher/desktopDevice.tsx b/desktop/src/dispatcher/desktopDevice.tsx similarity index 100% rename from src/dispatcher/desktopDevice.tsx rename to desktop/src/dispatcher/desktopDevice.tsx diff --git a/src/dispatcher/iOSDevice.tsx b/desktop/src/dispatcher/iOSDevice.tsx similarity index 100% rename from src/dispatcher/iOSDevice.tsx rename to desktop/src/dispatcher/iOSDevice.tsx diff --git a/src/dispatcher/index.tsx b/desktop/src/dispatcher/index.tsx similarity index 100% rename from src/dispatcher/index.tsx rename to desktop/src/dispatcher/index.tsx diff --git a/src/dispatcher/metroDevice.tsx b/desktop/src/dispatcher/metroDevice.tsx similarity index 100% rename from src/dispatcher/metroDevice.tsx rename to desktop/src/dispatcher/metroDevice.tsx diff --git a/src/dispatcher/notifications.tsx b/desktop/src/dispatcher/notifications.tsx similarity index 100% rename from src/dispatcher/notifications.tsx rename to desktop/src/dispatcher/notifications.tsx diff --git a/src/dispatcher/pluginManager.tsx b/desktop/src/dispatcher/pluginManager.tsx similarity index 100% rename from src/dispatcher/pluginManager.tsx rename to desktop/src/dispatcher/pluginManager.tsx diff --git a/src/dispatcher/plugins.tsx b/desktop/src/dispatcher/plugins.tsx similarity index 100% rename from src/dispatcher/plugins.tsx rename to desktop/src/dispatcher/plugins.tsx diff --git a/src/dispatcher/reactNative.tsx b/desktop/src/dispatcher/reactNative.tsx similarity index 100% rename from src/dispatcher/reactNative.tsx rename to desktop/src/dispatcher/reactNative.tsx diff --git a/src/dispatcher/server.tsx b/desktop/src/dispatcher/server.tsx similarity index 100% rename from src/dispatcher/server.tsx rename to desktop/src/dispatcher/server.tsx diff --git a/src/dispatcher/tracking.tsx b/desktop/src/dispatcher/tracking.tsx similarity index 100% rename from src/dispatcher/tracking.tsx rename to desktop/src/dispatcher/tracking.tsx diff --git a/src/dispatcher/types.tsx b/desktop/src/dispatcher/types.tsx similarity index 100% rename from src/dispatcher/types.tsx rename to desktop/src/dispatcher/types.tsx diff --git a/src/dispatcher/user.tsx b/desktop/src/dispatcher/user.tsx similarity index 100% rename from src/dispatcher/user.tsx rename to desktop/src/dispatcher/user.tsx diff --git a/src/fb-interfaces/Logger.tsx b/desktop/src/fb-interfaces/Logger.tsx similarity index 100% rename from src/fb-interfaces/Logger.tsx rename to desktop/src/fb-interfaces/Logger.tsx diff --git a/src/fb-stubs/BugReporter.tsx b/desktop/src/fb-stubs/BugReporter.tsx similarity index 100% rename from src/fb-stubs/BugReporter.tsx rename to desktop/src/fb-stubs/BugReporter.tsx diff --git a/src/fb-stubs/ErrorReporter.tsx b/desktop/src/fb-stubs/ErrorReporter.tsx similarity index 100% rename from src/fb-stubs/ErrorReporter.tsx rename to desktop/src/fb-stubs/ErrorReporter.tsx diff --git a/src/fb-stubs/GK.tsx b/desktop/src/fb-stubs/GK.tsx similarity index 100% rename from src/fb-stubs/GK.tsx rename to desktop/src/fb-stubs/GK.tsx diff --git a/src/fb-stubs/LauncherSettingsPanel.tsx b/desktop/src/fb-stubs/LauncherSettingsPanel.tsx similarity index 100% rename from src/fb-stubs/LauncherSettingsPanel.tsx rename to desktop/src/fb-stubs/LauncherSettingsPanel.tsx diff --git a/src/fb-stubs/LayoutInspectorSidebarExtensions.tsx b/desktop/src/fb-stubs/LayoutInspectorSidebarExtensions.tsx similarity index 100% rename from src/fb-stubs/LayoutInspectorSidebarExtensions.tsx rename to desktop/src/fb-stubs/LayoutInspectorSidebarExtensions.tsx diff --git a/src/fb-stubs/Logger.tsx b/desktop/src/fb-stubs/Logger.tsx similarity index 100% rename from src/fb-stubs/Logger.tsx rename to desktop/src/fb-stubs/Logger.tsx diff --git a/src/fb-stubs/Prefetcher.tsx b/desktop/src/fb-stubs/Prefetcher.tsx similarity index 100% rename from src/fb-stubs/Prefetcher.tsx rename to desktop/src/fb-stubs/Prefetcher.tsx diff --git a/src/fb-stubs/ScribeLogger.tsx b/desktop/src/fb-stubs/ScribeLogger.tsx similarity index 100% rename from src/fb-stubs/ScribeLogger.tsx rename to desktop/src/fb-stubs/ScribeLogger.tsx diff --git a/src/fb-stubs/SupportRequestDetails.tsx b/desktop/src/fb-stubs/SupportRequestDetails.tsx similarity index 100% rename from src/fb-stubs/SupportRequestDetails.tsx rename to desktop/src/fb-stubs/SupportRequestDetails.tsx diff --git a/src/fb-stubs/SupportRequestFormV2.tsx b/desktop/src/fb-stubs/SupportRequestFormV2.tsx similarity index 100% rename from src/fb-stubs/SupportRequestFormV2.tsx rename to desktop/src/fb-stubs/SupportRequestFormV2.tsx diff --git a/src/fb-stubs/UserFeedback.tsx b/desktop/src/fb-stubs/UserFeedback.tsx similarity index 100% rename from src/fb-stubs/UserFeedback.tsx rename to desktop/src/fb-stubs/UserFeedback.tsx diff --git a/src/fb-stubs/WatchTools.tsx b/desktop/src/fb-stubs/WatchTools.tsx similarity index 100% rename from src/fb-stubs/WatchTools.tsx rename to desktop/src/fb-stubs/WatchTools.tsx diff --git a/src/fb-stubs/__mocks__/Logger.tsx b/desktop/src/fb-stubs/__mocks__/Logger.tsx similarity index 100% rename from src/fb-stubs/__mocks__/Logger.tsx rename to desktop/src/fb-stubs/__mocks__/Logger.tsx diff --git a/src/fb-stubs/config.tsx b/desktop/src/fb-stubs/config.tsx similarity index 100% rename from src/fb-stubs/config.tsx rename to desktop/src/fb-stubs/config.tsx diff --git a/src/fb-stubs/constants.tsx b/desktop/src/fb-stubs/constants.tsx similarity index 100% rename from src/fb-stubs/constants.tsx rename to desktop/src/fb-stubs/constants.tsx diff --git a/src/fb-stubs/createPaste.tsx b/desktop/src/fb-stubs/createPaste.tsx similarity index 100% rename from src/fb-stubs/createPaste.tsx rename to desktop/src/fb-stubs/createPaste.tsx diff --git a/src/fb-stubs/iOSContainerUtility.tsx b/desktop/src/fb-stubs/iOSContainerUtility.tsx similarity index 100% rename from src/fb-stubs/iOSContainerUtility.tsx rename to desktop/src/fb-stubs/iOSContainerUtility.tsx diff --git a/src/fb-stubs/user.tsx b/desktop/src/fb-stubs/user.tsx similarity index 100% rename from src/fb-stubs/user.tsx rename to desktop/src/fb-stubs/user.tsx diff --git a/src/index.tsx b/desktop/src/index.tsx similarity index 100% rename from src/index.tsx rename to desktop/src/index.tsx diff --git a/src/init.tsx b/desktop/src/init.tsx similarity index 100% rename from src/init.tsx rename to desktop/src/init.tsx diff --git a/src/plugin.tsx b/desktop/src/plugin.tsx similarity index 100% rename from src/plugin.tsx rename to desktop/src/plugin.tsx diff --git a/src/plugins/TableNativePlugin.tsx b/desktop/src/plugins/TableNativePlugin.tsx similarity index 100% rename from src/plugins/TableNativePlugin.tsx rename to desktop/src/plugins/TableNativePlugin.tsx diff --git a/src/plugins/cpu/TemperatureTable.tsx b/desktop/src/plugins/cpu/TemperatureTable.tsx similarity index 100% rename from src/plugins/cpu/TemperatureTable.tsx rename to desktop/src/plugins/cpu/TemperatureTable.tsx diff --git a/src/plugins/cpu/index.tsx b/desktop/src/plugins/cpu/index.tsx similarity index 100% rename from src/plugins/cpu/index.tsx rename to desktop/src/plugins/cpu/index.tsx diff --git a/src/plugins/cpu/package.json b/desktop/src/plugins/cpu/package.json similarity index 100% rename from src/plugins/cpu/package.json rename to desktop/src/plugins/cpu/package.json diff --git a/src/plugins/cpu/yarn.lock b/desktop/src/plugins/cpu/yarn.lock similarity index 100% rename from src/plugins/cpu/yarn.lock rename to desktop/src/plugins/cpu/yarn.lock diff --git a/src/plugins/crash_reporter/__tests__/testCrashReporterPlugin.electron.js b/desktop/src/plugins/crash_reporter/__tests__/testCrashReporterPlugin.electron.js similarity index 100% rename from src/plugins/crash_reporter/__tests__/testCrashReporterPlugin.electron.js rename to desktop/src/plugins/crash_reporter/__tests__/testCrashReporterPlugin.electron.js diff --git a/src/plugins/crash_reporter/index.js b/desktop/src/plugins/crash_reporter/index.js similarity index 100% rename from src/plugins/crash_reporter/index.js rename to desktop/src/plugins/crash_reporter/index.js diff --git a/src/plugins/crash_reporter/package.json b/desktop/src/plugins/crash_reporter/package.json similarity index 100% rename from src/plugins/crash_reporter/package.json rename to desktop/src/plugins/crash_reporter/package.json diff --git a/src/plugins/crash_reporter/yarn.lock b/desktop/src/plugins/crash_reporter/yarn.lock similarity index 100% rename from src/plugins/crash_reporter/yarn.lock rename to desktop/src/plugins/crash_reporter/yarn.lock diff --git a/src/plugins/databases/ButtonNavigation.js b/desktop/src/plugins/databases/ButtonNavigation.js similarity index 100% rename from src/plugins/databases/ButtonNavigation.js rename to desktop/src/plugins/databases/ButtonNavigation.js diff --git a/src/plugins/databases/ClientProtocol.js b/desktop/src/plugins/databases/ClientProtocol.js similarity index 100% rename from src/plugins/databases/ClientProtocol.js rename to desktop/src/plugins/databases/ClientProtocol.js diff --git a/src/plugins/databases/index.js b/desktop/src/plugins/databases/index.js similarity index 100% rename from src/plugins/databases/index.js rename to desktop/src/plugins/databases/index.js diff --git a/src/plugins/databases/package.json b/desktop/src/plugins/databases/package.json similarity index 100% rename from src/plugins/databases/package.json rename to desktop/src/plugins/databases/package.json diff --git a/src/plugins/databases/yarn.lock b/desktop/src/plugins/databases/yarn.lock similarity index 100% rename from src/plugins/databases/yarn.lock rename to desktop/src/plugins/databases/yarn.lock diff --git a/src/plugins/example/index.tsx b/desktop/src/plugins/example/index.tsx similarity index 100% rename from src/plugins/example/index.tsx rename to desktop/src/plugins/example/index.tsx diff --git a/src/plugins/example/package.json b/desktop/src/plugins/example/package.json similarity index 100% rename from src/plugins/example/package.json rename to desktop/src/plugins/example/package.json diff --git a/src/plugins/example/yarn.lock b/desktop/src/plugins/example/yarn.lock similarity index 100% rename from src/plugins/example/yarn.lock rename to desktop/src/plugins/example/yarn.lock diff --git a/src/plugins/fresco/ImagePool.tsx b/desktop/src/plugins/fresco/ImagePool.tsx similarity index 100% rename from src/plugins/fresco/ImagePool.tsx rename to desktop/src/plugins/fresco/ImagePool.tsx diff --git a/src/plugins/fresco/ImagesCacheOverview.tsx b/desktop/src/plugins/fresco/ImagesCacheOverview.tsx similarity index 100% rename from src/plugins/fresco/ImagesCacheOverview.tsx rename to desktop/src/plugins/fresco/ImagesCacheOverview.tsx diff --git a/src/plugins/fresco/ImagesSidebar.tsx b/desktop/src/plugins/fresco/ImagesSidebar.tsx similarity index 100% rename from src/plugins/fresco/ImagesSidebar.tsx rename to desktop/src/plugins/fresco/ImagesSidebar.tsx diff --git a/src/plugins/fresco/MultipleSelect.tsx b/desktop/src/plugins/fresco/MultipleSelect.tsx similarity index 100% rename from src/plugins/fresco/MultipleSelect.tsx rename to desktop/src/plugins/fresco/MultipleSelect.tsx diff --git a/src/plugins/fresco/__tests__/__snapshots__/index.node.tsx.snap b/desktop/src/plugins/fresco/__tests__/__snapshots__/index.node.tsx.snap similarity index 100% rename from src/plugins/fresco/__tests__/__snapshots__/index.node.tsx.snap rename to desktop/src/plugins/fresco/__tests__/__snapshots__/index.node.tsx.snap diff --git a/src/plugins/fresco/__tests__/index.node.tsx b/desktop/src/plugins/fresco/__tests__/index.node.tsx similarity index 100% rename from src/plugins/fresco/__tests__/index.node.tsx rename to desktop/src/plugins/fresco/__tests__/index.node.tsx diff --git a/src/plugins/fresco/api.tsx b/desktop/src/plugins/fresco/api.tsx similarity index 100% rename from src/plugins/fresco/api.tsx rename to desktop/src/plugins/fresco/api.tsx diff --git a/src/plugins/fresco/index.tsx b/desktop/src/plugins/fresco/index.tsx similarity index 100% rename from src/plugins/fresco/index.tsx rename to desktop/src/plugins/fresco/index.tsx diff --git a/src/plugins/fresco/package.json b/desktop/src/plugins/fresco/package.json similarity index 100% rename from src/plugins/fresco/package.json rename to desktop/src/plugins/fresco/package.json diff --git a/src/plugins/fresco/yarn.lock b/desktop/src/plugins/fresco/yarn.lock similarity index 100% rename from src/plugins/fresco/yarn.lock rename to desktop/src/plugins/fresco/yarn.lock diff --git a/src/plugins/kaios-allocations/index.tsx b/desktop/src/plugins/kaios-allocations/index.tsx similarity index 100% rename from src/plugins/kaios-allocations/index.tsx rename to desktop/src/plugins/kaios-allocations/index.tsx diff --git a/src/plugins/kaios-allocations/package.json b/desktop/src/plugins/kaios-allocations/package.json similarity index 100% rename from src/plugins/kaios-allocations/package.json rename to desktop/src/plugins/kaios-allocations/package.json diff --git a/src/plugins/kaios-allocations/patches/firefox-client+0.3.0.patch b/desktop/src/plugins/kaios-allocations/patches/firefox-client+0.3.0.patch similarity index 100% rename from src/plugins/kaios-allocations/patches/firefox-client+0.3.0.patch rename to desktop/src/plugins/kaios-allocations/patches/firefox-client+0.3.0.patch diff --git a/src/plugins/kaios-allocations/types/firefox-client.d.tsx b/desktop/src/plugins/kaios-allocations/types/firefox-client.d.tsx similarity index 100% rename from src/plugins/kaios-allocations/types/firefox-client.d.tsx rename to desktop/src/plugins/kaios-allocations/types/firefox-client.d.tsx diff --git a/src/plugins/kaios-allocations/yarn.lock b/desktop/src/plugins/kaios-allocations/yarn.lock similarity index 100% rename from src/plugins/kaios-allocations/yarn.lock rename to desktop/src/plugins/kaios-allocations/yarn.lock diff --git a/src/plugins/kaios-ram/index.tsx b/desktop/src/plugins/kaios-ram/index.tsx similarity index 100% rename from src/plugins/kaios-ram/index.tsx rename to desktop/src/plugins/kaios-ram/index.tsx diff --git a/src/plugins/kaios-ram/package.json b/desktop/src/plugins/kaios-ram/package.json similarity index 100% rename from src/plugins/kaios-ram/package.json rename to desktop/src/plugins/kaios-ram/package.json diff --git a/src/plugins/kaios-ram/yarn.lock b/desktop/src/plugins/kaios-ram/yarn.lock similarity index 100% rename from src/plugins/kaios-ram/yarn.lock rename to desktop/src/plugins/kaios-ram/yarn.lock diff --git a/src/plugins/layout/Inspector.tsx b/desktop/src/plugins/layout/Inspector.tsx similarity index 100% rename from src/plugins/layout/Inspector.tsx rename to desktop/src/plugins/layout/Inspector.tsx diff --git a/src/plugins/layout/InspectorSidebar.tsx b/desktop/src/plugins/layout/InspectorSidebar.tsx similarity index 100% rename from src/plugins/layout/InspectorSidebar.tsx rename to desktop/src/plugins/layout/InspectorSidebar.tsx diff --git a/src/plugins/layout/ProxyArchiveClient.tsx b/desktop/src/plugins/layout/ProxyArchiveClient.tsx similarity index 100% rename from src/plugins/layout/ProxyArchiveClient.tsx rename to desktop/src/plugins/layout/ProxyArchiveClient.tsx diff --git a/src/plugins/layout/Search.tsx b/desktop/src/plugins/layout/Search.tsx similarity index 100% rename from src/plugins/layout/Search.tsx rename to desktop/src/plugins/layout/Search.tsx diff --git a/src/plugins/layout/ToolbarIcon.tsx b/desktop/src/plugins/layout/ToolbarIcon.tsx similarity index 100% rename from src/plugins/layout/ToolbarIcon.tsx rename to desktop/src/plugins/layout/ToolbarIcon.tsx diff --git a/src/plugins/layout/__tests__/ProxyArchiveClient.node.tsx b/desktop/src/plugins/layout/__tests__/ProxyArchiveClient.node.tsx similarity index 100% rename from src/plugins/layout/__tests__/ProxyArchiveClient.node.tsx rename to desktop/src/plugins/layout/__tests__/ProxyArchiveClient.node.tsx diff --git a/src/plugins/layout/index.tsx b/desktop/src/plugins/layout/index.tsx similarity index 100% rename from src/plugins/layout/index.tsx rename to desktop/src/plugins/layout/index.tsx diff --git a/src/plugins/layout/package.json b/desktop/src/plugins/layout/package.json similarity index 100% rename from src/plugins/layout/package.json rename to desktop/src/plugins/layout/package.json diff --git a/src/plugins/layout/yarn.lock b/desktop/src/plugins/layout/yarn.lock similarity index 100% rename from src/plugins/layout/yarn.lock rename to desktop/src/plugins/layout/yarn.lock diff --git a/src/plugins/leak_canary/index.tsx b/desktop/src/plugins/leak_canary/index.tsx similarity index 100% rename from src/plugins/leak_canary/index.tsx rename to desktop/src/plugins/leak_canary/index.tsx diff --git a/src/plugins/leak_canary/package.json b/desktop/src/plugins/leak_canary/package.json similarity index 100% rename from src/plugins/leak_canary/package.json rename to desktop/src/plugins/leak_canary/package.json diff --git a/src/plugins/leak_canary/processLeakString.tsx b/desktop/src/plugins/leak_canary/processLeakString.tsx similarity index 100% rename from src/plugins/leak_canary/processLeakString.tsx rename to desktop/src/plugins/leak_canary/processLeakString.tsx diff --git a/src/plugins/leak_canary/yarn.lock b/desktop/src/plugins/leak_canary/yarn.lock similarity index 100% rename from src/plugins/leak_canary/yarn.lock rename to desktop/src/plugins/leak_canary/yarn.lock diff --git a/src/plugins/logs/LogWatcher.tsx b/desktop/src/plugins/logs/LogWatcher.tsx similarity index 100% rename from src/plugins/logs/LogWatcher.tsx rename to desktop/src/plugins/logs/LogWatcher.tsx diff --git a/src/plugins/logs/__tests__/index.node.js b/desktop/src/plugins/logs/__tests__/index.node.js similarity index 100% rename from src/plugins/logs/__tests__/index.node.js rename to desktop/src/plugins/logs/__tests__/index.node.js diff --git a/src/plugins/logs/index.tsx b/desktop/src/plugins/logs/index.tsx similarity index 100% rename from src/plugins/logs/index.tsx rename to desktop/src/plugins/logs/index.tsx diff --git a/src/plugins/logs/package.json b/desktop/src/plugins/logs/package.json similarity index 100% rename from src/plugins/logs/package.json rename to desktop/src/plugins/logs/package.json diff --git a/src/plugins/logs/yarn.lock b/desktop/src/plugins/logs/yarn.lock similarity index 100% rename from src/plugins/logs/yarn.lock rename to desktop/src/plugins/logs/yarn.lock diff --git a/src/plugins/navigation/__tests__/testAutoCompleteSearch.node.tsx b/desktop/src/plugins/navigation/__tests__/testAutoCompleteSearch.node.tsx similarity index 100% rename from src/plugins/navigation/__tests__/testAutoCompleteSearch.node.tsx rename to desktop/src/plugins/navigation/__tests__/testAutoCompleteSearch.node.tsx diff --git a/src/plugins/navigation/__tests__/testURI.node.tsx b/desktop/src/plugins/navigation/__tests__/testURI.node.tsx similarity index 100% rename from src/plugins/navigation/__tests__/testURI.node.tsx rename to desktop/src/plugins/navigation/__tests__/testURI.node.tsx diff --git a/src/plugins/navigation/components/AutoCompleteSheet.tsx b/desktop/src/plugins/navigation/components/AutoCompleteSheet.tsx similarity index 100% rename from src/plugins/navigation/components/AutoCompleteSheet.tsx rename to desktop/src/plugins/navigation/components/AutoCompleteSheet.tsx diff --git a/src/plugins/navigation/components/BookmarksSidebar.tsx b/desktop/src/plugins/navigation/components/BookmarksSidebar.tsx similarity index 100% rename from src/plugins/navigation/components/BookmarksSidebar.tsx rename to desktop/src/plugins/navigation/components/BookmarksSidebar.tsx diff --git a/src/plugins/navigation/components/FavoriteButton.tsx b/desktop/src/plugins/navigation/components/FavoriteButton.tsx similarity index 100% rename from src/plugins/navigation/components/FavoriteButton.tsx rename to desktop/src/plugins/navigation/components/FavoriteButton.tsx diff --git a/src/plugins/navigation/components/IconButton.tsx b/desktop/src/plugins/navigation/components/IconButton.tsx similarity index 100% rename from src/plugins/navigation/components/IconButton.tsx rename to desktop/src/plugins/navigation/components/IconButton.tsx diff --git a/src/plugins/navigation/components/NavigationInfoBox.tsx b/desktop/src/plugins/navigation/components/NavigationInfoBox.tsx similarity index 100% rename from src/plugins/navigation/components/NavigationInfoBox.tsx rename to desktop/src/plugins/navigation/components/NavigationInfoBox.tsx diff --git a/src/plugins/navigation/components/RequiredParametersDialog.tsx b/desktop/src/plugins/navigation/components/RequiredParametersDialog.tsx similarity index 100% rename from src/plugins/navigation/components/RequiredParametersDialog.tsx rename to desktop/src/plugins/navigation/components/RequiredParametersDialog.tsx diff --git a/src/plugins/navigation/components/SaveBookmarkDialog.tsx b/desktop/src/plugins/navigation/components/SaveBookmarkDialog.tsx similarity index 100% rename from src/plugins/navigation/components/SaveBookmarkDialog.tsx rename to desktop/src/plugins/navigation/components/SaveBookmarkDialog.tsx diff --git a/src/plugins/navigation/components/SearchBar.tsx b/desktop/src/plugins/navigation/components/SearchBar.tsx similarity index 100% rename from src/plugins/navigation/components/SearchBar.tsx rename to desktop/src/plugins/navigation/components/SearchBar.tsx diff --git a/src/plugins/navigation/components/Timeline.tsx b/desktop/src/plugins/navigation/components/Timeline.tsx similarity index 100% rename from src/plugins/navigation/components/Timeline.tsx rename to desktop/src/plugins/navigation/components/Timeline.tsx diff --git a/src/plugins/navigation/components/index.tsx b/desktop/src/plugins/navigation/components/index.tsx similarity index 100% rename from src/plugins/navigation/components/index.tsx rename to desktop/src/plugins/navigation/components/index.tsx diff --git a/src/plugins/navigation/hooks/autoCompleteSheet.tsx b/desktop/src/plugins/navigation/hooks/autoCompleteSheet.tsx similarity index 100% rename from src/plugins/navigation/hooks/autoCompleteSheet.tsx rename to desktop/src/plugins/navigation/hooks/autoCompleteSheet.tsx diff --git a/src/plugins/navigation/hooks/requiredParameters.tsx b/desktop/src/plugins/navigation/hooks/requiredParameters.tsx similarity index 100% rename from src/plugins/navigation/hooks/requiredParameters.tsx rename to desktop/src/plugins/navigation/hooks/requiredParameters.tsx diff --git a/src/plugins/navigation/index.tsx b/desktop/src/plugins/navigation/index.tsx similarity index 100% rename from src/plugins/navigation/index.tsx rename to desktop/src/plugins/navigation/index.tsx diff --git a/src/plugins/navigation/package.json b/desktop/src/plugins/navigation/package.json similarity index 100% rename from src/plugins/navigation/package.json rename to desktop/src/plugins/navigation/package.json diff --git a/src/plugins/navigation/types.tsx b/desktop/src/plugins/navigation/types.tsx similarity index 100% rename from src/plugins/navigation/types.tsx rename to desktop/src/plugins/navigation/types.tsx diff --git a/src/plugins/navigation/util/appMatchPatterns.tsx b/desktop/src/plugins/navigation/util/appMatchPatterns.tsx similarity index 100% rename from src/plugins/navigation/util/appMatchPatterns.tsx rename to desktop/src/plugins/navigation/util/appMatchPatterns.tsx diff --git a/src/plugins/navigation/util/autoCompleteProvider.tsx b/desktop/src/plugins/navigation/util/autoCompleteProvider.tsx similarity index 100% rename from src/plugins/navigation/util/autoCompleteProvider.tsx rename to desktop/src/plugins/navigation/util/autoCompleteProvider.tsx diff --git a/src/plugins/navigation/util/indexedDB.tsx b/desktop/src/plugins/navigation/util/indexedDB.tsx similarity index 100% rename from src/plugins/navigation/util/indexedDB.tsx rename to desktop/src/plugins/navigation/util/indexedDB.tsx diff --git a/src/plugins/navigation/util/uri.tsx b/desktop/src/plugins/navigation/util/uri.tsx similarity index 100% rename from src/plugins/navigation/util/uri.tsx rename to desktop/src/plugins/navigation/util/uri.tsx diff --git a/src/plugins/navigation/yarn.lock b/desktop/src/plugins/navigation/yarn.lock similarity index 100% rename from src/plugins/navigation/yarn.lock rename to desktop/src/plugins/navigation/yarn.lock diff --git a/src/plugins/network/RequestDetails.tsx b/desktop/src/plugins/network/RequestDetails.tsx similarity index 100% rename from src/plugins/network/RequestDetails.tsx rename to desktop/src/plugins/network/RequestDetails.tsx diff --git a/src/plugins/network/__tests__/requestToCurlCommand.node.tsx b/desktop/src/plugins/network/__tests__/requestToCurlCommand.node.tsx similarity index 100% rename from src/plugins/network/__tests__/requestToCurlCommand.node.tsx rename to desktop/src/plugins/network/__tests__/requestToCurlCommand.node.tsx diff --git a/src/plugins/network/index.tsx b/desktop/src/plugins/network/index.tsx similarity index 100% rename from src/plugins/network/index.tsx rename to desktop/src/plugins/network/index.tsx diff --git a/src/plugins/network/package.json b/desktop/src/plugins/network/package.json similarity index 100% rename from src/plugins/network/package.json rename to desktop/src/plugins/network/package.json diff --git a/src/plugins/network/types.tsx b/desktop/src/plugins/network/types.tsx similarity index 100% rename from src/plugins/network/types.tsx rename to desktop/src/plugins/network/types.tsx diff --git a/src/plugins/network/utils.tsx b/desktop/src/plugins/network/utils.tsx similarity index 100% rename from src/plugins/network/utils.tsx rename to desktop/src/plugins/network/utils.tsx diff --git a/src/plugins/network/yarn.lock b/desktop/src/plugins/network/yarn.lock similarity index 100% rename from src/plugins/network/yarn.lock rename to desktop/src/plugins/network/yarn.lock diff --git a/src/plugins/reactdevtools/get-port.d.tsx b/desktop/src/plugins/reactdevtools/get-port.d.tsx similarity index 100% rename from src/plugins/reactdevtools/get-port.d.tsx rename to desktop/src/plugins/reactdevtools/get-port.d.tsx diff --git a/src/plugins/reactdevtools/index.tsx b/desktop/src/plugins/reactdevtools/index.tsx similarity index 100% rename from src/plugins/reactdevtools/index.tsx rename to desktop/src/plugins/reactdevtools/index.tsx diff --git a/src/plugins/reactdevtools/package.json b/desktop/src/plugins/reactdevtools/package.json similarity index 100% rename from src/plugins/reactdevtools/package.json rename to desktop/src/plugins/reactdevtools/package.json diff --git a/src/plugins/reactdevtools/react-devtools-core.d.tsx b/desktop/src/plugins/reactdevtools/react-devtools-core.d.tsx similarity index 100% rename from src/plugins/reactdevtools/react-devtools-core.d.tsx rename to desktop/src/plugins/reactdevtools/react-devtools-core.d.tsx diff --git a/src/plugins/reactdevtools/yarn.lock b/desktop/src/plugins/reactdevtools/yarn.lock similarity index 100% rename from src/plugins/reactdevtools/yarn.lock rename to desktop/src/plugins/reactdevtools/yarn.lock diff --git a/src/plugins/rn-tic-tac-toe/index.tsx b/desktop/src/plugins/rn-tic-tac-toe/index.tsx similarity index 100% rename from src/plugins/rn-tic-tac-toe/index.tsx rename to desktop/src/plugins/rn-tic-tac-toe/index.tsx diff --git a/src/plugins/rn-tic-tac-toe/package.json b/desktop/src/plugins/rn-tic-tac-toe/package.json similarity index 100% rename from src/plugins/rn-tic-tac-toe/package.json rename to desktop/src/plugins/rn-tic-tac-toe/package.json diff --git a/src/plugins/rn-tic-tac-toe/yarn.lock b/desktop/src/plugins/rn-tic-tac-toe/yarn.lock similarity index 100% rename from src/plugins/rn-tic-tac-toe/yarn.lock rename to desktop/src/plugins/rn-tic-tac-toe/yarn.lock diff --git a/src/plugins/sandbox/index.tsx b/desktop/src/plugins/sandbox/index.tsx similarity index 100% rename from src/plugins/sandbox/index.tsx rename to desktop/src/plugins/sandbox/index.tsx diff --git a/src/plugins/sandbox/package.json b/desktop/src/plugins/sandbox/package.json similarity index 100% rename from src/plugins/sandbox/package.json rename to desktop/src/plugins/sandbox/package.json diff --git a/src/plugins/sandbox/yarn.lock b/desktop/src/plugins/sandbox/yarn.lock similarity index 100% rename from src/plugins/sandbox/yarn.lock rename to desktop/src/plugins/sandbox/yarn.lock diff --git a/src/plugins/seamammals/index.tsx b/desktop/src/plugins/seamammals/index.tsx similarity index 100% rename from src/plugins/seamammals/index.tsx rename to desktop/src/plugins/seamammals/index.tsx diff --git a/src/plugins/seamammals/package.json b/desktop/src/plugins/seamammals/package.json similarity index 100% rename from src/plugins/seamammals/package.json rename to desktop/src/plugins/seamammals/package.json diff --git a/src/plugins/seamammals/yarn.lock b/desktop/src/plugins/seamammals/yarn.lock similarity index 100% rename from src/plugins/seamammals/yarn.lock rename to desktop/src/plugins/seamammals/yarn.lock diff --git a/src/plugins/sections/DetailsPanel.js b/desktop/src/plugins/sections/DetailsPanel.js similarity index 100% rename from src/plugins/sections/DetailsPanel.js rename to desktop/src/plugins/sections/DetailsPanel.js diff --git a/src/plugins/sections/EventsTable.js b/desktop/src/plugins/sections/EventsTable.js similarity index 100% rename from src/plugins/sections/EventsTable.js rename to desktop/src/plugins/sections/EventsTable.js diff --git a/src/plugins/sections/Models.js b/desktop/src/plugins/sections/Models.js similarity index 100% rename from src/plugins/sections/Models.js rename to desktop/src/plugins/sections/Models.js diff --git a/src/plugins/sections/StackTrace.js b/desktop/src/plugins/sections/StackTrace.js similarity index 100% rename from src/plugins/sections/StackTrace.js rename to desktop/src/plugins/sections/StackTrace.js diff --git a/src/plugins/sections/Tree.js b/desktop/src/plugins/sections/Tree.js similarity index 100% rename from src/plugins/sections/Tree.js rename to desktop/src/plugins/sections/Tree.js diff --git a/src/plugins/sections/d3/LICENSE b/desktop/src/plugins/sections/d3/LICENSE similarity index 100% rename from src/plugins/sections/d3/LICENSE rename to desktop/src/plugins/sections/d3/LICENSE diff --git a/src/plugins/sections/d3/d3.js b/desktop/src/plugins/sections/d3/d3.js similarity index 100% rename from src/plugins/sections/d3/d3.js rename to desktop/src/plugins/sections/d3/d3.js diff --git a/src/plugins/sections/d3/package.json b/desktop/src/plugins/sections/d3/package.json similarity index 100% rename from src/plugins/sections/d3/package.json rename to desktop/src/plugins/sections/d3/package.json diff --git a/src/plugins/sections/index.js b/desktop/src/plugins/sections/index.js similarity index 100% rename from src/plugins/sections/index.js rename to desktop/src/plugins/sections/index.js diff --git a/src/plugins/sections/package.json b/desktop/src/plugins/sections/package.json similarity index 100% rename from src/plugins/sections/package.json rename to desktop/src/plugins/sections/package.json diff --git a/src/plugins/sections/yarn.lock b/desktop/src/plugins/sections/yarn.lock similarity index 100% rename from src/plugins/sections/yarn.lock rename to desktop/src/plugins/sections/yarn.lock diff --git a/src/plugins/shared_preferences/index.js b/desktop/src/plugins/shared_preferences/index.js similarity index 100% rename from src/plugins/shared_preferences/index.js rename to desktop/src/plugins/shared_preferences/index.js diff --git a/src/plugins/shared_preferences/package.json b/desktop/src/plugins/shared_preferences/package.json similarity index 100% rename from src/plugins/shared_preferences/package.json rename to desktop/src/plugins/shared_preferences/package.json diff --git a/src/plugins/shared_preferences/yarn.lock b/desktop/src/plugins/shared_preferences/yarn.lock similarity index 100% rename from src/plugins/shared_preferences/yarn.lock rename to desktop/src/plugins/shared_preferences/yarn.lock diff --git a/src/reducers/__tests__/__snapshots__/healthchecks.node.tsx.snap b/desktop/src/reducers/__tests__/__snapshots__/healthchecks.node.tsx.snap similarity index 100% rename from src/reducers/__tests__/__snapshots__/healthchecks.node.tsx.snap rename to desktop/src/reducers/__tests__/__snapshots__/healthchecks.node.tsx.snap diff --git a/src/reducers/__tests__/applications.electron.tsx b/desktop/src/reducers/__tests__/applications.electron.tsx similarity index 100% rename from src/reducers/__tests__/applications.electron.tsx rename to desktop/src/reducers/__tests__/applications.electron.tsx diff --git a/src/reducers/__tests__/connections.node.tsx b/desktop/src/reducers/__tests__/connections.node.tsx similarity index 100% rename from src/reducers/__tests__/connections.node.tsx rename to desktop/src/reducers/__tests__/connections.node.tsx diff --git a/src/reducers/__tests__/healthchecks.node.tsx b/desktop/src/reducers/__tests__/healthchecks.node.tsx similarity index 100% rename from src/reducers/__tests__/healthchecks.node.tsx rename to desktop/src/reducers/__tests__/healthchecks.node.tsx diff --git a/src/reducers/__tests__/notifications.node.tsx b/desktop/src/reducers/__tests__/notifications.node.tsx similarity index 100% rename from src/reducers/__tests__/notifications.node.tsx rename to desktop/src/reducers/__tests__/notifications.node.tsx diff --git a/src/reducers/__tests__/pluginManager.node.tsx b/desktop/src/reducers/__tests__/pluginManager.node.tsx similarity index 100% rename from src/reducers/__tests__/pluginManager.node.tsx rename to desktop/src/reducers/__tests__/pluginManager.node.tsx diff --git a/src/reducers/__tests__/pluginStates.node.tsx b/desktop/src/reducers/__tests__/pluginStates.node.tsx similarity index 100% rename from src/reducers/__tests__/pluginStates.node.tsx rename to desktop/src/reducers/__tests__/pluginStates.node.tsx diff --git a/src/reducers/__tests__/plugins.node.tsx b/desktop/src/reducers/__tests__/plugins.node.tsx similarity index 100% rename from src/reducers/__tests__/plugins.node.tsx rename to desktop/src/reducers/__tests__/plugins.node.tsx diff --git a/src/reducers/__tests__/settings.node.tsx b/desktop/src/reducers/__tests__/settings.node.tsx similarity index 100% rename from src/reducers/__tests__/settings.node.tsx rename to desktop/src/reducers/__tests__/settings.node.tsx diff --git a/src/reducers/__tests__/user.node.tsx b/desktop/src/reducers/__tests__/user.node.tsx similarity index 100% rename from src/reducers/__tests__/user.node.tsx rename to desktop/src/reducers/__tests__/user.node.tsx diff --git a/src/reducers/application.tsx b/desktop/src/reducers/application.tsx similarity index 100% rename from src/reducers/application.tsx rename to desktop/src/reducers/application.tsx diff --git a/src/reducers/connections.tsx b/desktop/src/reducers/connections.tsx similarity index 100% rename from src/reducers/connections.tsx rename to desktop/src/reducers/connections.tsx diff --git a/src/reducers/healthchecks.tsx b/desktop/src/reducers/healthchecks.tsx similarity index 100% rename from src/reducers/healthchecks.tsx rename to desktop/src/reducers/healthchecks.tsx diff --git a/src/reducers/index.tsx b/desktop/src/reducers/index.tsx similarity index 100% rename from src/reducers/index.tsx rename to desktop/src/reducers/index.tsx diff --git a/src/reducers/launcherSettings.tsx b/desktop/src/reducers/launcherSettings.tsx similarity index 100% rename from src/reducers/launcherSettings.tsx rename to desktop/src/reducers/launcherSettings.tsx diff --git a/src/reducers/notifications.tsx b/desktop/src/reducers/notifications.tsx similarity index 100% rename from src/reducers/notifications.tsx rename to desktop/src/reducers/notifications.tsx diff --git a/src/reducers/pluginManager.tsx b/desktop/src/reducers/pluginManager.tsx similarity index 100% rename from src/reducers/pluginManager.tsx rename to desktop/src/reducers/pluginManager.tsx diff --git a/src/reducers/pluginMessageQueue.tsx b/desktop/src/reducers/pluginMessageQueue.tsx similarity index 100% rename from src/reducers/pluginMessageQueue.tsx rename to desktop/src/reducers/pluginMessageQueue.tsx diff --git a/src/reducers/pluginStates.tsx b/desktop/src/reducers/pluginStates.tsx similarity index 100% rename from src/reducers/pluginStates.tsx rename to desktop/src/reducers/pluginStates.tsx diff --git a/src/reducers/plugins.tsx b/desktop/src/reducers/plugins.tsx similarity index 100% rename from src/reducers/plugins.tsx rename to desktop/src/reducers/plugins.tsx diff --git a/src/reducers/settings.tsx b/desktop/src/reducers/settings.tsx similarity index 100% rename from src/reducers/settings.tsx rename to desktop/src/reducers/settings.tsx diff --git a/src/reducers/supportForm.tsx b/desktop/src/reducers/supportForm.tsx similarity index 100% rename from src/reducers/supportForm.tsx rename to desktop/src/reducers/supportForm.tsx diff --git a/src/reducers/usageTracking.tsx b/desktop/src/reducers/usageTracking.tsx similarity index 100% rename from src/reducers/usageTracking.tsx rename to desktop/src/reducers/usageTracking.tsx diff --git a/src/reducers/user.tsx b/desktop/src/reducers/user.tsx similarity index 100% rename from src/reducers/user.tsx rename to desktop/src/reducers/user.tsx diff --git a/src/server.tsx b/desktop/src/server.tsx similarity index 100% rename from src/server.tsx rename to desktop/src/server.tsx diff --git a/src/store.tsx b/desktop/src/store.tsx similarity index 100% rename from src/store.tsx rename to desktop/src/store.tsx diff --git a/src/test-utils/createMockFlipperWithPlugin.tsx b/desktop/src/test-utils/createMockFlipperWithPlugin.tsx similarity index 100% rename from src/test-utils/createMockFlipperWithPlugin.tsx rename to desktop/src/test-utils/createMockFlipperWithPlugin.tsx diff --git a/src/ui/components/AlternatingRows.tsx b/desktop/src/ui/components/AlternatingRows.tsx similarity index 100% rename from src/ui/components/AlternatingRows.tsx rename to desktop/src/ui/components/AlternatingRows.tsx diff --git a/src/ui/components/Block.tsx b/desktop/src/ui/components/Block.tsx similarity index 100% rename from src/ui/components/Block.tsx rename to desktop/src/ui/components/Block.tsx diff --git a/src/ui/components/Bordered.tsx b/desktop/src/ui/components/Bordered.tsx similarity index 100% rename from src/ui/components/Bordered.tsx rename to desktop/src/ui/components/Bordered.tsx diff --git a/src/ui/components/Box.tsx b/desktop/src/ui/components/Box.tsx similarity index 100% rename from src/ui/components/Box.tsx rename to desktop/src/ui/components/Box.tsx diff --git a/src/ui/components/Button.tsx b/desktop/src/ui/components/Button.tsx similarity index 100% rename from src/ui/components/Button.tsx rename to desktop/src/ui/components/Button.tsx diff --git a/src/ui/components/ButtonGroup.tsx b/desktop/src/ui/components/ButtonGroup.tsx similarity index 100% rename from src/ui/components/ButtonGroup.tsx rename to desktop/src/ui/components/ButtonGroup.tsx diff --git a/src/ui/components/ButtonGroupChain.tsx b/desktop/src/ui/components/ButtonGroupChain.tsx similarity index 100% rename from src/ui/components/ButtonGroupChain.tsx rename to desktop/src/ui/components/ButtonGroupChain.tsx diff --git a/src/ui/components/ButtonNavigationGroup.tsx b/desktop/src/ui/components/ButtonNavigationGroup.tsx similarity index 100% rename from src/ui/components/ButtonNavigationGroup.tsx rename to desktop/src/ui/components/ButtonNavigationGroup.tsx diff --git a/src/ui/components/CenteredView.tsx b/desktop/src/ui/components/CenteredView.tsx similarity index 100% rename from src/ui/components/CenteredView.tsx rename to desktop/src/ui/components/CenteredView.tsx diff --git a/src/ui/components/Checkbox.tsx b/desktop/src/ui/components/Checkbox.tsx similarity index 100% rename from src/ui/components/Checkbox.tsx rename to desktop/src/ui/components/Checkbox.tsx diff --git a/src/ui/components/CodeBlock.tsx b/desktop/src/ui/components/CodeBlock.tsx similarity index 100% rename from src/ui/components/CodeBlock.tsx rename to desktop/src/ui/components/CodeBlock.tsx diff --git a/src/ui/components/ContextMenu.tsx b/desktop/src/ui/components/ContextMenu.tsx similarity index 100% rename from src/ui/components/ContextMenu.tsx rename to desktop/src/ui/components/ContextMenu.tsx diff --git a/src/ui/components/ContextMenuProvider.tsx b/desktop/src/ui/components/ContextMenuProvider.tsx similarity index 100% rename from src/ui/components/ContextMenuProvider.tsx rename to desktop/src/ui/components/ContextMenuProvider.tsx diff --git a/src/ui/components/ErrorBlock.tsx b/desktop/src/ui/components/ErrorBlock.tsx similarity index 100% rename from src/ui/components/ErrorBlock.tsx rename to desktop/src/ui/components/ErrorBlock.tsx diff --git a/src/ui/components/ErrorBoundary.tsx b/desktop/src/ui/components/ErrorBoundary.tsx similarity index 100% rename from src/ui/components/ErrorBoundary.tsx rename to desktop/src/ui/components/ErrorBoundary.tsx diff --git a/src/ui/components/File.tsx b/desktop/src/ui/components/File.tsx similarity index 100% rename from src/ui/components/File.tsx rename to desktop/src/ui/components/File.tsx diff --git a/src/ui/components/FileList.tsx b/desktop/src/ui/components/FileList.tsx similarity index 100% rename from src/ui/components/FileList.tsx rename to desktop/src/ui/components/FileList.tsx diff --git a/src/ui/components/FileSelector.tsx b/desktop/src/ui/components/FileSelector.tsx similarity index 100% rename from src/ui/components/FileSelector.tsx rename to desktop/src/ui/components/FileSelector.tsx diff --git a/src/ui/components/FlexBox.tsx b/desktop/src/ui/components/FlexBox.tsx similarity index 100% rename from src/ui/components/FlexBox.tsx rename to desktop/src/ui/components/FlexBox.tsx diff --git a/src/ui/components/FlexCenter.tsx b/desktop/src/ui/components/FlexCenter.tsx similarity index 100% rename from src/ui/components/FlexCenter.tsx rename to desktop/src/ui/components/FlexCenter.tsx diff --git a/src/ui/components/FlexColumn.tsx b/desktop/src/ui/components/FlexColumn.tsx similarity index 100% rename from src/ui/components/FlexColumn.tsx rename to desktop/src/ui/components/FlexColumn.tsx diff --git a/src/ui/components/FlexRow.tsx b/desktop/src/ui/components/FlexRow.tsx similarity index 100% rename from src/ui/components/FlexRow.tsx rename to desktop/src/ui/components/FlexRow.tsx diff --git a/src/ui/components/FocusableBox.tsx b/desktop/src/ui/components/FocusableBox.tsx similarity index 100% rename from src/ui/components/FocusableBox.tsx rename to desktop/src/ui/components/FocusableBox.tsx diff --git a/src/ui/components/Glyph.tsx b/desktop/src/ui/components/Glyph.tsx similarity index 100% rename from src/ui/components/Glyph.tsx rename to desktop/src/ui/components/Glyph.tsx diff --git a/src/ui/components/HBox.tsx b/desktop/src/ui/components/HBox.tsx similarity index 100% rename from src/ui/components/HBox.tsx rename to desktop/src/ui/components/HBox.tsx diff --git a/src/ui/components/Heading.tsx b/desktop/src/ui/components/Heading.tsx similarity index 100% rename from src/ui/components/Heading.tsx rename to desktop/src/ui/components/Heading.tsx diff --git a/src/ui/components/HorizontalRule.tsx b/desktop/src/ui/components/HorizontalRule.tsx similarity index 100% rename from src/ui/components/HorizontalRule.tsx rename to desktop/src/ui/components/HorizontalRule.tsx diff --git a/src/ui/components/Info.tsx b/desktop/src/ui/components/Info.tsx similarity index 100% rename from src/ui/components/Info.tsx rename to desktop/src/ui/components/Info.tsx diff --git a/src/ui/components/Input.tsx b/desktop/src/ui/components/Input.tsx similarity index 100% rename from src/ui/components/Input.tsx rename to desktop/src/ui/components/Input.tsx diff --git a/src/ui/components/Interactive.tsx b/desktop/src/ui/components/Interactive.tsx similarity index 100% rename from src/ui/components/Interactive.tsx rename to desktop/src/ui/components/Interactive.tsx diff --git a/src/ui/components/Label.tsx b/desktop/src/ui/components/Label.tsx similarity index 100% rename from src/ui/components/Label.tsx rename to desktop/src/ui/components/Label.tsx diff --git a/src/ui/components/Labeled.tsx b/desktop/src/ui/components/Labeled.tsx similarity index 100% rename from src/ui/components/Labeled.tsx rename to desktop/src/ui/components/Labeled.tsx diff --git a/src/ui/components/Link.tsx b/desktop/src/ui/components/Link.tsx similarity index 100% rename from src/ui/components/Link.tsx rename to desktop/src/ui/components/Link.tsx diff --git a/src/ui/components/LoadingIndicator.tsx b/desktop/src/ui/components/LoadingIndicator.tsx similarity index 100% rename from src/ui/components/LoadingIndicator.tsx rename to desktop/src/ui/components/LoadingIndicator.tsx diff --git a/src/ui/components/Markdown.tsx b/desktop/src/ui/components/Markdown.tsx similarity index 100% rename from src/ui/components/Markdown.tsx rename to desktop/src/ui/components/Markdown.tsx diff --git a/src/ui/components/MarkerTimeline.tsx b/desktop/src/ui/components/MarkerTimeline.tsx similarity index 100% rename from src/ui/components/MarkerTimeline.tsx rename to desktop/src/ui/components/MarkerTimeline.tsx diff --git a/src/ui/components/ModalOverlay.tsx b/desktop/src/ui/components/ModalOverlay.tsx similarity index 100% rename from src/ui/components/ModalOverlay.tsx rename to desktop/src/ui/components/ModalOverlay.tsx diff --git a/src/ui/components/MultiLineInput.tsx b/desktop/src/ui/components/MultiLineInput.tsx similarity index 100% rename from src/ui/components/MultiLineInput.tsx rename to desktop/src/ui/components/MultiLineInput.tsx diff --git a/src/ui/components/Orderable.tsx b/desktop/src/ui/components/Orderable.tsx similarity index 100% rename from src/ui/components/Orderable.tsx rename to desktop/src/ui/components/Orderable.tsx diff --git a/src/ui/components/Panel.tsx b/desktop/src/ui/components/Panel.tsx similarity index 100% rename from src/ui/components/Panel.tsx rename to desktop/src/ui/components/Panel.tsx diff --git a/src/ui/components/PathBreadcrumbs.tsx b/desktop/src/ui/components/PathBreadcrumbs.tsx similarity index 100% rename from src/ui/components/PathBreadcrumbs.tsx rename to desktop/src/ui/components/PathBreadcrumbs.tsx diff --git a/src/ui/components/Popover.tsx b/desktop/src/ui/components/Popover.tsx similarity index 100% rename from src/ui/components/Popover.tsx rename to desktop/src/ui/components/Popover.tsx diff --git a/src/ui/components/Radio.tsx b/desktop/src/ui/components/Radio.tsx similarity index 100% rename from src/ui/components/Radio.tsx rename to desktop/src/ui/components/Radio.tsx diff --git a/src/ui/components/ResizeSensor.tsx b/desktop/src/ui/components/ResizeSensor.tsx similarity index 100% rename from src/ui/components/ResizeSensor.tsx rename to desktop/src/ui/components/ResizeSensor.tsx diff --git a/src/ui/components/RoundedSection.tsx b/desktop/src/ui/components/RoundedSection.tsx similarity index 100% rename from src/ui/components/RoundedSection.tsx rename to desktop/src/ui/components/RoundedSection.tsx diff --git a/src/ui/components/Select.tsx b/desktop/src/ui/components/Select.tsx similarity index 100% rename from src/ui/components/Select.tsx rename to desktop/src/ui/components/Select.tsx diff --git a/src/ui/components/Sheet.tsx b/desktop/src/ui/components/Sheet.tsx similarity index 100% rename from src/ui/components/Sheet.tsx rename to desktop/src/ui/components/Sheet.tsx diff --git a/src/ui/components/Sidebar.tsx b/desktop/src/ui/components/Sidebar.tsx similarity index 100% rename from src/ui/components/Sidebar.tsx rename to desktop/src/ui/components/Sidebar.tsx diff --git a/src/ui/components/SidebarLabel.tsx b/desktop/src/ui/components/SidebarLabel.tsx similarity index 100% rename from src/ui/components/SidebarLabel.tsx rename to desktop/src/ui/components/SidebarLabel.tsx diff --git a/src/ui/components/SmallText.tsx b/desktop/src/ui/components/SmallText.tsx similarity index 100% rename from src/ui/components/SmallText.tsx rename to desktop/src/ui/components/SmallText.tsx diff --git a/src/ui/components/StackTrace.tsx b/desktop/src/ui/components/StackTrace.tsx similarity index 100% rename from src/ui/components/StackTrace.tsx rename to desktop/src/ui/components/StackTrace.tsx diff --git a/src/ui/components/StarButton.tsx b/desktop/src/ui/components/StarButton.tsx similarity index 100% rename from src/ui/components/StarButton.tsx rename to desktop/src/ui/components/StarButton.tsx diff --git a/src/ui/components/StatusIndicator.tsx b/desktop/src/ui/components/StatusIndicator.tsx similarity index 100% rename from src/ui/components/StatusIndicator.tsx rename to desktop/src/ui/components/StatusIndicator.tsx diff --git a/src/ui/components/Tab.tsx b/desktop/src/ui/components/Tab.tsx similarity index 100% rename from src/ui/components/Tab.tsx rename to desktop/src/ui/components/Tab.tsx diff --git a/src/ui/components/Tabs.tsx b/desktop/src/ui/components/Tabs.tsx similarity index 100% rename from src/ui/components/Tabs.tsx rename to desktop/src/ui/components/Tabs.tsx diff --git a/src/ui/components/TabsContainer.tsx b/desktop/src/ui/components/TabsContainer.tsx similarity index 100% rename from src/ui/components/TabsContainer.tsx rename to desktop/src/ui/components/TabsContainer.tsx diff --git a/src/ui/components/Text.tsx b/desktop/src/ui/components/Text.tsx similarity index 100% rename from src/ui/components/Text.tsx rename to desktop/src/ui/components/Text.tsx diff --git a/src/ui/components/TextParagraph.tsx b/desktop/src/ui/components/TextParagraph.tsx similarity index 100% rename from src/ui/components/TextParagraph.tsx rename to desktop/src/ui/components/TextParagraph.tsx diff --git a/src/ui/components/Textarea.tsx b/desktop/src/ui/components/Textarea.tsx similarity index 100% rename from src/ui/components/Textarea.tsx rename to desktop/src/ui/components/Textarea.tsx diff --git a/src/ui/components/ToggleSwitch.tsx b/desktop/src/ui/components/ToggleSwitch.tsx similarity index 100% rename from src/ui/components/ToggleSwitch.tsx rename to desktop/src/ui/components/ToggleSwitch.tsx diff --git a/src/ui/components/Toolbar.tsx b/desktop/src/ui/components/Toolbar.tsx similarity index 100% rename from src/ui/components/Toolbar.tsx rename to desktop/src/ui/components/Toolbar.tsx diff --git a/src/ui/components/Tooltip.tsx b/desktop/src/ui/components/Tooltip.tsx similarity index 100% rename from src/ui/components/Tooltip.tsx rename to desktop/src/ui/components/Tooltip.tsx diff --git a/src/ui/components/TooltipProvider.tsx b/desktop/src/ui/components/TooltipProvider.tsx similarity index 100% rename from src/ui/components/TooltipProvider.tsx rename to desktop/src/ui/components/TooltipProvider.tsx diff --git a/src/ui/components/VBox.tsx b/desktop/src/ui/components/VBox.tsx similarity index 100% rename from src/ui/components/VBox.tsx rename to desktop/src/ui/components/VBox.tsx diff --git a/src/ui/components/VerticalRule.tsx b/desktop/src/ui/components/VerticalRule.tsx similarity index 100% rename from src/ui/components/VerticalRule.tsx rename to desktop/src/ui/components/VerticalRule.tsx diff --git a/src/ui/components/View.tsx b/desktop/src/ui/components/View.tsx similarity index 100% rename from src/ui/components/View.tsx rename to desktop/src/ui/components/View.tsx diff --git a/src/ui/components/ViewWithSize.tsx b/desktop/src/ui/components/ViewWithSize.tsx similarity index 100% rename from src/ui/components/ViewWithSize.tsx rename to desktop/src/ui/components/ViewWithSize.tsx diff --git a/src/ui/components/VirtualList.tsx b/desktop/src/ui/components/VirtualList.tsx similarity index 100% rename from src/ui/components/VirtualList.tsx rename to desktop/src/ui/components/VirtualList.tsx diff --git a/src/ui/components/__tests__/MarkerTimeline.electron.tsx b/desktop/src/ui/components/__tests__/MarkerTimeline.electron.tsx similarity index 100% rename from src/ui/components/__tests__/MarkerTimeline.electron.tsx rename to desktop/src/ui/components/__tests__/MarkerTimeline.electron.tsx diff --git a/src/ui/components/__tests__/__snapshots__/MarkerTimeline.electron.tsx.snap b/desktop/src/ui/components/__tests__/__snapshots__/MarkerTimeline.electron.tsx.snap similarity index 100% rename from src/ui/components/__tests__/__snapshots__/MarkerTimeline.electron.tsx.snap rename to desktop/src/ui/components/__tests__/__snapshots__/MarkerTimeline.electron.tsx.snap diff --git a/src/ui/components/colors.tsx b/desktop/src/ui/components/colors.tsx similarity index 100% rename from src/ui/components/colors.tsx rename to desktop/src/ui/components/colors.tsx diff --git a/src/ui/components/console.tsx b/desktop/src/ui/components/console.tsx similarity index 100% rename from src/ui/components/console.tsx rename to desktop/src/ui/components/console.tsx diff --git a/src/ui/components/data-inspector/DataDescription.tsx b/desktop/src/ui/components/data-inspector/DataDescription.tsx similarity index 100% rename from src/ui/components/data-inspector/DataDescription.tsx rename to desktop/src/ui/components/data-inspector/DataDescription.tsx diff --git a/src/ui/components/data-inspector/DataInspector.tsx b/desktop/src/ui/components/data-inspector/DataInspector.tsx similarity index 100% rename from src/ui/components/data-inspector/DataInspector.tsx rename to desktop/src/ui/components/data-inspector/DataInspector.tsx diff --git a/src/ui/components/data-inspector/DataPreview.tsx b/desktop/src/ui/components/data-inspector/DataPreview.tsx similarity index 100% rename from src/ui/components/data-inspector/DataPreview.tsx rename to desktop/src/ui/components/data-inspector/DataPreview.tsx diff --git a/src/ui/components/data-inspector/ManagedDataInspector.tsx b/desktop/src/ui/components/data-inspector/ManagedDataInspector.tsx similarity index 100% rename from src/ui/components/data-inspector/ManagedDataInspector.tsx rename to desktop/src/ui/components/data-inspector/ManagedDataInspector.tsx diff --git a/src/ui/components/data-inspector/utils.tsx b/desktop/src/ui/components/data-inspector/utils.tsx similarity index 100% rename from src/ui/components/data-inspector/utils.tsx rename to desktop/src/ui/components/data-inspector/utils.tsx diff --git a/src/ui/components/desktop-toolbar.tsx b/desktop/src/ui/components/desktop-toolbar.tsx similarity index 100% rename from src/ui/components/desktop-toolbar.tsx rename to desktop/src/ui/components/desktop-toolbar.tsx diff --git a/src/ui/components/elements-inspector/ElementsInspector.tsx b/desktop/src/ui/components/elements-inspector/ElementsInspector.tsx similarity index 100% rename from src/ui/components/elements-inspector/ElementsInspector.tsx rename to desktop/src/ui/components/elements-inspector/ElementsInspector.tsx diff --git a/src/ui/components/elements-inspector/Visualizer.tsx b/desktop/src/ui/components/elements-inspector/Visualizer.tsx similarity index 100% rename from src/ui/components/elements-inspector/Visualizer.tsx rename to desktop/src/ui/components/elements-inspector/Visualizer.tsx diff --git a/src/ui/components/elements-inspector/elements.tsx b/desktop/src/ui/components/elements-inspector/elements.tsx similarity index 100% rename from src/ui/components/elements-inspector/elements.tsx rename to desktop/src/ui/components/elements-inspector/elements.tsx diff --git a/src/ui/components/elements-inspector/sidebar.tsx b/desktop/src/ui/components/elements-inspector/sidebar.tsx similarity index 100% rename from src/ui/components/elements-inspector/sidebar.tsx rename to desktop/src/ui/components/elements-inspector/sidebar.tsx diff --git a/src/ui/components/filter/FilterRow.tsx b/desktop/src/ui/components/filter/FilterRow.tsx similarity index 100% rename from src/ui/components/filter/FilterRow.tsx rename to desktop/src/ui/components/filter/FilterRow.tsx diff --git a/src/ui/components/filter/types.tsx b/desktop/src/ui/components/filter/types.tsx similarity index 100% rename from src/ui/components/filter/types.tsx rename to desktop/src/ui/components/filter/types.tsx diff --git a/src/ui/components/searchable/FilterToken.tsx b/desktop/src/ui/components/searchable/FilterToken.tsx similarity index 100% rename from src/ui/components/searchable/FilterToken.tsx rename to desktop/src/ui/components/searchable/FilterToken.tsx diff --git a/src/ui/components/searchable/Searchable.tsx b/desktop/src/ui/components/searchable/Searchable.tsx similarity index 100% rename from src/ui/components/searchable/Searchable.tsx rename to desktop/src/ui/components/searchable/Searchable.tsx diff --git a/src/ui/components/searchable/SearchableTable.tsx b/desktop/src/ui/components/searchable/SearchableTable.tsx similarity index 100% rename from src/ui/components/searchable/SearchableTable.tsx rename to desktop/src/ui/components/searchable/SearchableTable.tsx diff --git a/src/ui/components/searchable/SearchableTable_immutable.tsx b/desktop/src/ui/components/searchable/SearchableTable_immutable.tsx similarity index 100% rename from src/ui/components/searchable/SearchableTable_immutable.tsx rename to desktop/src/ui/components/searchable/SearchableTable_immutable.tsx diff --git a/src/ui/components/table/ManagedTable.tsx b/desktop/src/ui/components/table/ManagedTable.tsx similarity index 100% rename from src/ui/components/table/ManagedTable.tsx rename to desktop/src/ui/components/table/ManagedTable.tsx diff --git a/src/ui/components/table/ManagedTable_immutable.tsx b/desktop/src/ui/components/table/ManagedTable_immutable.tsx similarity index 100% rename from src/ui/components/table/ManagedTable_immutable.tsx rename to desktop/src/ui/components/table/ManagedTable_immutable.tsx diff --git a/src/ui/components/table/TableHead.tsx b/desktop/src/ui/components/table/TableHead.tsx similarity index 100% rename from src/ui/components/table/TableHead.tsx rename to desktop/src/ui/components/table/TableHead.tsx diff --git a/src/ui/components/table/TableRow.tsx b/desktop/src/ui/components/table/TableRow.tsx similarity index 100% rename from src/ui/components/table/TableRow.tsx rename to desktop/src/ui/components/table/TableRow.tsx diff --git a/src/ui/components/table/TypeBasedValueRenderer.tsx b/desktop/src/ui/components/table/TypeBasedValueRenderer.tsx similarity index 100% rename from src/ui/components/table/TypeBasedValueRenderer.tsx rename to desktop/src/ui/components/table/TypeBasedValueRenderer.tsx diff --git a/src/ui/components/table/types.tsx b/desktop/src/ui/components/table/types.tsx similarity index 100% rename from src/ui/components/table/types.tsx rename to desktop/src/ui/components/table/types.tsx diff --git a/src/ui/components/table/utils.tsx b/desktop/src/ui/components/table/utils.tsx similarity index 100% rename from src/ui/components/table/utils.tsx rename to desktop/src/ui/components/table/utils.tsx diff --git a/src/ui/index.tsx b/desktop/src/ui/index.tsx similarity index 100% rename from src/ui/index.tsx rename to desktop/src/ui/index.tsx diff --git a/src/utils/CertificateProvider.tsx b/desktop/src/utils/CertificateProvider.tsx similarity index 100% rename from src/utils/CertificateProvider.tsx rename to desktop/src/utils/CertificateProvider.tsx diff --git a/src/utils/Idler.tsx b/desktop/src/utils/Idler.tsx similarity index 100% rename from src/utils/Idler.tsx rename to desktop/src/utils/Idler.tsx diff --git a/src/utils/InteractionTracker.tsx b/desktop/src/utils/InteractionTracker.tsx similarity index 100% rename from src/utils/InteractionTracker.tsx rename to desktop/src/utils/InteractionTracker.tsx diff --git a/src/utils/LowPassFilter.tsx b/desktop/src/utils/LowPassFilter.tsx similarity index 100% rename from src/utils/LowPassFilter.tsx rename to desktop/src/utils/LowPassFilter.tsx diff --git a/src/utils/StubLogger.tsx b/desktop/src/utils/StubLogger.tsx similarity index 100% rename from src/utils/StubLogger.tsx rename to desktop/src/utils/StubLogger.tsx diff --git a/src/utils/__mocks__/argvUtils.js b/desktop/src/utils/__mocks__/argvUtils.js similarity index 100% rename from src/utils/__mocks__/argvUtils.js rename to desktop/src/utils/__mocks__/argvUtils.js diff --git a/src/utils/__tests__/Idler.node.js b/desktop/src/utils/__tests__/Idler.node.js similarity index 100% rename from src/utils/__tests__/Idler.node.js rename to desktop/src/utils/__tests__/Idler.node.js diff --git a/src/utils/__tests__/adbConfig.node.js b/desktop/src/utils/__tests__/adbConfig.node.js similarity index 100% rename from src/utils/__tests__/adbConfig.node.js rename to desktop/src/utils/__tests__/adbConfig.node.js diff --git a/src/utils/__tests__/clientUtils.node.tsx b/desktop/src/utils/__tests__/clientUtils.node.tsx similarity index 100% rename from src/utils/__tests__/clientUtils.node.tsx rename to desktop/src/utils/__tests__/clientUtils.node.tsx diff --git a/src/utils/__tests__/crashReporterUtility.node.js b/desktop/src/utils/__tests__/crashReporterUtility.node.js similarity index 100% rename from src/utils/__tests__/crashReporterUtility.node.js rename to desktop/src/utils/__tests__/crashReporterUtility.node.js diff --git a/src/utils/__tests__/data/settings-v1-valid.json b/desktop/src/utils/__tests__/data/settings-v1-valid.json similarity index 100% rename from src/utils/__tests__/data/settings-v1-valid.json rename to desktop/src/utils/__tests__/data/settings-v1-valid.json diff --git a/src/utils/__tests__/environmentVariables.node.js b/desktop/src/utils/__tests__/environmentVariables.node.js similarity index 100% rename from src/utils/__tests__/environmentVariables.node.js rename to desktop/src/utils/__tests__/environmentVariables.node.js diff --git a/src/utils/__tests__/exportData.electron.tsx b/desktop/src/utils/__tests__/exportData.electron.tsx similarity index 100% rename from src/utils/__tests__/exportData.electron.tsx rename to desktop/src/utils/__tests__/exportData.electron.tsx diff --git a/src/utils/__tests__/icons.node.ts b/desktop/src/utils/__tests__/icons.node.ts similarity index 100% rename from src/utils/__tests__/icons.node.ts rename to desktop/src/utils/__tests__/icons.node.ts diff --git a/src/utils/__tests__/jsonFileStorage.node.js b/desktop/src/utils/__tests__/jsonFileStorage.node.js similarity index 100% rename from src/utils/__tests__/jsonFileStorage.node.js rename to desktop/src/utils/__tests__/jsonFileStorage.node.js diff --git a/src/utils/__tests__/messageQueue.node.tsx b/desktop/src/utils/__tests__/messageQueue.node.tsx similarity index 100% rename from src/utils/__tests__/messageQueue.node.tsx rename to desktop/src/utils/__tests__/messageQueue.node.tsx diff --git a/src/utils/__tests__/packageMetadata.node.js b/desktop/src/utils/__tests__/packageMetadata.node.js similarity index 100% rename from src/utils/__tests__/packageMetadata.node.js rename to desktop/src/utils/__tests__/packageMetadata.node.js diff --git a/src/utils/__tests__/pluginUtils.node.js b/desktop/src/utils/__tests__/pluginUtils.node.js similarity index 100% rename from src/utils/__tests__/pluginUtils.node.js rename to desktop/src/utils/__tests__/pluginUtils.node.js diff --git a/src/utils/__tests__/processConfig.node.js b/desktop/src/utils/__tests__/processConfig.node.js similarity index 100% rename from src/utils/__tests__/processConfig.node.js rename to desktop/src/utils/__tests__/processConfig.node.js diff --git a/src/utils/__tests__/promiseTimeout.node.js b/desktop/src/utils/__tests__/promiseTimeout.node.js similarity index 100% rename from src/utils/__tests__/promiseTimeout.node.js rename to desktop/src/utils/__tests__/promiseTimeout.node.js diff --git a/src/utils/__tests__/serialization.node.js b/desktop/src/utils/__tests__/serialization.node.js similarity index 100% rename from src/utils/__tests__/serialization.node.js rename to desktop/src/utils/__tests__/serialization.node.js diff --git a/src/utils/adbClient.tsx b/desktop/src/utils/adbClient.tsx similarity index 100% rename from src/utils/adbClient.tsx rename to desktop/src/utils/adbClient.tsx diff --git a/src/utils/adbConfig.tsx b/desktop/src/utils/adbConfig.tsx similarity index 100% rename from src/utils/adbConfig.tsx rename to desktop/src/utils/adbConfig.tsx diff --git a/src/utils/androidContainerUtility.tsx b/desktop/src/utils/androidContainerUtility.tsx similarity index 100% rename from src/utils/androidContainerUtility.tsx rename to desktop/src/utils/androidContainerUtility.tsx diff --git a/src/utils/androidContainerUtilityInternal.tsx b/desktop/src/utils/androidContainerUtilityInternal.tsx similarity index 100% rename from src/utils/androidContainerUtilityInternal.tsx rename to desktop/src/utils/androidContainerUtilityInternal.tsx diff --git a/src/utils/argvUtils.tsx b/desktop/src/utils/argvUtils.tsx similarity index 100% rename from src/utils/argvUtils.tsx rename to desktop/src/utils/argvUtils.tsx diff --git a/src/utils/clientUtils.tsx b/desktop/src/utils/clientUtils.tsx similarity index 100% rename from src/utils/clientUtils.tsx rename to desktop/src/utils/clientUtils.tsx diff --git a/src/utils/crashReporterUtility.tsx b/desktop/src/utils/crashReporterUtility.tsx similarity index 100% rename from src/utils/crashReporterUtility.tsx rename to desktop/src/utils/crashReporterUtility.tsx diff --git a/src/utils/electronCrashReporter.tsx b/desktop/src/utils/electronCrashReporter.tsx similarity index 100% rename from src/utils/electronCrashReporter.tsx rename to desktop/src/utils/electronCrashReporter.tsx diff --git a/src/utils/environmentVariables.tsx b/desktop/src/utils/environmentVariables.tsx similarity index 100% rename from src/utils/environmentVariables.tsx rename to desktop/src/utils/environmentVariables.tsx diff --git a/src/utils/errors.tsx b/desktop/src/utils/errors.tsx similarity index 100% rename from src/utils/errors.tsx rename to desktop/src/utils/errors.tsx diff --git a/src/utils/exportData.tsx b/desktop/src/utils/exportData.tsx similarity index 100% rename from src/utils/exportData.tsx rename to desktop/src/utils/exportData.tsx diff --git a/src/utils/exportMetrics.tsx b/desktop/src/utils/exportMetrics.tsx similarity index 100% rename from src/utils/exportMetrics.tsx rename to desktop/src/utils/exportMetrics.tsx diff --git a/src/utils/fbEmployee.tsx b/desktop/src/utils/fbEmployee.tsx similarity index 100% rename from src/utils/fbEmployee.tsx rename to desktop/src/utils/fbEmployee.tsx diff --git a/src/utils/geometry.tsx b/desktop/src/utils/geometry.tsx similarity index 100% rename from src/utils/geometry.tsx rename to desktop/src/utils/geometry.tsx diff --git a/src/utils/icons.d.ts b/desktop/src/utils/icons.d.ts similarity index 100% rename from src/utils/icons.d.ts rename to desktop/src/utils/icons.d.ts diff --git a/src/utils/icons.ts b/desktop/src/utils/icons.ts similarity index 100% rename from src/utils/icons.ts rename to desktop/src/utils/icons.ts diff --git a/src/utils/index.tsx b/desktop/src/utils/index.tsx similarity index 100% rename from src/utils/index.tsx rename to desktop/src/utils/index.tsx diff --git a/src/utils/info.tsx b/desktop/src/utils/info.tsx similarity index 100% rename from src/utils/info.tsx rename to desktop/src/utils/info.tsx diff --git a/src/utils/isHeadless.tsx b/desktop/src/utils/isHeadless.tsx similarity index 100% rename from src/utils/isHeadless.tsx rename to desktop/src/utils/isHeadless.tsx diff --git a/src/utils/isProduction.tsx b/desktop/src/utils/isProduction.tsx similarity index 100% rename from src/utils/isProduction.tsx rename to desktop/src/utils/isProduction.tsx diff --git a/src/utils/js-client/api.js b/desktop/src/utils/js-client/api.js similarity index 100% rename from src/utils/js-client/api.js rename to desktop/src/utils/js-client/api.js diff --git a/src/utils/js-client/example.js b/desktop/src/utils/js-client/example.js similarity index 100% rename from src/utils/js-client/example.js rename to desktop/src/utils/js-client/example.js diff --git a/src/utils/js-client/package.json b/desktop/src/utils/js-client/package.json similarity index 100% rename from src/utils/js-client/package.json rename to desktop/src/utils/js-client/package.json diff --git a/src/utils/js-client/plugins/analyticsLogging.js b/desktop/src/utils/js-client/plugins/analyticsLogging.js similarity index 100% rename from src/utils/js-client/plugins/analyticsLogging.js rename to desktop/src/utils/js-client/plugins/analyticsLogging.js diff --git a/src/utils/js-client/plugins/fury.js b/desktop/src/utils/js-client/plugins/fury.js similarity index 100% rename from src/utils/js-client/plugins/fury.js rename to desktop/src/utils/js-client/plugins/fury.js diff --git a/src/utils/js-client/serverUtils.tsx b/desktop/src/utils/js-client/serverUtils.tsx similarity index 100% rename from src/utils/js-client/serverUtils.tsx rename to desktop/src/utils/js-client/serverUtils.tsx diff --git a/src/utils/js-client/websocketClientFlipperConnection.tsx b/desktop/src/utils/js-client/websocketClientFlipperConnection.tsx similarity index 100% rename from src/utils/js-client/websocketClientFlipperConnection.tsx rename to desktop/src/utils/js-client/websocketClientFlipperConnection.tsx diff --git a/src/utils/js-client/webviewImpl.js b/desktop/src/utils/js-client/webviewImpl.js similarity index 100% rename from src/utils/js-client/webviewImpl.js rename to desktop/src/utils/js-client/webviewImpl.js diff --git a/src/utils/js-client/yarn.lock b/desktop/src/utils/js-client/yarn.lock similarity index 100% rename from src/utils/js-client/yarn.lock rename to desktop/src/utils/js-client/yarn.lock diff --git a/src/utils/jsonFileReduxPersistStorage.tsx b/desktop/src/utils/jsonFileReduxPersistStorage.tsx similarity index 100% rename from src/utils/jsonFileReduxPersistStorage.tsx rename to desktop/src/utils/jsonFileReduxPersistStorage.tsx diff --git a/src/utils/jsonTypes.tsx b/desktop/src/utils/jsonTypes.tsx similarity index 100% rename from src/utils/jsonTypes.tsx rename to desktop/src/utils/jsonTypes.tsx diff --git a/src/utils/launcher.tsx b/desktop/src/utils/launcher.tsx similarity index 100% rename from src/utils/launcher.tsx rename to desktop/src/utils/launcher.tsx diff --git a/src/utils/launcherSettingsStorage.tsx b/desktop/src/utils/launcherSettingsStorage.tsx similarity index 100% rename from src/utils/launcherSettingsStorage.tsx rename to desktop/src/utils/launcherSettingsStorage.tsx diff --git a/src/utils/listDevices.tsx b/desktop/src/utils/listDevices.tsx similarity index 100% rename from src/utils/listDevices.tsx rename to desktop/src/utils/listDevices.tsx diff --git a/src/utils/messageQueue.tsx b/desktop/src/utils/messageQueue.tsx similarity index 100% rename from src/utils/messageQueue.tsx rename to desktop/src/utils/messageQueue.tsx diff --git a/src/utils/metrics.tsx b/desktop/src/utils/metrics.tsx similarity index 100% rename from src/utils/metrics.tsx rename to desktop/src/utils/metrics.tsx diff --git a/src/utils/onRegisterDevice.tsx b/desktop/src/utils/onRegisterDevice.tsx similarity index 100% rename from src/utils/onRegisterDevice.tsx rename to desktop/src/utils/onRegisterDevice.tsx diff --git a/src/utils/openssl-wrapper-with-promises.tsx b/desktop/src/utils/openssl-wrapper-with-promises.tsx similarity index 100% rename from src/utils/openssl-wrapper-with-promises.tsx rename to desktop/src/utils/openssl-wrapper-with-promises.tsx diff --git a/src/utils/packageMetadata.tsx b/desktop/src/utils/packageMetadata.tsx similarity index 100% rename from src/utils/packageMetadata.tsx rename to desktop/src/utils/packageMetadata.tsx diff --git a/src/utils/pathUtils.tsx b/desktop/src/utils/pathUtils.tsx similarity index 100% rename from src/utils/pathUtils.tsx rename to desktop/src/utils/pathUtils.tsx diff --git a/src/utils/persistor.tsx b/desktop/src/utils/persistor.tsx similarity index 100% rename from src/utils/persistor.tsx rename to desktop/src/utils/persistor.tsx diff --git a/src/utils/pluginManager.tsx b/desktop/src/utils/pluginManager.tsx similarity index 100% rename from src/utils/pluginManager.tsx rename to desktop/src/utils/pluginManager.tsx diff --git a/src/utils/pluginStateRecorder.tsx b/desktop/src/utils/pluginStateRecorder.tsx similarity index 100% rename from src/utils/pluginStateRecorder.tsx rename to desktop/src/utils/pluginStateRecorder.tsx diff --git a/src/utils/pluginUtils.tsx b/desktop/src/utils/pluginUtils.tsx similarity index 100% rename from src/utils/pluginUtils.tsx rename to desktop/src/utils/pluginUtils.tsx diff --git a/src/utils/processCleanup.tsx b/desktop/src/utils/processCleanup.tsx similarity index 100% rename from src/utils/processCleanup.tsx rename to desktop/src/utils/processCleanup.tsx diff --git a/src/utils/processConfig.tsx b/desktop/src/utils/processConfig.tsx similarity index 100% rename from src/utils/processConfig.tsx rename to desktop/src/utils/processConfig.tsx diff --git a/src/utils/promiseTimeout.tsx b/desktop/src/utils/promiseTimeout.tsx similarity index 100% rename from src/utils/promiseTimeout.tsx rename to desktop/src/utils/promiseTimeout.tsx diff --git a/src/utils/publicVersionChecker.tsx b/desktop/src/utils/publicVersionChecker.tsx similarity index 100% rename from src/utils/publicVersionChecker.tsx rename to desktop/src/utils/publicVersionChecker.tsx diff --git a/src/utils/reduxDevToolsConfig.tsx b/desktop/src/utils/reduxDevToolsConfig.tsx similarity index 100% rename from src/utils/reduxDevToolsConfig.tsx rename to desktop/src/utils/reduxDevToolsConfig.tsx diff --git a/src/utils/restartFlipper.tsx b/desktop/src/utils/restartFlipper.tsx similarity index 100% rename from src/utils/restartFlipper.tsx rename to desktop/src/utils/restartFlipper.tsx diff --git a/src/utils/runHealthchecks.tsx b/desktop/src/utils/runHealthchecks.tsx similarity index 100% rename from src/utils/runHealthchecks.tsx rename to desktop/src/utils/runHealthchecks.tsx diff --git a/src/utils/screenshot.tsx b/desktop/src/utils/screenshot.tsx similarity index 100% rename from src/utils/screenshot.tsx rename to desktop/src/utils/screenshot.tsx diff --git a/src/utils/serialization.tsx b/desktop/src/utils/serialization.tsx similarity index 100% rename from src/utils/serialization.tsx rename to desktop/src/utils/serialization.tsx diff --git a/src/utils/snap.tsx b/desktop/src/utils/snap.tsx similarity index 100% rename from src/utils/snap.tsx rename to desktop/src/utils/snap.tsx diff --git a/src/utils/supportRequestsFormUtils.tsx b/desktop/src/utils/supportRequestsFormUtils.tsx similarity index 100% rename from src/utils/supportRequestsFormUtils.tsx rename to desktop/src/utils/supportRequestsFormUtils.tsx diff --git a/src/utils/textContent.tsx b/desktop/src/utils/textContent.tsx similarity index 100% rename from src/utils/textContent.tsx rename to desktop/src/utils/textContent.tsx diff --git a/src/utils/typeUtils.tsx b/desktop/src/utils/typeUtils.tsx similarity index 100% rename from src/utils/typeUtils.tsx rename to desktop/src/utils/typeUtils.tsx diff --git a/static/CHANGELOG.md b/desktop/static/CHANGELOG.md similarity index 100% rename from static/CHANGELOG.md rename to desktop/static/CHANGELOG.md diff --git a/static/PortForwardingMacApp.app/Contents/Frameworks/CocoaAsyncSocketMac.framework/CocoaAsyncSocketMac b/desktop/static/PortForwardingMacApp.app/Contents/Frameworks/CocoaAsyncSocketMac.framework/CocoaAsyncSocketMac similarity index 100% rename from static/PortForwardingMacApp.app/Contents/Frameworks/CocoaAsyncSocketMac.framework/CocoaAsyncSocketMac rename to desktop/static/PortForwardingMacApp.app/Contents/Frameworks/CocoaAsyncSocketMac.framework/CocoaAsyncSocketMac diff --git a/static/PortForwardingMacApp.app/Contents/Frameworks/CocoaAsyncSocketMac.framework/Resources/Info.plist b/desktop/static/PortForwardingMacApp.app/Contents/Frameworks/CocoaAsyncSocketMac.framework/Resources/Info.plist similarity index 100% rename from static/PortForwardingMacApp.app/Contents/Frameworks/CocoaAsyncSocketMac.framework/Resources/Info.plist rename to desktop/static/PortForwardingMacApp.app/Contents/Frameworks/CocoaAsyncSocketMac.framework/Resources/Info.plist diff --git a/static/PortForwardingMacApp.app/Contents/Frameworks/CocoaAsyncSocketMac.framework/Versions/A/CocoaAsyncSocketMac b/desktop/static/PortForwardingMacApp.app/Contents/Frameworks/CocoaAsyncSocketMac.framework/Versions/A/CocoaAsyncSocketMac similarity index 100% rename from static/PortForwardingMacApp.app/Contents/Frameworks/CocoaAsyncSocketMac.framework/Versions/A/CocoaAsyncSocketMac rename to desktop/static/PortForwardingMacApp.app/Contents/Frameworks/CocoaAsyncSocketMac.framework/Versions/A/CocoaAsyncSocketMac diff --git a/static/PortForwardingMacApp.app/Contents/Frameworks/CocoaAsyncSocketMac.framework/Versions/A/Resources/Info.plist b/desktop/static/PortForwardingMacApp.app/Contents/Frameworks/CocoaAsyncSocketMac.framework/Versions/A/Resources/Info.plist similarity index 100% rename from static/PortForwardingMacApp.app/Contents/Frameworks/CocoaAsyncSocketMac.framework/Versions/A/Resources/Info.plist rename to desktop/static/PortForwardingMacApp.app/Contents/Frameworks/CocoaAsyncSocketMac.framework/Versions/A/Resources/Info.plist diff --git a/static/PortForwardingMacApp.app/Contents/Frameworks/FBPortForwarding-Mac.framework/FBPortForwarding-Mac b/desktop/static/PortForwardingMacApp.app/Contents/Frameworks/FBPortForwarding-Mac.framework/FBPortForwarding-Mac similarity index 100% rename from static/PortForwardingMacApp.app/Contents/Frameworks/FBPortForwarding-Mac.framework/FBPortForwarding-Mac rename to desktop/static/PortForwardingMacApp.app/Contents/Frameworks/FBPortForwarding-Mac.framework/FBPortForwarding-Mac diff --git a/static/PortForwardingMacApp.app/Contents/Frameworks/FBPortForwarding-Mac.framework/Resources/Info.plist b/desktop/static/PortForwardingMacApp.app/Contents/Frameworks/FBPortForwarding-Mac.framework/Resources/Info.plist similarity index 100% rename from static/PortForwardingMacApp.app/Contents/Frameworks/FBPortForwarding-Mac.framework/Resources/Info.plist rename to desktop/static/PortForwardingMacApp.app/Contents/Frameworks/FBPortForwarding-Mac.framework/Resources/Info.plist diff --git a/static/PortForwardingMacApp.app/Contents/Frameworks/FBPortForwarding-Mac.framework/Versions/A/FBPortForwarding-Mac b/desktop/static/PortForwardingMacApp.app/Contents/Frameworks/FBPortForwarding-Mac.framework/Versions/A/FBPortForwarding-Mac similarity index 100% rename from static/PortForwardingMacApp.app/Contents/Frameworks/FBPortForwarding-Mac.framework/Versions/A/FBPortForwarding-Mac rename to desktop/static/PortForwardingMacApp.app/Contents/Frameworks/FBPortForwarding-Mac.framework/Versions/A/FBPortForwarding-Mac diff --git a/static/PortForwardingMacApp.app/Contents/Frameworks/FBPortForwarding-Mac.framework/Versions/A/Resources/Info.plist b/desktop/static/PortForwardingMacApp.app/Contents/Frameworks/FBPortForwarding-Mac.framework/Versions/A/Resources/Info.plist similarity index 100% rename from static/PortForwardingMacApp.app/Contents/Frameworks/FBPortForwarding-Mac.framework/Versions/A/Resources/Info.plist rename to desktop/static/PortForwardingMacApp.app/Contents/Frameworks/FBPortForwarding-Mac.framework/Versions/A/Resources/Info.plist diff --git a/static/PortForwardingMacApp.app/Contents/Frameworks/peertalkMac.framework/Resources/Info.plist b/desktop/static/PortForwardingMacApp.app/Contents/Frameworks/peertalkMac.framework/Resources/Info.plist similarity index 100% rename from static/PortForwardingMacApp.app/Contents/Frameworks/peertalkMac.framework/Resources/Info.plist rename to desktop/static/PortForwardingMacApp.app/Contents/Frameworks/peertalkMac.framework/Resources/Info.plist diff --git a/static/PortForwardingMacApp.app/Contents/Frameworks/peertalkMac.framework/Versions/A/Resources/Info.plist b/desktop/static/PortForwardingMacApp.app/Contents/Frameworks/peertalkMac.framework/Versions/A/Resources/Info.plist similarity index 100% rename from static/PortForwardingMacApp.app/Contents/Frameworks/peertalkMac.framework/Versions/A/Resources/Info.plist rename to desktop/static/PortForwardingMacApp.app/Contents/Frameworks/peertalkMac.framework/Versions/A/Resources/Info.plist diff --git a/static/PortForwardingMacApp.app/Contents/Frameworks/peertalkMac.framework/Versions/A/peertalkMac b/desktop/static/PortForwardingMacApp.app/Contents/Frameworks/peertalkMac.framework/Versions/A/peertalkMac similarity index 100% rename from static/PortForwardingMacApp.app/Contents/Frameworks/peertalkMac.framework/Versions/A/peertalkMac rename to desktop/static/PortForwardingMacApp.app/Contents/Frameworks/peertalkMac.framework/Versions/A/peertalkMac diff --git a/static/PortForwardingMacApp.app/Contents/Frameworks/peertalkMac.framework/peertalkMac b/desktop/static/PortForwardingMacApp.app/Contents/Frameworks/peertalkMac.framework/peertalkMac similarity index 100% rename from static/PortForwardingMacApp.app/Contents/Frameworks/peertalkMac.framework/peertalkMac rename to desktop/static/PortForwardingMacApp.app/Contents/Frameworks/peertalkMac.framework/peertalkMac diff --git a/static/PortForwardingMacApp.app/Contents/Info.plist b/desktop/static/PortForwardingMacApp.app/Contents/Info.plist similarity index 100% rename from static/PortForwardingMacApp.app/Contents/Info.plist rename to desktop/static/PortForwardingMacApp.app/Contents/Info.plist diff --git a/static/PortForwardingMacApp.app/Contents/MacOS/PortForwardingMacApp b/desktop/static/PortForwardingMacApp.app/Contents/MacOS/PortForwardingMacApp similarity index 100% rename from static/PortForwardingMacApp.app/Contents/MacOS/PortForwardingMacApp rename to desktop/static/PortForwardingMacApp.app/Contents/MacOS/PortForwardingMacApp diff --git a/static/PortForwardingMacApp.app/Contents/PkgInfo b/desktop/static/PortForwardingMacApp.app/Contents/PkgInfo similarity index 100% rename from static/PortForwardingMacApp.app/Contents/PkgInfo rename to desktop/static/PortForwardingMacApp.app/Contents/PkgInfo diff --git a/static/SupportJSClientPreload.js b/desktop/static/SupportJSClientPreload.js similarity index 100% rename from static/SupportJSClientPreload.js rename to desktop/static/SupportJSClientPreload.js diff --git a/static/SupportRequestPreload.js b/desktop/static/SupportRequestPreload.js similarity index 100% rename from static/SupportRequestPreload.js rename to desktop/static/SupportRequestPreload.js diff --git a/static/_watchmanconfig b/desktop/static/_watchmanconfig similarity index 100% rename from static/_watchmanconfig rename to desktop/static/_watchmanconfig diff --git a/static/actions-artifacts.png b/desktop/static/actions-artifacts.png similarity index 100% rename from static/actions-artifacts.png rename to desktop/static/actions-artifacts.png diff --git a/static/anchor.svg b/desktop/static/anchor.svg similarity index 100% rename from static/anchor.svg rename to desktop/static/anchor.svg diff --git a/static/compilePlugins.ts b/desktop/static/compilePlugins.ts similarity index 100% rename from static/compilePlugins.ts rename to desktop/static/compilePlugins.ts diff --git a/static/dmgBackground.png b/desktop/static/dmgBackground.png similarity index 100% rename from static/dmgBackground.png rename to desktop/static/dmgBackground.png diff --git a/static/document-icons/document.icns b/desktop/static/document-icons/document.icns similarity index 100% rename from static/document-icons/document.icns rename to desktop/static/document-icons/document.icns diff --git a/static/document-icons/document.ico b/desktop/static/document-icons/document.ico similarity index 100% rename from static/document-icons/document.ico rename to desktop/static/document-icons/document.ico diff --git a/static/document-icons/document.png b/desktop/static/document-icons/document.png similarity index 100% rename from static/document-icons/document.png rename to desktop/static/document-icons/document.png diff --git a/static/electron-stubs.notjs b/desktop/static/electron-stubs.notjs similarity index 100% rename from static/electron-stubs.notjs rename to desktop/static/electron-stubs.notjs diff --git a/static/globalTestSetup.js b/desktop/static/globalTestSetup.js similarity index 100% rename from static/globalTestSetup.js rename to desktop/static/globalTestSetup.js diff --git a/static/graphiql/graphiql.css b/desktop/static/graphiql/graphiql.css similarity index 100% rename from static/graphiql/graphiql.css rename to desktop/static/graphiql/graphiql.css diff --git a/static/icon.icns b/desktop/static/icon.icns similarity index 100% rename from static/icon.icns rename to desktop/static/icon.icns diff --git a/static/icon.ico b/desktop/static/icon.ico similarity index 100% rename from static/icon.ico rename to desktop/static/icon.ico diff --git a/static/icon.png b/desktop/static/icon.png similarity index 100% rename from static/icon.png rename to desktop/static/icon.png diff --git a/static/icons.json b/desktop/static/icons.json similarity index 100% rename from static/icons.json rename to desktop/static/icons.json diff --git a/static/icons/accessibility.png b/desktop/static/icons/accessibility.png similarity index 100% rename from static/icons/accessibility.png rename to desktop/static/icons/accessibility.png diff --git a/static/icons/android.svg b/desktop/static/icons/android.svg similarity index 100% rename from static/icons/android.svg rename to desktop/static/icons/android.svg diff --git a/static/icons/componentkit-logo.png b/desktop/static/icons/componentkit-logo.png similarity index 100% rename from static/icons/componentkit-logo.png rename to desktop/static/icons/componentkit-logo.png diff --git a/static/icons/ios.svg b/desktop/static/icons/ios.svg similarity index 100% rename from static/icons/ios.svg rename to desktop/static/icons/ios.svg diff --git a/static/icons/litho-logo.png b/desktop/static/icons/litho-logo.png similarity index 100% rename from static/icons/litho-logo.png rename to desktop/static/icons/litho-logo.png diff --git a/static/icons/sidebar_bottom.svg b/desktop/static/icons/sidebar_bottom.svg similarity index 100% rename from static/icons/sidebar_bottom.svg rename to desktop/static/icons/sidebar_bottom.svg diff --git a/static/icons/sidebar_left.svg b/desktop/static/icons/sidebar_left.svg similarity index 100% rename from static/icons/sidebar_left.svg rename to desktop/static/icons/sidebar_left.svg diff --git a/static/icons/sidebar_right.svg b/desktop/static/icons/sidebar_right.svg similarity index 100% rename from static/icons/sidebar_right.svg rename to desktop/static/icons/sidebar_right.svg diff --git a/static/index.dev.html b/desktop/static/index.dev.html similarity index 100% rename from static/index.dev.html rename to desktop/static/index.dev.html diff --git a/static/index.html b/desktop/static/index.html similarity index 100% rename from static/index.html rename to desktop/static/index.html diff --git a/static/index.js b/desktop/static/index.js similarity index 100% rename from static/index.js rename to desktop/static/index.js diff --git a/static/launcher.ts b/desktop/static/launcher.ts similarity index 100% rename from static/launcher.ts rename to desktop/static/launcher.ts diff --git a/static/main.ts b/desktop/static/main.ts similarity index 100% rename from static/main.ts rename to desktop/static/main.ts diff --git a/static/native-modules/keytar-darwin.node b/desktop/static/native-modules/keytar-darwin.node similarity index 100% rename from static/native-modules/keytar-darwin.node rename to desktop/static/native-modules/keytar-darwin.node diff --git a/static/native-modules/keytar-linux.node b/desktop/static/native-modules/keytar-linux.node similarity index 100% rename from static/native-modules/keytar-linux.node rename to desktop/static/native-modules/keytar-linux.node diff --git a/static/native-modules/keytar-win32.node b/desktop/static/native-modules/keytar-win32.node similarity index 100% rename from static/native-modules/keytar-win32.node rename to desktop/static/native-modules/keytar-win32.node diff --git a/static/package.json b/desktop/static/package.json similarity index 100% rename from static/package.json rename to desktop/static/package.json diff --git a/static/pattern.gif b/desktop/static/pattern.gif similarity index 100% rename from static/pattern.gif rename to desktop/static/pattern.gif diff --git a/static/setup.ts b/desktop/static/setup.ts similarity index 100% rename from static/setup.ts rename to desktop/static/setup.ts diff --git a/static/style.css b/desktop/static/style.css similarity index 100% rename from static/style.css rename to desktop/static/style.css diff --git a/static/transforms/__tests__/electron-process.node.js b/desktop/static/transforms/__tests__/electron-process.node.js similarity index 100% rename from static/transforms/__tests__/electron-process.node.js rename to desktop/static/transforms/__tests__/electron-process.node.js diff --git a/static/transforms/__tests__/electron-stubs.node.js b/desktop/static/transforms/__tests__/electron-stubs.node.js similarity index 100% rename from static/transforms/__tests__/electron-stubs.node.js rename to desktop/static/transforms/__tests__/electron-stubs.node.js diff --git a/static/transforms/__tests__/flipper-requires.node.js b/desktop/static/transforms/__tests__/flipper-requires.node.js similarity index 100% rename from static/transforms/__tests__/flipper-requires.node.js rename to desktop/static/transforms/__tests__/flipper-requires.node.js diff --git a/static/transforms/dynamic-requires.js b/desktop/static/transforms/dynamic-requires.js similarity index 100% rename from static/transforms/dynamic-requires.js rename to desktop/static/transforms/dynamic-requires.js diff --git a/static/transforms/electron-process.js b/desktop/static/transforms/electron-process.js similarity index 100% rename from static/transforms/electron-process.js rename to desktop/static/transforms/electron-process.js diff --git a/static/transforms/electron-requires-main.js b/desktop/static/transforms/electron-requires-main.js similarity index 100% rename from static/transforms/electron-requires-main.js rename to desktop/static/transforms/electron-requires-main.js diff --git a/static/transforms/electron-requires.js b/desktop/static/transforms/electron-requires.js similarity index 100% rename from static/transforms/electron-requires.js rename to desktop/static/transforms/electron-requires.js diff --git a/static/transforms/electron-stubs.js b/desktop/static/transforms/electron-stubs.js similarity index 100% rename from static/transforms/electron-stubs.js rename to desktop/static/transforms/electron-stubs.js diff --git a/static/transforms/fb-stubs.js b/desktop/static/transforms/fb-stubs.js similarity index 100% rename from static/transforms/fb-stubs.js rename to desktop/static/transforms/fb-stubs.js diff --git a/static/transforms/flipper-requires.js b/desktop/static/transforms/flipper-requires.js similarity index 100% rename from static/transforms/flipper-requires.js rename to desktop/static/transforms/flipper-requires.js diff --git a/static/transforms/import-react.js b/desktop/static/transforms/import-react.js similarity index 100% rename from static/transforms/import-react.js rename to desktop/static/transforms/import-react.js diff --git a/static/transforms/index.js b/desktop/static/transforms/index.js similarity index 100% rename from static/transforms/index.js rename to desktop/static/transforms/index.js diff --git a/static/uiperf/screenshot.png b/desktop/static/uiperf/screenshot.png similarity index 100% rename from static/uiperf/screenshot.png rename to desktop/static/uiperf/screenshot.png diff --git a/static/vis/vis.min.css b/desktop/static/vis/vis.min.css similarity index 100% rename from static/vis/vis.min.css rename to desktop/static/vis/vis.min.css diff --git a/static/watchman.ts b/desktop/static/watchman.ts similarity index 100% rename from static/watchman.ts rename to desktop/static/watchman.ts diff --git a/static/yarn.lock b/desktop/static/yarn.lock similarity index 100% rename from static/yarn.lock rename to desktop/static/yarn.lock diff --git a/tsconfig.json b/desktop/tsconfig.json similarity index 100% rename from tsconfig.json rename to desktop/tsconfig.json diff --git a/types/JSONStream.d.tsx b/desktop/types/JSONStream.d.tsx similarity index 100% rename from types/JSONStream.d.tsx rename to desktop/types/JSONStream.d.tsx diff --git a/types/ReactDebounceRender.d.tsx b/desktop/types/ReactDebounceRender.d.tsx similarity index 100% rename from types/ReactDebounceRender.d.tsx rename to desktop/types/ReactDebounceRender.d.tsx diff --git a/types/ResizeObserver.d.tsx b/desktop/types/ResizeObserver.d.tsx similarity index 100% rename from types/ResizeObserver.d.tsx rename to desktop/types/ResizeObserver.d.tsx diff --git a/types/XmlBeautifier.d.tsx b/desktop/types/XmlBeautifier.d.tsx similarity index 100% rename from types/XmlBeautifier.d.tsx rename to desktop/types/XmlBeautifier.d.tsx diff --git a/types/adbkit-logcat.d.tsx b/desktop/types/adbkit-logcat.d.tsx similarity index 100% rename from types/adbkit-logcat.d.tsx rename to desktop/types/adbkit-logcat.d.tsx diff --git a/types/adbkit.d.tsx b/desktop/types/adbkit.d.tsx similarity index 100% rename from types/adbkit.d.tsx rename to desktop/types/adbkit.d.tsx diff --git a/types/ansi-to-html.d.ts b/desktop/types/ansi-to-html.d.ts similarity index 100% rename from types/ansi-to-html.d.ts rename to desktop/types/ansi-to-html.d.ts diff --git a/types/decompress-targz.d.tsx b/desktop/types/decompress-targz.d.tsx similarity index 100% rename from types/decompress-targz.d.tsx rename to desktop/types/decompress-targz.d.tsx diff --git a/types/decompress-unzip.d.tsx b/desktop/types/decompress-unzip.d.tsx similarity index 100% rename from types/decompress-unzip.d.tsx rename to desktop/types/decompress-unzip.d.tsx diff --git a/types/download-tarball.d.tsx b/desktop/types/download-tarball.d.tsx similarity index 100% rename from types/download-tarball.d.tsx rename to desktop/types/download-tarball.d.tsx diff --git a/types/globals.tsx b/desktop/types/globals.tsx similarity index 100% rename from types/globals.tsx rename to desktop/types/globals.tsx diff --git a/types/line-replace.d.ts b/desktop/types/line-replace.d.ts similarity index 100% rename from types/line-replace.d.ts rename to desktop/types/line-replace.d.ts diff --git a/types/live-plugin-manager.d.tsx b/desktop/types/live-plugin-manager.d.tsx similarity index 100% rename from types/live-plugin-manager.d.tsx rename to desktop/types/live-plugin-manager.d.tsx diff --git a/types/nodejs.tsx b/desktop/types/nodejs.tsx similarity index 100% rename from types/nodejs.tsx rename to desktop/types/nodejs.tsx diff --git a/types/npm-api.d.ts b/desktop/types/npm-api.d.ts similarity index 100% rename from types/npm-api.d.ts rename to desktop/types/npm-api.d.ts diff --git a/types/openssl-wrapper.d.tsx b/desktop/types/openssl-wrapper.d.tsx similarity index 100% rename from types/openssl-wrapper.d.tsx rename to desktop/types/openssl-wrapper.d.tsx diff --git a/types/string-natural-compare.d.tsx b/desktop/types/string-natural-compare.d.tsx similarity index 100% rename from types/string-natural-compare.d.tsx rename to desktop/types/string-natural-compare.d.tsx diff --git a/yarn.lock b/desktop/yarn.lock similarity index 100% rename from yarn.lock rename to desktop/yarn.lock diff --git a/docs/extending/establishing-a-connection.md b/docs/extending/establishing-a-connection.md index 58fe2d58f..1ccb75112 100644 --- a/docs/extending/establishing-a-connection.md +++ b/docs/extending/establishing-a-connection.md @@ -60,4 +60,4 @@ This will ask Flipper desktop to generate a client certificate, using the CSR pr Depending on the client, `destination` can have a different meaning. A basic example would be a file path, that both the desktop and the client have access to. With this Flipper desktop could write the certificate to that path. A more involved example is that of the Android Client, where destination specifies a relative path inside an app container. And the Subject Common Name determines which app container. Together these two pieces of information form an absolute file path inside an android device. -For Flipper desktop to work with a given Client type, it needs to be modified to know how to correctly interpret the `destination` argument, and deploy certificates to it. You can see the current implementations in [CertificateProvider.tsx](https://github.com/facebook/flipper/blob/master/src/utils/CertificateProvider.tsx). +For Flipper desktop to work with a given Client type, it needs to be modified to know how to correctly interpret the `destination` argument, and deploy certificates to it. You can see the current implementations in [CertificateProvider.tsx](https://github.com/facebook/flipper/blob/master/desktop/src/utils/CertificateProvider.tsx). diff --git a/docs/extending/styling-components.md b/docs/extending/styling-components.md index 33ca641eb..ea36c4edd 100644 --- a/docs/extending/styling-components.md +++ b/docs/extending/styling-components.md @@ -65,7 +65,7 @@ Pseudo-classes can be used like this: ## Colors -The colors module contains all standard colors used by Flipper. All the available colors are defined in [`src/ui/components/colors.tsx`](https://github.com/facebook/flipper/blob/master/src/ui/components/colors.tsx) with comments about suggested usage of them. And we strongly encourage to use them. They can be required like this: +The colors module contains all standard colors used by Flipper. All the available colors are defined in [`desktop/src/ui/components/colors.tsx`](https://github.com/facebook/flipper/blob/master/desktop/src/ui/components/colors.tsx) with comments about suggested usage of them. And we strongly encourage to use them. They can be required like this: ```javascript import {colors} from 'flipper' diff --git a/docs/extending/testing.md b/docs/extending/testing.md index aa30ffc63..ee7fe3cb0 100644 --- a/docs/extending/testing.md +++ b/docs/extending/testing.md @@ -97,7 +97,7 @@ TEST(MyFlipperPluginTests, testDummy) { ## Testing the Flipper Desktop Plugin Tests should be put in the `__tests__` directory of your plugin sources, and be created using Jest. -An example test suite can be found [here](https://github.com/facebook/flipper/blob/master/src/plugins/layout/__tests__/ProxyArchiveClient.node.tsx). +An example test suite can be found [here](https://github.com/facebook/flipper/blob/master/desktop/src/plugins/layout/__tests__/ProxyArchiveClient.node.tsx). Flipper exposes an API to generate unit tests that can verify _regressions_ and real life scenarios. To generate a unit test: diff --git a/docs/tutorial/js-setup.md b/docs/tutorial/js-setup.md index ec36791c5..c1ea0b922 100644 --- a/docs/tutorial/js-setup.md +++ b/docs/tutorial/js-setup.md @@ -59,6 +59,6 @@ you can also specify a title to show in the Flipper sidebar and an icon to displ } } ``` -*See [package.json](https://github.com/facebook/flipper/blob/master/src/plugins/seamammals/package.json)* +*See [package.json](https://github.com/facebook/flipper/blob/master/desktop/src/plugins/seamammals/package.json)* Now that our package has been set up, we are ready to build a UI for our plugin. Either by using a standardized table-based plugin, or by creating a custom UI. diff --git a/docs/tutorial/js-table.md b/docs/tutorial/js-table.md index f91099495..4502a1341 100644 --- a/docs/tutorial/js-table.md +++ b/docs/tutorial/js-table.md @@ -129,7 +129,7 @@ export default createTablePlugin({ buildRow, }); ``` -*See [index.tsx](https://github.com/facebook/flipper/blob/master/src/plugins/seamammals/index.tsx)* +*See [index.tsx](https://github.com/facebook/flipper/blob/master/desktop/src/plugins/seamammals/index.tsx)* The `method` we define here corresponds to the name of the function we call on the native side to inform diff --git a/docs/tutorial/react-native.md b/docs/tutorial/react-native.md index 11eafe2a9..c8446686b 100644 --- a/docs/tutorial/react-native.md +++ b/docs/tutorial/react-native.md @@ -49,4 +49,4 @@ The `connection` object can also be used to listen to messages coming from the D An example plugin to play a little Tic-Tac-Toe between the Flipper Desktop and a React Native app can be found inside this repository as well (run `yarn && yarn android` in `react-native/ReactNativeFlipperExample` to start the test project): * The React Native JavaScript based plugin implementation: [FlipperTicTacToe.js](https://github.com/facebook/flipper/tree/master/react-native/ReactNativeFlipperExample/FlipperTicTacToe.js) - * The Flipper Desktop plugin implementation: [rn-tic-tac-toe/index.tsx](https://github.com/facebook/flipper/blob/master/src/plugins/rn-tic-tac-toe/index.tsx) + * The Flipper Desktop plugin implementation: [rn-tic-tac-toe/index.tsx](https://github.com/facebook/flipper/blob/master/desktop/src/plugins/rn-tic-tac-toe/index.tsx) diff --git a/greenkeeper.json b/greenkeeper.json index 459972b3f..1a1754cb6 100644 --- a/greenkeeper.json +++ b/greenkeeper.json @@ -2,46 +2,50 @@ "groups": { "main": { "packages": [ - "package.json", - "headless-tests/package.json" + "desktop/package.json", + "desktop/headless-tests/package.json" + ] + }, + "static" : { + "packages": [ + "desktop/static/package.json" ] }, "doctor": { "packages": [ - "doctor/package.json" + "desktop/doctor/package.json" ] }, "pkg": { "packages": [ - "pkg/package.json" + "desktop/pkg/package.json" ] }, "plugins": { "packages": [ - "src/plugins/cpu/package.json", - "src/plugins/crash_reporter/package.json", - "src/plugins/databases/package.json", - "src/plugins/example/package.json", - "src/plugins/fresco/package.json", - "src/plugins/kaios-allocations/package.json", - "src/plugins/kaios-ram/package.json", - "src/plugins/layout/package.json", - "src/plugins/leak_canary/package.json", - "src/plugins/logs/package.json", - "src/plugins/navigation/package.json", - "src/plugins/network/package.json", - "src/plugins/reactdevtools/package.json", - "src/plugins/sandbox/package.json", - "src/plugins/seamammals/package.json", - "src/plugins/sections/d3/package.json", - "src/plugins/sections/package.json", - "src/plugins/shared_preferences/package.json", - "src/utils/js-client/package.json" + "desktop/src/plugins/cpu/package.json", + "desktop/src/plugins/crash_reporter/package.json", + "desktop/src/plugins/databases/package.json", + "desktop/src/plugins/example/package.json", + "desktop/src/plugins/fresco/package.json", + "desktop/src/plugins/kaios-allocations/package.json", + "desktop/src/plugins/kaios-ram/package.json", + "desktop/src/plugins/layout/package.json", + "desktop/src/plugins/leak_canary/package.json", + "desktop/src/plugins/logs/package.json", + "desktop/src/plugins/navigation/package.json", + "desktop/src/plugins/network/package.json", + "desktop/src/plugins/reactdevtools/package.json", + "desktop/src/plugins/sandbox/package.json", + "desktop/src/plugins/seamammals/package.json", + "desktop/src/plugins/sections/d3/package.json", + "desktop/src/plugins/sections/package.json", + "desktop/src/plugins/shared_preferences/package.json", + "desktop/src/utils/js-client/package.json" ] }, "website": { - "packages": [ - "static/package.json", + "packages": [ "website/package.json" ] } diff --git a/react-native/react-native-flipper/README.md b/react-native/react-native-flipper/README.md index 3dab1df78..2232796ac 100644 --- a/react-native/react-native-flipper/README.md +++ b/react-native/react-native-flipper/README.md @@ -27,4 +27,4 @@ An example plugin can be found in [examples/FlipperTicTacToe.js](../sample/Flipp The corresponding Desktop plugin ships by default in Flipper, so importing the above file and dropping the `` component somewhere in your application should work out of the box. -The sources of the corresponding Desktop plugin can be found [here](../../src/plugins/rn-tic-tac-toe). +The sources of the corresponding Desktop plugin can be found [here](../../desktop/src/plugins/rn-tic-tac-toe). diff --git a/scripts/eslint.sh b/scripts/eslint.sh deleted file mode 100755 index 3adecd30c..000000000 --- a/scripts/eslint.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash -# Copyright (c) Facebook, Inc. and its affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -set -e - -# This script is used by `arc lint`. - -THIS_DIR=$(cd -P "$(dirname "${BASH_SOURCE[0]}")" && pwd) -ROOT_DIR=$(cd "$THIS_DIR" && hg root) - -cd "$ROOT_DIR/xplat/sonar" - -# Flipper's Electron dependency downloads itself via a post-install script. -# When running in Sandcastle or devservers, the module install will fail -# because we can't reach the internet. Setting the fwdproxy is dangerous, so -# the next best thing is to install the modules with `--ignore-scripts`. -# However, we can't run `install-node-modules` like this all of the time. -# `install-node-modules` uses its args as keys for the "yarn watchman check" -# cache. So if we run `install-node-modules` outside of this script without -# the flag, but then this script runs it with the flag, we're going to -# invalidate the cache. - -# If `node_modules` exists, we can't tell if it was created with -# `--ignore-scripts` or not, so we play it safe, and avoid touching it. -if [[ ! -d "node_modules" ]]; then - "$ROOT_DIR/xplat/third-party/yarn/install-node-modules" --ignore-scripts --ignore-engines -fi - -exec \ - "$ROOT_DIR/xplat/third-party/node/bin/node" \ - "$ROOT_DIR/xplat/sonar/node_modules/.bin/eslint" \ - "$@" diff --git a/scripts/flow.sh b/scripts/flow.sh deleted file mode 100755 index 73c206efa..000000000 --- a/scripts/flow.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash -# Copyright (c) Facebook, Inc. and its affiliates. -# -# This source code is licensed under the MIT license found in the -# LICENSE file in the root directory of this source tree. - -set -e - -# This script is used by `arc lint`. - -THIS_DIR=$(cd -P "$(dirname "${BASH_SOURCE[0]}")" && pwd) -ROOT_DIR=$(cd "$THIS_DIR" && hg root) - -cd "$ROOT_DIR/xplat/sonar" - -# Sonar's Electron dependency downloads itself via a post-install script. -# When running in Sandcastle or devservers, the module install will fail -# because we can't reach the internet. Setting the fwdproxy is dangerous, so -# the next best thing is to install the modules with `--ignore-scripts`. -# However, we can't run `install-node-modules` like this all of the time. -# `install-node-modules` uses its args as keys for the "yarn watchman check" -# cache. So if we run `install-node-modules` outside of this script without -# the flag, but then this script runs it with the flag, we're going to -# invalidate the cache. - -# If `node_modules` exists, we can't tell if it was created with -# `--ignore-scripts` or not, so we play it safe, and avoid touching it. -if [[ ! -d "node_modules" ]]; then - "$ROOT_DIR/xplat/third-party/yarn/install-node-modules" --ignore-scripts --ignore-engines -fi - -# Prefer the internal version of Flow, which should be in the PATH - but -# fallback to the OSS version (this is needed in Sandcastle). -FLOW_BINARY="$(which flow 2>/dev/null || echo "$ROOT_DIR/xplat/sonar/node_modules/.bin/flow")" - -exec "$FLOW_BINARY" "$@" diff --git a/scripts/setup-env.sh b/scripts/setup-env.sh index 528359165..09a5f77e9 100755 --- a/scripts/setup-env.sh +++ b/scripts/setup-env.sh @@ -12,7 +12,7 @@ main () { source "$ROOT_DIR/xplat/js/env-utils/setup_env_vars.sh" - export SONAR_DIR="$ROOT_DIR/xplat/infinity" + export SONAR_DIR="$ROOT_DIR/xplat/sonar" export PATH="$SONAR_DIR/node_modules/.bin:$ROOT_DIR/xplat/third-party/node/bin:$ROOT_DIR/xplat/third-party/yarn:$PATH" }