Remove prepack script from each plugin

Summary: Removed back "prepack" script from every plugin package to keep it simple. Instead we will use `build-plugin` command defined in the root package.json (see next diff in the stack).

Reviewed By: mweststrate

Differential Revision: D22160252

fbshipit-source-id: cffb5df65b89df3fe390c051da0df797b3d16d2d
This commit is contained in:
Anton Nikolaev
2020-06-22 08:14:29 -07:00
committed by Facebook GitHub Bot
parent b69996ca50
commit 4219df6a93
19 changed files with 8 additions and 53 deletions

View File

@@ -13,8 +13,5 @@
"icon": "underline", "icon": "underline",
"bugs": { "bugs": {
"email": "barney@fb.com" "email": "barney@fb.com"
},
"scripts": {
"prepack": "../../pkg/bin/run bundle"
} }
} }

View File

@@ -18,8 +18,5 @@
}, },
"dependencies": { "dependencies": {
"unicode-substring": "^1.0.0" "unicode-substring": "^1.0.0"
},
"scripts": {
"prepack": "../../pkg/bin/run bundle"
} }
} }

View File

@@ -25,8 +25,5 @@
"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

@@ -17,7 +17,9 @@
}, },
"scripts": { "scripts": {
"lint": "flipper-pkg lint", "lint": "flipper-pkg lint",
"prepack": "flipper-pkg lint && flipper-pkg bundle" "build": "flipper-pkg bundle",
"watch": "flipper-pkg bundle --watch",
"prepack": "flipper-pkg lint && flipper-pkg bundle --production"
}, },
"peerDependencies": { "peerDependencies": {
"flipper": "0.47.0" "flipper": "0.47.0"

View File

@@ -13,8 +13,5 @@
"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

@@ -13,8 +13,5 @@
], ],
"bugs": { "bugs": {
"email": "rickhanlonii@fb.com" "email": "rickhanlonii@fb.com"
},
"scripts": {
"prepack": "../../pkg/bin/run bundle"
} }
} }

View File

@@ -16,8 +16,7 @@
"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

@@ -24,8 +24,5 @@
}, },
"resolutions": { "resolutions": {
"@types/react": "16.9.17" "@types/react": "16.9.17"
},
"scripts": {
"prepack": "../../pkg/bin/run bundle"
} }
} }

View File

@@ -21,8 +21,5 @@
"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

@@ -15,8 +15,5 @@
"title": "LeakCanary", "title": "LeakCanary",
"bugs": { "bugs": {
"email": "jhli@fb.com" "email": "jhli@fb.com"
},
"scripts": {
"prepack": "../../pkg/bin/run bundle"
} }
} }

View File

@@ -15,8 +15,5 @@
"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

@@ -13,8 +13,5 @@
"icon": "directions", "icon": "directions",
"bugs": { "bugs": {
"email": "beneloca@fb.com" "email": "beneloca@fb.com"
},
"scripts": {
"prepack": "../../pkg/bin/run bundle"
} }
} }

View File

@@ -23,8 +23,5 @@
}, },
"devDependencies": { "devDependencies": {
"@types/pako": "^1.0.1" "@types/pako": "^1.0.1"
},
"scripts": {
"prepack": "../../pkg/bin/run bundle"
} }
} }

View File

@@ -19,8 +19,5 @@
"bugs": { "bugs": {
"email": "danielbuechele@fb.com" "email": "danielbuechele@fb.com"
}, },
"devDependencies": {}, "devDependencies": {}
"scripts": {
"prepack": "../../pkg/bin/run bundle"
}
} }

View File

@@ -14,8 +14,5 @@
"category": "Examples", "category": "Examples",
"bugs": { "bugs": {
"email": "mweststrate@fb.com" "email": "mweststrate@fb.com"
},
"scripts": {
"prepack": "../../pkg/bin/run bundle"
} }
} }

View File

@@ -13,8 +13,5 @@
"icon": "translate", "icon": "translate",
"bugs": { "bugs": {
"email": "edoardo@fb.com" "email": "edoardo@fb.com"
},
"scripts": {
"prepack": "../../pkg/bin/run bundle"
} }
} }

View File

@@ -18,7 +18,9 @@
}, },
"scripts": { "scripts": {
"lint": "flipper-pkg lint", "lint": "flipper-pkg lint",
"prepack": "flipper-pkg lint && flipper-pkg bundle" "build": "flipper-pkg bundle",
"watch": "flipper-pkg bundle --watch",
"prepack": "flipper-pkg lint && flipper-pkg bundle --production"
}, },
"peerDependencies": { "peerDependencies": {
"flipper": "0.47.0" "flipper": "0.47.0"

View File

@@ -20,8 +20,5 @@
}, },
"resolutions": { "resolutions": {
"react-d3-tree/d3": "file:./d3" "react-d3-tree/d3": "file:./d3"
},
"scripts": {
"prepack": "../../pkg/bin/run bundle"
} }
} }

View File

@@ -15,8 +15,5 @@
"title": "Shared Preferences Viewer", "title": "Shared Preferences Viewer",
"bugs": { "bugs": {
"email": "halsibai@fb.com" "email": "halsibai@fb.com"
},
"scripts": {
"prepack": "../../pkg/bin/run bundle"
} }
} }