Add headless plugin definition
Summary: Support explicitly marking headless plugins as "headless" Reviewed By: passy Differential Revision: D35891387 fbshipit-source-id: 50b5acb3a7c52d7aedf32e271ebe6fc6d4fcef73
This commit is contained in:
committed by
Facebook GitHub Bot
parent
3ac93d301a
commit
50111ef24b
@@ -89,6 +89,7 @@ test('getPluginDetailsV2', async () => {
|
||||
"entry": "/Users/mock/.flipper/thirdparty/flipper-plugin-test/dist/bundle.js",
|
||||
"flipperSDKVersion": undefined,
|
||||
"gatekeeper": "GK_flipper_plugin_test",
|
||||
"headless": undefined,
|
||||
"icon": undefined,
|
||||
"id": "flipper-plugin-test",
|
||||
"isActivatable": true,
|
||||
@@ -135,6 +136,7 @@ test('id used as title if the latter omited', async () => {
|
||||
"entry": "/Users/mock/.flipper/thirdparty/flipper-plugin-test/dist/bundle.js",
|
||||
"flipperSDKVersion": undefined,
|
||||
"gatekeeper": "GK_flipper_plugin_test",
|
||||
"headless": undefined,
|
||||
"icon": undefined,
|
||||
"id": "test",
|
||||
"isActivatable": true,
|
||||
@@ -180,6 +182,7 @@ test('name without "flipper-plugin-" prefix is used as title if the latter omite
|
||||
"entry": "/Users/mock/.flipper/thirdparty/flipper-plugin-test/dist/bundle.js",
|
||||
"flipperSDKVersion": undefined,
|
||||
"gatekeeper": "GK_flipper_plugin_test",
|
||||
"headless": undefined,
|
||||
"icon": undefined,
|
||||
"id": "flipper-plugin-test",
|
||||
"isActivatable": true,
|
||||
@@ -228,6 +231,7 @@ test('flipper-plugin-version is parsed', async () => {
|
||||
"entry": "/Users/mock/.flipper/thirdparty/flipper-plugin-test/dist/bundle.js",
|
||||
"flipperSDKVersion": "^0.45",
|
||||
"gatekeeper": "GK_flipper_plugin_test",
|
||||
"headless": undefined,
|
||||
"icon": undefined,
|
||||
"id": "flipper-plugin-test",
|
||||
"isActivatable": true,
|
||||
@@ -280,6 +284,7 @@ test('plugin type and supported devices parsed', async () => {
|
||||
"entry": "/Users/mock/.flipper/thirdparty/flipper-plugin-test/dist/bundle.js",
|
||||
"flipperSDKVersion": undefined,
|
||||
"gatekeeper": "GK_flipper_plugin_test",
|
||||
"headless": undefined,
|
||||
"icon": undefined,
|
||||
"id": "flipper-plugin-test",
|
||||
"isActivatable": true,
|
||||
@@ -348,6 +353,7 @@ test('plugin type and supported apps parsed', async () => {
|
||||
"entry": "/Users/mock/.flipper/thirdparty/flipper-plugin-test/dist/bundle.js",
|
||||
"flipperSDKVersion": undefined,
|
||||
"gatekeeper": "GK_flipper_plugin_test",
|
||||
"headless": undefined,
|
||||
"icon": undefined,
|
||||
"id": "flipper-plugin-test",
|
||||
"isActivatable": true,
|
||||
@@ -436,6 +442,7 @@ test('can merge two package.json files', async () => {
|
||||
"entry": "/Users/mock/.flipper/thirdparty/flipper-plugin-test/dist/bundle.js",
|
||||
"flipperSDKVersion": undefined,
|
||||
"gatekeeper": "GK_flipper_plugin_test",
|
||||
"headless": undefined,
|
||||
"icon": undefined,
|
||||
"id": "flipper-plugin-test",
|
||||
"isActivatable": true,
|
||||
|
||||
Reference in New Issue
Block a user