Summary: [flipper] Don't break the build if the reactdevtools patching fails There seems to be a bug in yarn workspaces on Windows: ``` Error: Cannot find module 'D:\\a\\flipper\\flipper\\desktop\\plugins\\public\\node_modules\\node_modules\\ts-node\\dist\\bin.js ``` Pull Request resolved: https://github.com/facebook/flipper/pull/5070 Test Plan: Let's see if CI will be happy again. Reviewed By: lblasa Differential Revision: D48681388 Pulled By: passy fbshipit-source-id: d41f21be09c9d060e3c68e36466cfc54b3272325
45 lines
1.1 KiB
JSON
45 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://fbflipper.com/schemas/plugin-package/v2.json",
|
|
"name": "flipper-plugin-react-devtools",
|
|
"id": "React",
|
|
"version": "0.0.0",
|
|
"pluginType": "device",
|
|
"supportedDevices": [
|
|
{
|
|
"os": "Metro",
|
|
"archived": false
|
|
}
|
|
],
|
|
"main": "dist/bundle.js",
|
|
"flipperBundlerEntry": "index.tsx",
|
|
"serverAddOn": "dist/serverAddOn.js",
|
|
"flipperBundlerEntryServerAddOn": "serverAddOn.tsx",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"flipper-plugin"
|
|
],
|
|
"dependencies": {
|
|
"@rollup/plugin-commonjs": "^21.0.3",
|
|
"@rollup/plugin-node-resolve": "^13.1.3",
|
|
"react-devtools-core": "^4.28.0",
|
|
"react-devtools-inline": "^4.28.0",
|
|
"rollup": "^2.70.1",
|
|
"ws": "^8.5.0"
|
|
},
|
|
"title": "React DevTools",
|
|
"icon": "app-react",
|
|
"bugs": {
|
|
"url": "https://github.com/facebook/flipper/issues"
|
|
},
|
|
"devDependencies": {
|
|
"fs-extra": "^11.1.1",
|
|
"ts-node": "^10.9.1"
|
|
},
|
|
"peerDependencies": {
|
|
"flipper-plugin": "*"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "ts-node scripts/remove-sourcemap-reference.tsx || true"
|
|
}
|
|
}
|