ran npx @grafana/create-plugin@latest update which automatically:
updated all the files in the .config/
updated scripts and dependencies in package.json
.nvmrc: updated node version to 20
docker-compose.yaml: update grafana image to use 10.3.6
e2e test fixes:
cypress/integration/smoke.spec.ts: after updating @grafana/aws-sdk the labels are properly associated with the input element, the changes made in this file now select the input element based on the label element instead of using the data-testid attribute.
src/components/selectors.ts: the selector for the code container is prefixed with data-testid after updating the docker image to use 10.3.6
misc fixes (type errors, simple deprecations, other warnings)
src/components/QueryEditor.test.tsx: fixed warning about tests not wrapped in act...
src/DataSource.ts: fix deprecation warning for trimLeft
Changes:
npx @grafana/create-plugin@latest update
which automatically:.config/
package.json
.nvmrc
: updated node version to 20docker-compose.yaml
: update grafana image to use 10.3.6cypress/integration/smoke.spec.ts
: after updating@grafana/aws-sdk
the labels are properly associated with the input element, the changes made in this file now select the input element based on the label element instead of using thedata-testid
attribute.src/components/selectors.ts
: the selector for the code container is prefixed withdata-testid
after updating the docker image to use 10.3.6src/components/QueryEditor.test.tsx
: fixed warning about testsnot wrapped in act...
src/DataSource.ts
: fix deprecation warning fortrimLeft
src/requestLooper.ts
,src/types.ts
: fixDataQuery
deprecation warningsrc/appendFrames.test.ts
,src/components/ConfigEditor.tsx
,src/components/QueryEditor.tsx
, andsrc/language/completionItemProvider.ts
: fixed typescript errors