From 76975e84c85aa52c8e439c02df04ee8f115efdc5 Mon Sep 17 00:00:00 2001 From: Josh Kaplan Date: Tue, 30 May 2023 11:26:35 -0700 Subject: [PATCH] fix: flipper id change - ref: https://github.com/Shopify/react-native-performance/pull/95/files - id: https://github.com/Shopify/react-native-performance/blob/main/packages/flipper-plugin-react-native-performance/package.json#L4 --- fixture/package.json | 1 - .../src/ListsProfiler.tsx | 2 +- yarn.lock | 7 ------- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/fixture/package.json b/fixture/package.json index 87b8ce7..0c8b971 100644 --- a/fixture/package.json +++ b/fixture/package.json @@ -16,7 +16,6 @@ "@react-navigation/drawer": "6.4.1", "@react-navigation/native": "6.0.10", "@react-navigation/stack": "6.2.1", - "@shopify/flipper-plugin-react-native-performance": "1.0.1", "@shopify/react-native-performance": "4.1.2", "@shopify/react-native-performance-lists-profiler": "1.1.0", "@shopify/react-native-performance-navigation": "3.0.0", diff --git a/packages/react-native-performance-lists-profiler/src/ListsProfiler.tsx b/packages/react-native-performance-lists-profiler/src/ListsProfiler.tsx index 2b128e4..43c9b40 100644 --- a/packages/react-native-performance-lists-profiler/src/ListsProfiler.tsx +++ b/packages/react-native-performance-lists-profiler/src/ListsProfiler.tsx @@ -7,7 +7,7 @@ import ListsProfilerProps from './ListsProfilerProps'; const bootstrapPlugin = (): Promise => { return new Promise(resolve => { addPlugin({ - getId: () => '@shopify/react-native-performance', + getId: () => 'shopify-react-native-performance', onConnect: connection => { return resolve(connection); }, diff --git a/yarn.lock b/yarn.lock index 904c98f..8af2bdd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3394,13 +3394,6 @@ pkg-dir "^5.0.0" pluralize "^8.0.0" -"@shopify/flipper-plugin-react-native-performance@1.0.1": - version "1.0.1" - resolved "https://registry.npmjs.org/@shopify/flipper-plugin-react-native-performance/-/flipper-plugin-react-native-performance-1.0.1.tgz#8d4f8f329c4568fad4c08a612789378fd47ae027" - integrity sha512-Ep1HxiT93W9IFa5vXnOB1dBpahCGWImLWYX9b6yJ6Z0UMnGIGLExAIJJkik78ah6g+12Q9b2QtVWwInl94DE6g== - dependencies: - recharts "^2.1.8" - "@sideway/address@^4.1.3": version "4.1.4" resolved "https://registry.yarnpkg.com/@sideway/address/-/address-4.1.4.tgz#03dccebc6ea47fdc226f7d3d1ad512955d4783f0"