First, install dependencies. Node 12.x is required
yarn installTo work with this plugin run:
yarn watchThis will run linting tools and apply prettier fix.
Use an actual Docker container in parallel to test:
$ docker run --rm -p 3000:3000 -v "$(pwd)"/dist:/var/lib/grafana/plugins/cloudspout-button-panel --name=grafana grafana/grafana:7.3.3To build the plugin run:
npm run dist-
Update
README.mdfor the correct, upcomming version. -
GRAFANA_API_KEY=... npx @grafana/toolkit plugin:sign GITHUB_TOKEN=... GRAFANA_API_KEY=... npm run release
- Check new release asset with the validator: https://grafana-plugins-web-vgmmyppaka-lz.a.run.app/
- Update Grafana's repo.json entry