Skip to content

Commit abcd87a

Browse files
authored
Updated to Grafana 11.5.1 dependencies (#118)
* Updated to Grafana 11.5.1 dependencies * Fix lint
1 parent 5951fb8 commit abcd87a

File tree

7 files changed

+2790
-4190
lines changed

7 files changed

+2790
-4190
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Features / Enhancements
66

77
- Updated to Grafana 11.5.1 image (#117)
8+
- Updated to Grafana 11.5.1 dependencies (#118)
89

910
## 4.4.0 (2024-10-22)
1011

package-lock.json

+2,756-4,150
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+22-22
Original file line numberDiff line numberDiff line change
@@ -2,51 +2,51 @@
22
"author": "Volkov Labs",
33
"dependencies": {
44
"@emotion/css": "^11.13.0",
5-
"@grafana/data": "^11.3.0",
6-
"@grafana/runtime": "^11.3.0",
7-
"@grafana/ui": "^11.3.0",
5+
"@grafana/data": "^11.5.1",
6+
"@grafana/runtime": "^11.5.1",
7+
"@grafana/ui": "^11.5.1",
88
"react": "^18.3.1",
99
"react-dom": "^18.3.1",
1010
"tslib": "^2.8.0"
1111
},
1212
"description": "Business App for Grafana",
1313
"devDependencies": {
14-
"@babel/core": "^7.25.9",
14+
"@babel/core": "^7.26.9",
1515
"@grafana/eslint-config": "^8.0.0",
1616
"@grafana/plugin-e2e": "^1.18.2",
1717
"@grafana/tsconfig": "^2.0.0",
18-
"@playwright/test": "^1.48.1",
19-
"@swc/core": "^1.7.39",
20-
"@swc/helpers": "^0.5.13",
21-
"@swc/jest": "^0.2.36",
22-
"@testing-library/jest-dom": "^6.6.2",
23-
"@testing-library/react": "^16.0.1",
24-
"@types/jest": "^29.5.13",
25-
"@types/lodash": "^4.17.12",
26-
"@types/node": "^22.7.8",
27-
"@types/webpack-env": "^1.18.5",
18+
"@playwright/test": "^1.50.1",
19+
"@swc/core": "^1.10.16",
20+
"@swc/helpers": "^0.5.15",
21+
"@swc/jest": "^0.2.37",
22+
"@testing-library/jest-dom": "^6.6.3",
23+
"@testing-library/react": "^16.2.0",
24+
"@types/jest": "^29.5.14",
25+
"@types/lodash": "^4.17.15",
26+
"@types/node": "^22.13.4",
27+
"@types/webpack-env": "^1.18.8",
2828
"@volkovlabs/eslint-config": "^1.3.0",
2929
"copy-webpack-plugin": "^12.0.2",
3030
"css-loader": "^7.1.2",
3131
"eslint-plugin-deprecation": "^3.0.0",
32-
"eslint-plugin-react": "^7.37.2",
32+
"eslint-plugin-react": "^7.37.4",
3333
"eslint-webpack-plugin": "^4.2.0",
3434
"fork-ts-checker-webpack-plugin": "^9.0.2",
35-
"glob": "^11.0.0",
35+
"glob": "^11.0.1",
3636
"identity-obj-proxy": "3.0.0",
3737
"jest": "^29.7.0",
3838
"jest-environment-jsdom": "^29.7.0",
39-
"prettier": "^3.3.3",
39+
"prettier": "^3.5.1",
4040
"replace-in-file-webpack-plugin": "^1.0.6",
41-
"sass": "^1.80.3",
42-
"sass-loader": "^16.0.2",
41+
"sass": "^1.85.0",
42+
"sass-loader": "^16.0.5",
4343
"style-loader": "^4.0.0",
4444
"swc-loader": "^0.2.6",
4545
"ts-node": "^10.9.2",
4646
"tsconfig-paths": "^4.2.0",
47-
"typescript": "5.6.3",
48-
"webpack": "^5.95.0",
49-
"webpack-cli": "^5.1.4",
47+
"typescript": "5.7.3",
48+
"webpack": "^5.97.1",
49+
"webpack-cli": "^6.0.1",
5050
"webpack-livereload-plugin": "^3.0.2"
5151
},
5252
"engines": {

provisioning/dashboards/business.json

+9-4
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"editable": true,
2525
"fiscalYearStartMonth": 0,
2626
"graphTooltip": 0,
27+
"id": 3,
2728
"links": [],
28-
"liveNow": false,
2929
"panels": [
3030
{
3131
"datasource": {
@@ -99,14 +99,19 @@
9999
},
100100
"showAdvancedTypes": false
101101
},
102-
"pluginVersion": "11.2.0",
102+
"pluginVersion": "11.5.1",
103+
"targets": [
104+
{
105+
"refId": "A"
106+
}
107+
],
103108
"title": "Business App",
104109
"type": "canvas"
105110
}
106111
],
112+
"preload": false,
107113
"refresh": "",
108-
"revision": 1,
109-
"schemaVersion": 39,
114+
"schemaVersion": 40,
110115
"tags": [],
111116
"templating": {
112117
"list": []

src/components/App/App.tsx

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
11
import { AppRootProps } from '@grafana/data';
22
import React from 'react';
33

4-
import { AppSettings } from '../../types';
54
import { PluginsPage } from './Plugins.page';
65

7-
/**
8-
* Properties
9-
*/
10-
interface Props extends AppRootProps<AppSettings> {}
11-
126
/**
137
* App
148
*/
15-
export const App: React.FC<Props> = () => {
9+
export const App: React.FC<AppRootProps> = () => {
1610
return <PluginsPage />;
1711
};

src/module.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
import { AppPlugin } from '@grafana/data';
22

33
import { App } from './components';
4-
import { AppSettings } from './types';
54

65
/**
76
* App Plugin
87
*/
9-
export const plugin = new AppPlugin<AppSettings>().setRootPage(App);
8+
export const plugin = new AppPlugin().setRootPage(App);

src/types.ts

-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/**
2-
* App Settings
3-
*/
4-
export interface AppSettings {}
5-
61
/**
72
* SVG
83
*/

0 commit comments

Comments
 (0)