TfTHacker on Nostr: 9/11 Search #1: Search for a package used by a plugin Sometimes I want to see how ...
9/11 Search #1: Search for a package used by a plugin
Sometimes I want to see how various packages are used in plugins. For example, recently, I wanted to see how many plugins use Preact. The following search shows you how to do that:
https://sourcegraph.com/search?q=context:global+repo:has.file%28path:%22manifest.json%22+content:%22minAppVersion%22%29+file:%5Epackage%5C.json%24+content:%22preact%22&patternType=standard&sm=1&groupBy=repo
Sometimes I want to see how various packages are used in plugins. For example, recently, I wanted to see how many plugins use Preact. The following search shows you how to do that:
https://sourcegraph.com/search?q=context:global+repo:has.file%28path:%22manifest.json%22+content:%22minAppVersion%22%29+file:%5Epackage%5C.json%24+content:%22preact%22&patternType=standard&sm=1&groupBy=repo