Yarn workspaces

Summary:
1) moved "sonar/desktop/src" to "sonar/desktop/app/src", so "app" is now a separate package containing the core Flipper app code
2) Configured yarn workspaces with the root in "sonar/desktop": app, static, pkg, doctor, headless-tests. Plugins are not included for now, I plan to do this later.

Reviewed By: jknoxville

Differential Revision: D20535782

fbshipit-source-id: 600b2301960f37c7d72166e0d04eba462bec9fc1
This commit is contained in:
Anton Nikolaev
2020-03-20 13:31:37 -07:00
committed by Facebook GitHub Bot
parent 676d7bbd24
commit 863f89351e
340 changed files with 1635 additions and 294 deletions

98
desktop/app/package.json Normal file
View File

@@ -0,0 +1,98 @@
{
"name": "flipper",
"version": "0.34.0",
"versionDate": "2018-4-12",
"description": "Mobile development tool",
"productName": "Flipper",
"author": "Facebook Inc",
"main": "src/index.tsx",
"icon": "icon.png",
"category": "facebook-intern",
"privileged": true,
"license": "MIT",
"resolutions": {
"adbkit/adbkit-logcat": "2"
},
"dependencies": {
"@emotion/core": "^10.0.22",
"@emotion/styled": "^10.0.23",
"@iarna/toml": "^2.2.3",
"JSONStream": "^1.3.1",
"adbkit": "^2.11.1",
"adbkit-logcat": "^2.0.1",
"algoliasearch": "^4.0.0",
"ansi-to-html": "^0.6.3",
"async-mutex": "^0.1.3",
"chalk": "^3.0.0",
"codemirror": "^5.25.0",
"cross-env": "^7.0.0",
"dashify": "^2.0.0",
"decompress": "^4.2.0",
"decompress-targz": "^4.1.1",
"decompress-unzip": "^4.0.1",
"deep-equal": "^2.0.1",
"detect-port": "^1.1.1",
"emotion": "^10.0.23",
"expand-tilde": "^2.0.2",
"express": "^4.15.2",
"fb-watchman": "^2.0.0",
"flipper-doctor": "^0.7.0",
"fs-extra": "^8.0.1",
"immer": "^6.0.0",
"immutable": "^4.0.0-rc.12",
"invariant": "^2.2.2",
"line-replace": "^1.0.2",
"live-plugin-manager": "^0.14.0",
"lodash.debounce": "^4.0.8",
"lodash.isequal": "^4.5.0",
"mkdirp": "^1.0.0",
"node-fetch": "^2.3.0",
"npm-api": "^1.0.0",
"open": "^7.0.0",
"openssl-wrapper": "^0.3.4",
"p-map": "^4.0.0",
"patch-package": "^6.2.0",
"pkg": "^4.4.1",
"promise-retry": "^1.1.1",
"promisify-child-process": "^3.1.3",
"prop-types": "^15.6.0",
"query-string": "^6.10.1",
"react": "16.13.0",
"react-color": "^2.11.7",
"react-debounce-render": "^6.0.0",
"react-devtools-core": "^4.0.6",
"react-dom": "^16.13.0",
"react-markdown": "^4.2.2",
"react-player": "^1.15.2",
"react-redux": "^7.1.1",
"react-test-renderer": "^16.13.0",
"react-transition-group": "^4.3.0",
"react-virtualized-auto-sizer": "^1.0.2",
"react-window": "^1.3.1",
"redux": "^4.0.0",
"redux-persist": "^6.0.0",
"remote-redux-devtools": "^0.5.16",
"rsocket-core": "^0.0.19",
"rsocket-tcp-server": "^0.0.19",
"socket.io": "^2.0.4",
"string-natural-compare": "^3.0.0",
"tmp": "0.0.33",
"uuid": "^7.0.1",
"websocket": "^1.0.31",
"which": "^2.0.1",
"ws": "^7.2.0",
"xdg-basedir": "^4.0.0",
"xml2js": "^0.4.19",
"yargs": "^15.0.1",
"yazl": "^2.5.1"
},
"greenkeeper": {
"ignore": [
"tmp",
"flipper-doctor"
]
},
"optionalDependencies": {
"7zip-bin-mac": "^1.0.1"
}
}

View File

@@ -14,10 +14,10 @@ import {State as Store} from '../reducers';
import { import {
readBookmarksFromDB, readBookmarksFromDB,
writeBookmarkToDB, writeBookmarkToDB,
} from '../../plugins/navigation/util/indexedDB'; } from '../../../plugins/navigation/util/indexedDB';
import {PersistedState as NavPluginState} from '../../plugins/navigation/types'; import {PersistedState as NavPluginState} from '../../../plugins/navigation/types';
import BaseDevice from '../devices/BaseDevice'; import BaseDevice from '../devices/BaseDevice';
import {State as PluginState} from 'src/reducers/pluginStates'; import {State as PluginState} from 'app/src/reducers/pluginStates';
import {platform} from 'os'; import {platform} from 'os';
import {getPluginKey} from '../utils/pluginUtils'; import {getPluginKey} from '../utils/pluginUtils';

View File

@@ -22,7 +22,7 @@ import GK from '../fb-stubs/GK';
import * as UserFeedback from '../fb-stubs/UserFeedback'; import * as UserFeedback from '../fb-stubs/UserFeedback';
import {FeedbackPrompt} from '../fb-stubs/UserFeedback'; import {FeedbackPrompt} from '../fb-stubs/UserFeedback';
import {connect} from 'react-redux'; import {connect} from 'react-redux';
import {State as Store} from 'src/reducers'; import {State as Store} from 'app/src/reducers';
type PropsFromState = { type PropsFromState = {
sessionId: string | null; sessionId: string | null;

View File

@@ -9,7 +9,7 @@
import {remote} from 'electron'; import {remote} from 'electron';
import {MetroDevice} from 'flipper'; import {MetroDevice} from 'flipper';
import {Store} from 'src/reducers'; import {Store} from 'app/src/reducers';
type ShortcutEventCommand = type ShortcutEventCommand =
| { | {

View File

@@ -7,7 +7,7 @@
* @format * @format
*/ */
import {Tristate} from 'src/reducers/settings'; import {Tristate} from 'app/src/reducers/settings';
export default function(_props: { export default function(_props: {
isPrefetchingEnabled: Tristate; isPrefetchingEnabled: Tristate;

View File

@@ -8,7 +8,7 @@
*/ */
import {PluginClient, Client, ElementID} from 'flipper'; import {PluginClient, Client, ElementID} from 'flipper';
import {Logger} from 'src/fb-interfaces/Logger'; import {Logger} from 'app/src/fb-interfaces/Logger';
export default [] as Array< export default [] as Array<
( (

Some files were not shown because too many files have changed in this diff Show More