grafana / plugin-tools

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

Support node 22 #1298

Closed sunker closed 1 week ago

sunker commented 2 weeks ago

What this PR does / why we need it:

Node 22 is now LTS. This PR adds support for Node 22 in plugin-e2e (and removes the upper bound) and changes the node engine in scaffolded plugins to 22. Also changing all workflows (local and scaffolded) to use 22.

We'll remove support for node 18 entirely once it's moved out of maintenance LTS.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Will add a follow up PR that bumps node version in the examples repo.

📦 Published PR as canary version: Canary Versions
:sparkles: Test out this PR locally via: ```bash npm install @grafana/create-plugin@5.9.0-canary.1298.08bf9c9.0 npm install @grafana/plugin-e2e@1.12.0-canary.1298.08bf9c9.0 # or yarn add @grafana/create-plugin@5.9.0-canary.1298.08bf9c9.0 yarn add @grafana/plugin-e2e@1.12.0-canary.1298.08bf9c9.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.

tolzhabayev commented 2 weeks ago

Some interesting things in node 22:

grafana-plugins-platform-bot[bot] commented 1 week ago

:rocket: PR was released in @grafana/create-plugin@5.9.0, @grafana/plugin-e2e@1.12.0, website@3.5.0 :rocket: