@sandersaarond/zip-plugin
v1.0.8
Published
Zip Grafana plugins for distribution.
Downloads
49
Readme
Grafana / Zip Plugin
Zip Grafana plugins for distribution.
@grafana/zip-plugin
works on macOS, Windows and Linux.
If something doesn’t work, please file an issue.
If you have questions or need help, please ask in GitHub Discussions.
Packaging a plugin
Packaging a plugin in a zip file is the recommended way of distributing Grafana plugins.
Before packaging the plugin, you should build and sign it with your normal build tool and @grafana/sign-plugin, respectively.
If your plugin puts build output in /dist, you can just do:
npx @grafana/zip-plugin@latest
If the plugin distribution directory differs from the default dist
, specify the path to use with the --distDir
flag.
npx @grafana/zip-plugin@latest --distDir path/to/directory
Alterntives:
npx
npx @grafana/zip-plugin@latest
yarn
(> 2.x)
yarn dlx @grafana/zip-plugin@latest
Contributing
We are always grateful for contribution! See the CONTRIBUTING.md for more information.