grafana / grafana-plugin-examples

181 stars 52 forks source link

Update all the plugins using create-plugin update #288

Closed Ukochka closed 4 months ago

Ukochka commented 4 months ago

History: There was a script which @academo wrote to update grafana packages. It took desired grafana version and updated specific packages to this version.

Work: While fixing problems for mac OS I added some improvements to check first if the current version is newer than target version and leave it as it is to avoid downgrading

Latest updates: But we decide to use npx create-plugin@latest update to update plugins from now on, because in the future we want to make it automatically. So this PR is a first step to do it. Using create-plugin update tool we update not only npm packages but also config files

jackw commented 4 months ago

I'm sorry to ask this but given the size of this PR is it possible we could separate it out into individual plugin example update PRs to make it easier for reviewers?

Ukochka commented 4 months ago

Sure, I will separate this huge PR, starting from separate PR about updating the script itself https://github.com/grafana/grafana-plugin-examples/pull/290

Ukochka commented 4 months ago

This PR will be splited to many smaller PRs