Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit 79997f2

Browse files
Chaiwat Ekkaewnumchaifacebook-github-bot
Chaiwat Ekkaewnumchai
authored andcommitted
Change Template
Summary: Flipper reads metadata to show on the sidebar from `package.json` and static fields (`id`, `title`, and `icon`) from `FlipperPlugin` class. If there are fields declared in both file, `FlipperPlugin` class takes precedences. With Sandy (new Flipper plugin API), there is no static field available. In order to prevent unexpected scenario happening when migrating to Sandy, this codemod-ish is applied to plugins that contain static field. The static fields are merged into `package.json` to get the same result. In addition, the static fields are also removed. Reviewed By: mweststrate Differential Revision: D22411822 fbshipit-source-id: 3f22e3537f22f01d2d0208980e12da48c85d64f6
1 parent 9e83e93 commit 79997f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ dist
66
website/build
77
react-native/ReactNativeFlipperExample
88
scripts/generate-changelog.js
9+
scripts/facebook/templates/tsx

0 commit comments

Comments
 (0)