diff --git a/docs/jssetup.md b/docs/jssetup.md index 0daa96450..0c2a0168e 100644 --- a/docs/jssetup.md +++ b/docs/jssetup.md @@ -6,11 +6,11 @@ sidebar_label: JavaScript Setup ## Creating the plugin UI -To create the desktop part of your plugin, initiate a new JavaScript project using `yarn init` and make sure your package name starts with `sonar-plugin-` and a file called `index.js`, which is the entry point to your plugin. A sample `package.json`-file could look like this: +To create the desktop part of your plugin, initiate a new JavaScript project using `yarn init` and make sure your package name starts with `flipper-plugin-` and a file called `index.js`, which is the entry point to your plugin. A sample `package.json`-file could look like this: ``` { - "name": "sonar-plugin-myplugin", + "name": "flipper-plugin-myplugin", "version": "1.0.0", "main": "index.js", "license": "MIT", diff --git a/src/plugins/layout/package.json b/src/plugins/layout/package.json index 8f1b4378c..85d2737e1 100644 --- a/src/plugins/layout/package.json +++ b/src/plugins/layout/package.json @@ -1,5 +1,5 @@ { - "name": "sonar-plugin-layout", + "name": "flipper-plugin-layout", "version": "1.0.0", "main": "index.js", "license": "MIT", diff --git a/src/plugins/leak_canary/package.json b/src/plugins/leak_canary/package.json index 4420350a1..2db6db4d2 100644 --- a/src/plugins/leak_canary/package.json +++ b/src/plugins/leak_canary/package.json @@ -1,5 +1,5 @@ { - "name": "sonar-plugin-leakcanary", + "name": "flipper-plugin-leakcanary", "version": "1.0.0", "main": "index.js", "license": "MIT", diff --git a/src/plugins/network/package.json b/src/plugins/network/package.json index e326e7d9b..d29fc3a21 100644 --- a/src/plugins/network/package.json +++ b/src/plugins/network/package.json @@ -1,5 +1,5 @@ { - "name": "sonar-plugin-network", + "name": "flipper-plugin-network", "version": "1.0.0", "main": "index.js", "license": "MIT", diff --git a/src/plugins/sandbox/package.json b/src/plugins/sandbox/package.json index e7568803f..8dcf0af1a 100644 --- a/src/plugins/sandbox/package.json +++ b/src/plugins/sandbox/package.json @@ -1,5 +1,5 @@ { - "name": "sonar-plugin-sandbox", + "name": "flipper-plugin-sandbox", "version": "1.0.0", "main": "index.js", "license": "MIT", diff --git a/src/plugins/shared_preferences/package.json b/src/plugins/shared_preferences/package.json index d7554afdd..befe28ae5 100644 --- a/src/plugins/shared_preferences/package.json +++ b/src/plugins/shared_preferences/package.json @@ -1,5 +1,5 @@ { - "name": "sonar-plugin-sharedpreferences", + "name": "flipper-plugin-sharedpreferences", "version": "1.0.0", "main": "index.js", "license": "MIT", diff --git a/static/compilePlugins.js b/static/compilePlugins.js index 2345a7ea8..1e373a4d7 100644 --- a/static/compilePlugins.js +++ b/static/compilePlugins.js @@ -90,7 +90,7 @@ function entryPointForPluginFolder(pluginPath) { return fs .readdirSync(pluginPath) .filter(name => - /*name.startsWith('sonar-plugin') && */ fs + /*name.startsWith('flipper-plugin') && */ fs .lstatSync(path.join(pluginPath, name)) .isDirectory(), )