Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ jobs:
- name: Build and test frontend
run: yarn build

- name: Check compatibility with minimum supported Grafana version
run: |
MIN_VERSION=$(jq -r '.dependencies.grafanaDependency' src/plugin.json | sed -E 's/^>=\s*//')
echo "Checking against Grafana ${MIN_VERSION}"
npx --yes @grafana/levitate@0.17.3 is-compatible \
--path src/module.ts \
--target "@grafana/data@${MIN_VERSION},@grafana/ui@${MIN_VERSION},@grafana/runtime@${MIN_VERSION}"

- name: Setup build environment
id: build_environment
run: echo "BUILD_VERSION=$(jq -r .version package.json)" >> $GITHUB_OUTPUT
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@types/pubsub-js": "^1.8.3",
"@typescript-eslint/eslint-plugin": "^8.54.0",
"@typescript-eslint/parser": "^8.54.0",
"copy-webpack-plugin": "^13.0.1",
"copy-webpack-plugin": "^14.0.0",
"css-loader": "^7.1.3",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
Expand All @@ -52,7 +52,7 @@
"sass-loader": "16.0.6",
"style-loader": "4.0.0",
"swc-loader": "^0.2.7",
"terser-webpack-plugin": "^5.3.16",
"terser-webpack-plugin": "^5.6.1",
"ts-node": "^10.9.2",
"typescript": "5.9.3",
"webpack": "^5.104.1",
Expand All @@ -66,10 +66,10 @@
},
"dependencies": {
"@emotion/css": "11.13.5",
"@grafana/data": "12.3.2",
"@grafana/runtime": "^12.3.2",
"@grafana/schema": "^12.3.2",
"@grafana/ui": "12.3.2",
"@grafana/data": "13.2.3",
"@grafana/runtime": "^13.2.3",
"@grafana/schema": "^13.2.3",
"@grafana/ui": "13.2.3",
"@remix-run/router": "1.23.3",
"pubsub-js": "^1.9.4",
"react": "19.2.4",
Expand Down
2 changes: 1 addition & 1 deletion setup-demo-environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e -o pipefail

readonly CONTAINER_NAME="grafana-netdata-plugin-demo"
readonly CONTAINER_PORT=3000
readonly GRAFANA_DOCKER_IMAGE="grafana/grafana:10.2.2"
readonly GRAFANA_DOCKER_IMAGE="grafana/grafana:11.6.16"
readonly NETDATA_PLUGIN_REPO="netdata/netdata-grafana-datasource-plugin"
readonly PROGNAME=$(basename $0)
readonly ARG=$1
Expand Down
2 changes: 1 addition & 1 deletion src/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@
}
],
"dependencies": {
"grafanaDependency": ">=10.0.0"
"grafanaDependency": ">=11.0.0"
}
}
Loading
Loading