Helpers for searching for plugins during a Shanzhai build.
This package exports a searchForPlugins
function which scans the
package.json
file in the current working directory to list all Shanzhai
plugins within the current package and its direct dependencies.
import { searchForPlugins } from "@shanzhai/plugin-helpers";
const anObjectOfPlugins = await searchForPlugins();
This package has no runtime dependencies.
This package has no runtime peer dependencies (it does not expect any other packages to be installed alongside itself).