Migrate all plugins to spec v2

Summary: All the plugins migrated to spec v2 to allow packaging/publishing them independently from Flipper releases.

Reviewed By: passy

Differential Revision: D22041384

fbshipit-source-id: 23bfaf724f771a57bd628b9ea1c4d37846534a93
This commit is contained in:
Anton Nikolaev
2020-06-15 07:28:12 -07:00
committed by Facebook GitHub Bot
parent 04e58cd6c2
commit 8003e7eb34
18 changed files with 191 additions and 58 deletions

View File

@@ -1,12 +1,20 @@
{ {
"name": "DeviceCPU", "$schema": "https://fbflipper.com/schemas/plugin-package/v2.json",
"name": "flipper-plugin-device-cpu",
"id": "DeviceCPU",
"version": "1.0.0", "version": "1.0.0",
"main": "index.tsx", "main": "dist/bundle.js",
"flipperBundlerEntry": "index.tsx",
"license": "MIT", "license": "MIT",
"keywords": ["flipper-plugin"], "keywords": [
"flipper-plugin"
],
"title": "CPU", "title": "CPU",
"icon": "underline", "icon": "underline",
"bugs": { "bugs": {
"email": "barney@fb.com" "email": "barney@fb.com"
},
"scripts": {
"prepack": "../../pkg/bin/run bundle"
} }
} }

View File

@@ -1,11 +1,16 @@
{ {
"name": "CrashReporter", "$schema": "https://fbflipper.com/schemas/plugin-package/v2.json",
"name": "flipper-plugin-crash-reporter",
"id": "CrashReporter",
"version": "0.1.0", "version": "0.1.0",
"description": "A plugin which will display a crash", "description": "A plugin which will display a crash",
"main": "index.js", "main": "dist/bundle.js",
"flipperBundlerEntry": "index.js",
"repository": "https://github.com/facebook/flipper", "repository": "https://github.com/facebook/flipper",
"license": "MIT", "license": "MIT",
"keywords": ["flipper-plugin"], "keywords": [
"flipper-plugin"
],
"title": "Crash Reporter", "title": "Crash Reporter",
"bugs": { "bugs": {
"email": "prit91@fb.com", "email": "prit91@fb.com",
@@ -13,5 +18,8 @@
}, },
"dependencies": { "dependencies": {
"unicode-substring": "^1.0.0" "unicode-substring": "^1.0.0"
},
"scripts": {
"prepack": "../../pkg/bin/run bundle"
} }
} }

View File

@@ -1,9 +1,12 @@
{ {
"name": "Databases", "$schema": "https://fbflipper.com/schemas/plugin-package/v2.json",
"name": "flipper-plugin-databases",
"id": "Databases",
"version": "1.0.0", "version": "1.0.0",
"title": "Databases", "title": "Databases",
"icon": "internet", "icon": "internet",
"main": "index.tsx", "main": "dist/bundle.js",
"flipperBundlerEntry": "index.tsx",
"license": "MIT", "license": "MIT",
"keywords": [ "keywords": [
"flipper-plugin" "flipper-plugin"
@@ -22,5 +25,8 @@
"bugs": { "bugs": {
"email": "oncall+flipper@xmail.facebook.com", "email": "oncall+flipper@xmail.facebook.com",
"url": "https://fb.workplace.com/groups/flippersupport/" "url": "https://fb.workplace.com/groups/flippersupport/"
},
"scripts": {
"prepack": "../../pkg/bin/run bundle"
} }
} }

View File

@@ -1,13 +1,29 @@
{ {
"$schema": "https://fbflipper.com/schemas/plugin-package/v2.json",
"name": "flipper-plugin-example", "name": "flipper-plugin-example",
"id": "flipper-plugin-example",
"version": "1.0.0", "version": "1.0.0",
"description": "An example for a Flipper plugin", "description": "An example for a Flipper plugin",
"main": "index.tsx", "main": "dist/bundle.js",
"flipperBundlerEntry": "index.tsx",
"license": "MIT", "license": "MIT",
"keywords": ["flipper-plugin"], "keywords": [
"flipper-plugin"
],
"title": "Example Plugin", "title": "Example Plugin",
"icon": "apps", "icon": "apps",
"bugs": { "bugs": {
"url": "https://fbflipper.com/" "url": "https://fbflipper.com/"
},
"scripts": {
"lint": "flipper-pkg lint",
"prepack": "flipper-pkg lint && flipper-pkg bundle"
},
"peerDependencies": {
"flipper": "0.46.0"
},
"devDependencies": {
"flipper": "0.46.0",
"flipper-pkg": "0.46.0"
} }
} }

View File

@@ -1,12 +1,20 @@
{ {
"name": "Fresco", "$schema": "https://fbflipper.com/schemas/plugin-package/v2.json",
"name": "flipper-plugin-fresco",
"id": "Fresco",
"version": "1.0.0", "version": "1.0.0",
"main": "index.tsx", "main": "dist/bundle.js",
"flipperBundlerEntry": "index.tsx",
"license": "MIT", "license": "MIT",
"keywords": ["flipper-plugin"], "keywords": [
"flipper-plugin"
],
"title": "Images", "title": "Images",
"icon": "profile", "icon": "profile",
"bugs": { "bugs": {
"email": "oncall+fresco@xmail.facebook.com" "email": "oncall+fresco@xmail.facebook.com"
},
"scripts": {
"prepack": "../../pkg/bin/run bundle"
} }
} }

View File

@@ -1,12 +1,20 @@
{ {
"$schema": "https://fbflipper.com/schemas/plugin-package/v2.json",
"name": "flipper-plugin-hermesdebuggerrn", "name": "flipper-plugin-hermesdebuggerrn",
"id": "flipper-plugin-hermesdebuggerrn",
"version": "1.0.0", "version": "1.0.0",
"main": "index.tsx", "main": "dist/bundle.js",
"flipperBundlerEntry": "index.tsx",
"license": "MIT", "license": "MIT",
"title": "Hermes Debugger (RN)", "title": "Hermes Debugger (RN)",
"icon": "apps", "icon": "apps",
"keywords": ["flipper-plugin"], "keywords": [
"flipper-plugin"
],
"bugs": { "bugs": {
"email": "rickhanlonii@fb.com" "email": "rickhanlonii@fb.com"
},
"scripts": {
"prepack": "../../pkg/bin/run bundle"
} }
} }

View File

@@ -1,7 +1,10 @@
{ {
"$schema": "https://fbflipper.com/schemas/plugin-package/v2.json",
"name": "flipper-plugin-kaios-big-allocations", "name": "flipper-plugin-kaios-big-allocations",
"id": "flipper-plugin-kaios-big-allocations",
"version": "1.0.0", "version": "1.0.0",
"main": "index.tsx", "main": "dist/bundle.js",
"flipperBundlerEntry": "index.tsx",
"license": "MIT", "license": "MIT",
"title": "KaiOS: big allocations", "title": "KaiOS: big allocations",
"icon": "apps", "icon": "apps",
@@ -13,7 +16,8 @@
"url": "https://fb.workplace.com/groups/wa.kaios/" "url": "https://fb.workplace.com/groups/wa.kaios/"
}, },
"scripts": { "scripts": {
"postinstall": "patch-package" "postinstall": "patch-package",
"prepack": "../../pkg/bin/run bundle"
}, },
"devDependencies": { "devDependencies": {
"patch-package": "^6.2.0" "patch-package": "^6.2.0"

View File

@@ -1,7 +1,10 @@
{ {
"name": "kaios-graphs", "$schema": "https://fbflipper.com/schemas/plugin-package/v2.json",
"name": "flipper-plugin-kaios-graphs",
"id": "kaios-graphs",
"version": "1.0.0", "version": "1.0.0",
"main": "index.tsx", "main": "dist/bundle.js",
"flipperBundlerEntry": "index.tsx",
"license": "MIT", "license": "MIT",
"title": "KaiOS RAM graph", "title": "KaiOS RAM graph",
"icon": "apps", "icon": "apps",
@@ -21,5 +24,8 @@
}, },
"resolutions": { "resolutions": {
"@types/react": "16.9.17" "@types/react": "16.9.17"
},
"scripts": {
"prepack": "../../pkg/bin/run bundle"
} }
} }

View File

@@ -1,7 +1,10 @@
{ {
"name": "Inspector", "$schema": "https://fbflipper.com/schemas/plugin-package/v2.json",
"name": "flipper-plugin-inspector",
"id": "Inspector",
"version": "1.0.0", "version": "1.0.0",
"main": "index.tsx", "main": "dist/bundle.js",
"flipperBundlerEntry": "index.tsx",
"license": "MIT", "license": "MIT",
"keywords": [ "keywords": [
"flipper-plugin" "flipper-plugin"
@@ -18,5 +21,8 @@
"bugs": { "bugs": {
"email": "oncall+flipper@xmail.facebook.com", "email": "oncall+flipper@xmail.facebook.com",
"url": "https://fb.workplace.com/groups/flippersupport/" "url": "https://fb.workplace.com/groups/flippersupport/"
},
"scripts": {
"prepack": "../../pkg/bin/run bundle"
} }
} }

View File

@@ -1,7 +1,10 @@
{ {
"name": "LeakCanary", "$schema": "https://fbflipper.com/schemas/plugin-package/v2.json",
"name": "flipper-plugin-leak-canary",
"id": "LeakCanary",
"version": "1.0.0", "version": "1.0.0",
"main": "index.tsx", "main": "dist/bundle.js",
"flipperBundlerEntry": "index.tsx",
"license": "MIT", "license": "MIT",
"keywords": [ "keywords": [
"flipper-plugin" "flipper-plugin"
@@ -12,5 +15,8 @@
"title": "LeakCanary", "title": "LeakCanary",
"bugs": { "bugs": {
"email": "jhli@fb.com" "email": "jhli@fb.com"
},
"scripts": {
"prepack": "../../pkg/bin/run bundle"
} }
} }

View File

@@ -1,14 +1,22 @@
{ {
"name": "DeviceLogs", "$schema": "https://fbflipper.com/schemas/plugin-package/v2.json",
"name": "flipper-plugin-device-logs",
"id": "DeviceLogs",
"version": "1.0.0", "version": "1.0.0",
"main": "index.tsx", "main": "dist/bundle.js",
"flipperBundlerEntry": "index.tsx",
"license": "MIT", "license": "MIT",
"keywords": ["flipper-plugin"], "keywords": [
"flipper-plugin"
],
"dependencies": {}, "dependencies": {},
"title": "Logs", "title": "Logs",
"icon": "arrow-right", "icon": "arrow-right",
"bugs": { "bugs": {
"email": "oncall+flipper@xmail.facebook.com", "email": "oncall+flipper@xmail.facebook.com",
"url": "https://fb.workplace.com/groups/flippersupport/" "url": "https://fb.workplace.com/groups/flippersupport/"
},
"scripts": {
"prepack": "../../pkg/bin/run bundle"
} }
} }

View File

@@ -1,12 +1,20 @@
{ {
"$schema": "https://fbflipper.com/schemas/plugin-package/v2.json",
"name": "flipper-plugin-navigation", "name": "flipper-plugin-navigation",
"id": "flipper-plugin-navigation",
"version": "0.0.1", "version": "0.0.1",
"main": "index.tsx", "main": "dist/bundle.js",
"flipperBundlerEntry": "index.tsx",
"license": "MIT", "license": "MIT",
"keywords": ["flipper-plugin"], "keywords": [
"flipper-plugin"
],
"title": "Navigation", "title": "Navigation",
"icon": "directions", "icon": "directions",
"bugs": { "bugs": {
"email": "beneloca@fb.com" "email": "beneloca@fb.com"
},
"scripts": {
"prepack": "../../pkg/bin/run bundle"
} }
} }

View File

@@ -3,7 +3,7 @@
"name": "flipper-plugin-network", "name": "flipper-plugin-network",
"id": "Network", "id": "Network",
"flipperBundlerEntry": "index.tsx", "flipperBundlerEntry": "index.tsx",
"main": "dist/index.js", "main": "dist/bundle.js",
"title": "Network", "title": "Network",
"description": "Use the Network inspector to inspect outgoing network traffic in your apps.", "description": "Use the Network inspector to inspect outgoing network traffic in your apps.",
"icon": "internet", "icon": "internet",
@@ -23,5 +23,8 @@
}, },
"devDependencies": { "devDependencies": {
"@types/pako": "^1.0.1" "@types/pako": "^1.0.1"
},
"scripts": {
"prepack": "../../pkg/bin/run bundle"
} }
} }

View File

@@ -1,7 +1,10 @@
{ {
"$schema": "https://fbflipper.com/schemas/plugin-package/v2.json",
"name": "flipper-plugin-react-devtools", "name": "flipper-plugin-react-devtools",
"id": "flipper-plugin-react-devtools",
"version": "1.0.1", "version": "1.0.1",
"main": "index.tsx", "main": "dist/bundle.js",
"flipperBundlerEntry": "index.tsx",
"license": "MIT", "license": "MIT",
"keywords": [ "keywords": [
"flipper-plugin" "flipper-plugin"
@@ -16,5 +19,8 @@
"bugs": { "bugs": {
"email": "danielbuechele@fb.com" "email": "danielbuechele@fb.com"
}, },
"devDependencies": {} "devDependencies": {},
"scripts": {
"prepack": "../../pkg/bin/run bundle"
}
} }

View File

@@ -1,13 +1,21 @@
{ {
"name": "ReactNativeTicTacToe", "$schema": "https://fbflipper.com/schemas/plugin-package/v2.json",
"name": "flipper-plugin-react-native-tic-tac-toe",
"id": "ReactNativeTicTacToe",
"version": "1.0.0", "version": "1.0.0",
"main": "index.tsx", "main": "dist/bundle.js",
"flipperBundlerEntry": "index.tsx",
"license": "MIT", "license": "MIT",
"keywords": ["flipper-plugin"], "keywords": [
"flipper-plugin"
],
"icon": "apps", "icon": "apps",
"title": "React Native Tic Tac Toe", "title": "React Native Tic Tac Toe",
"category": "Examples", "category": "Examples",
"bugs": { "bugs": {
"email": "mweststrate@fb.com" "email": "mweststrate@fb.com"
},
"scripts": {
"prepack": "../../pkg/bin/run bundle"
} }
} }

View File

@@ -1,12 +1,20 @@
{ {
"name": "Sandbox", "$schema": "https://fbflipper.com/schemas/plugin-package/v2.json",
"name": "flipper-plugin-sandbox",
"id": "Sandbox",
"title": "Sandbox", "title": "Sandbox",
"version": "1.0.0", "version": "1.0.0",
"main": "index.tsx", "main": "dist/bundle.js",
"flipperBundlerEntry": "index.tsx",
"license": "MIT", "license": "MIT",
"keywords": ["flipper-plugin"], "keywords": [
"flipper-plugin"
],
"icon": "translate", "icon": "translate",
"bugs": { "bugs": {
"email": "edoardo@fb.com" "email": "edoardo@fb.com"
},
"scripts": {
"prepack": "../../pkg/bin/run bundle"
} }
} }

View File

@@ -1,19 +1,27 @@
{ {
"$schema": "https://fbflipper.com/schemas/plugin-package/v2.json",
"name": "flipper-plugin-sections", "name": "flipper-plugin-sections",
"id": "flipper-plugin-sections",
"title": "Sections", "title": "Sections",
"bugs": { "bugs": {
"email": "oncall+ios_componentkit@xmail.facebook.com", "email": "oncall+ios_componentkit@xmail.facebook.com",
"url": "https://fb.workplace.com/groups/componentkit/" "url": "https://fb.workplace.com/groups/componentkit/"
}, },
"version": "1.0.0", "version": "1.0.0",
"main": "index.js", "main": "dist/bundle.js",
"flipperBundlerEntry": "index.js",
"license": "MIT", "license": "MIT",
"keywords": ["flipper-plugin"], "keywords": [
"flipper-plugin"
],
"gatekeeper": "flipper_sections_plugin", "gatekeeper": "flipper_sections_plugin",
"dependencies": { "dependencies": {
"react-d3-tree": "^1.12.1" "react-d3-tree": "^1.12.1"
}, },
"resolutions": { "resolutions": {
"react-d3-tree/d3": "file:./d3" "react-d3-tree/d3": "file:./d3"
},
"scripts": {
"prepack": "../../pkg/bin/run bundle"
} }
} }

View File

@@ -1,14 +1,22 @@
{ {
"name": "Preferences", "$schema": "https://fbflipper.com/schemas/plugin-package/v2.json",
"name": "flipper-plugin-preferences",
"id": "Preferences",
"version": "1.0.0", "version": "1.0.0",
"main": "index.js", "main": "dist/bundle.js",
"flipperBundlerEntry": "index.js",
"license": "MIT", "license": "MIT",
"keywords": ["flipper-plugin"], "keywords": [
"flipper-plugin"
],
"dependencies": { "dependencies": {
"lodash": "^4.17.13" "lodash": "^4.17.13"
}, },
"title": "Shared Preferences Viewer", "title": "Shared Preferences Viewer",
"bugs": { "bugs": {
"email": "halsibai@fb.com" "email": "halsibai@fb.com"
},
"scripts": {
"prepack": "../../pkg/bin/run bundle"
} }
} }