grafana / plugin-tools

Create Grafana plugins with ease.
https://grafana.com/developers/plugin-tools/
Apache License 2.0
55 stars 27 forks source link

Create-Plugin: Add version comment to bundled Javascript #970

Closed jackw closed 4 days ago

jackw commented 2 weeks ago

What this PR does / why we need it: This PR adds a comment at the top of the bundled JS assets with the version of the create-plugin configs used at build time. This will allow our tooling to more easily understand things like cdn compatibility in the future.

Sample comment:

/* [create-plugin] version: 4.12.0 */

Which issue(s) this PR fixes:

Related: grafana/grafana-community-team/issues/133

Special notes for your reviewer:

📦 Published PR as canary version: Canary Versions
:sparkles: Test out this PR locally via: ```bash npm install @grafana/create-plugin@4.14.0-canary.970.e321735.0 # or yarn add @grafana/create-plugin@4.14.0-canary.970.e321735.0 ```
github-actions[bot] commented 2 weeks ago

Hello! 👋 This repository uses Auto for releasing packages using PR labels.

✨ This PR can be merged and will trigger a new minor release. NOTE: When merging a PR with the release label please avoid merging another PR. For further information see here.

grafana-plugins-platform-bot[bot] commented 4 days ago

:rocket: PR was released in @grafana/create-plugin@4.14.0 :rocket: