Files
flipper/desktop/flipper-server-core/package.json
Lorenzo Blasa ff66cd18ec isPluginCompatible for flipper-server-core
Summary:
Yet another implementation of this function.

References:
https://www.internalfb.com/code/fbsource/[85c1fe5afee7]/xplat/sonar/desktop/flipper-frontend-core/src/utils/isPluginCompatible.tsx?lines=14
https://www.internalfb.com/code/fbsource/[85c1fe5afee7]/xplat/sonar/desktop/flipper-ui-core/src/utils/isPluginCompatible.tsx?lines=15

This one:
- Uses GK from the existing server config
- Gets version from the existing server config

It differs in:
- appVersion not passed in as argument
- Doesn't use RenderHost to obtain the server config

I think, this is acceptable as the function body is effectively the conditional, that depends on the caller available dependencies.

Reviewed By: passy

Differential Revision: D37749761

fbshipit-source-id: 3094e87c7770ac66e5764c932a0a0d4e7f5b63f5
2022-07-11 07:04:55 -07:00

83 lines
2.2 KiB
JSON

{
"name": "flipper-server-core",
"private": true,
"version": "0.0.0",
"description": "Flipper server connection SDK",
"repository": "facebook/flipper",
"main": "lib/index.js",
"flipperBundlerEntry": "src",
"types": "lib/index.d.ts",
"license": "MIT",
"bugs": "https://github.com/facebook/flipper/issues",
"dependencies": {
"@iarna/toml": "^2.2.5",
"JSONStream": "^1.3.1",
"adbkit": "^2.11.1",
"adbkit-logcat": "^2.0.1",
"archiver": "^5.3.1",
"async-mutex": "^0.3.2",
"axios": "^0.26.0",
"flipper-common": "0.0.0",
"flipper-doctor": "0.0.0",
"flipper-plugin": "0.0.0",
"flipper-plugin-lib": "0.0.0",
"flipper-server-companion": "0.0.0",
"form-data": "^4.0.0",
"fs-extra": "^10.1.0",
"invariant": "^2.2.4",
"js-base64": "^3.7.2",
"lodash.memoize": "^4.1.2",
"node-fetch": "^3.2.4",
"node-forge": "^0.10.0",
"open": "^8.3.0",
"openssl-wrapper": "^0.3.4",
"promisify-child-process": "^4.1.1",
"rimraf": "^3.0.2",
"rsocket-core": "^0.0.27",
"rsocket-flowable": "^0.0.27",
"rsocket-tcp-server": "^0.0.25",
"rsocket-types": "^0.0.25",
"semver": "^7.3.7",
"serialize-error": "^8.1.0",
"split2": "^4.1.0",
"tmp": "^0.2.1",
"which": "^2.0.2",
"ws": "^8.6.0",
"xdg-basedir": "^4.0.0"
},
"devDependencies": {
"@types/express": "^4.17.13",
"@types/http-proxy": "^1.17.8",
"@types/archiver": "^5.3.1",
"@types/invariant": "^2.2.35",
"@types/memorystream": "^0.3.0",
"@types/node": "^17.0.31",
"@types/node-forge": "^0.10",
"@types/rimraf": "^3.0.2",
"@types/rsocket-core": "^0.0.7",
"@types/rsocket-tcp-server": "^0.0.2",
"@types/split2": "^3.2.1",
"@types/tmp": "^0.2.3",
"@types/which": "^2.0.1",
"@types/ws": "^8.5.3",
"memorystream": "^0.3.1",
"exit-hook": "^2.1.1",
"http-proxy": "^1.18.1",
"express": "^4.17.3"
},
"peerDependencies": {},
"scripts": {
"reset": "rimraf lib *.tsbuildinfo",
"build": "tsc -b",
"prepack": "yarn reset && yarn build"
},
"files": [
"lib/**/*"
],
"homepage": "https://github.com/facebook/flipper",
"keywords": [
"Flipper"
],
"author": "Facebook, Inc"
}