Skip to content

Commit

Permalink
Updated to Grafana 11.5.1 dependencies (#118)
Browse files Browse the repository at this point in the history
* Updated to Grafana 11.5.1 dependencies

* Fix lint
  • Loading branch information
mikhail-vl authored Feb 16, 2025
1 parent 5951fb8 commit abcd87a
Show file tree
Hide file tree
Showing 7 changed files with 2,790 additions and 4,190 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Features / Enhancements

- Updated to Grafana 11.5.1 image (#117)
- Updated to Grafana 11.5.1 dependencies (#118)

## 4.4.0 (2024-10-22)

Expand Down
6,906 changes: 2,756 additions & 4,150 deletions package-lock.json

Large diffs are not rendered by default.

44 changes: 22 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,51 +2,51 @@
"author": "Volkov Labs",
"dependencies": {
"@emotion/css": "^11.13.0",
"@grafana/data": "^11.3.0",
"@grafana/runtime": "^11.3.0",
"@grafana/ui": "^11.3.0",
"@grafana/data": "^11.5.1",
"@grafana/runtime": "^11.5.1",
"@grafana/ui": "^11.5.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tslib": "^2.8.0"
},
"description": "Business App for Grafana",
"devDependencies": {
"@babel/core": "^7.25.9",
"@babel/core": "^7.26.9",
"@grafana/eslint-config": "^8.0.0",
"@grafana/plugin-e2e": "^1.18.2",
"@grafana/tsconfig": "^2.0.0",
"@playwright/test": "^1.48.1",
"@swc/core": "^1.7.39",
"@swc/helpers": "^0.5.13",
"@swc/jest": "^0.2.36",
"@testing-library/jest-dom": "^6.6.2",
"@testing-library/react": "^16.0.1",
"@types/jest": "^29.5.13",
"@types/lodash": "^4.17.12",
"@types/node": "^22.7.8",
"@types/webpack-env": "^1.18.5",
"@playwright/test": "^1.50.1",
"@swc/core": "^1.10.16",
"@swc/helpers": "^0.5.15",
"@swc/jest": "^0.2.37",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.2.0",
"@types/jest": "^29.5.14",
"@types/lodash": "^4.17.15",
"@types/node": "^22.13.4",
"@types/webpack-env": "^1.18.8",
"@volkovlabs/eslint-config": "^1.3.0",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^7.1.2",
"eslint-plugin-deprecation": "^3.0.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react": "^7.37.4",
"eslint-webpack-plugin": "^4.2.0",
"fork-ts-checker-webpack-plugin": "^9.0.2",
"glob": "^11.0.0",
"glob": "^11.0.1",
"identity-obj-proxy": "3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.3.3",
"prettier": "^3.5.1",
"replace-in-file-webpack-plugin": "^1.0.6",
"sass": "^1.80.3",
"sass-loader": "^16.0.2",
"sass": "^1.85.0",
"sass-loader": "^16.0.5",
"style-loader": "^4.0.0",
"swc-loader": "^0.2.6",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "5.6.3",
"webpack": "^5.95.0",
"webpack-cli": "^5.1.4",
"typescript": "5.7.3",
"webpack": "^5.97.1",
"webpack-cli": "^6.0.1",
"webpack-livereload-plugin": "^3.0.2"
},
"engines": {
Expand Down
13 changes: 9 additions & 4 deletions provisioning/dashboards/business.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 3,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
Expand Down Expand Up @@ -99,14 +99,19 @@
},
"showAdvancedTypes": false
},
"pluginVersion": "11.2.0",
"pluginVersion": "11.5.1",
"targets": [
{
"refId": "A"
}
],
"title": "Business App",
"type": "canvas"
}
],
"preload": false,
"refresh": "",
"revision": 1,
"schemaVersion": 39,
"schemaVersion": 40,
"tags": [],
"templating": {
"list": []
Expand Down
8 changes: 1 addition & 7 deletions src/components/App/App.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
import { AppRootProps } from '@grafana/data';
import React from 'react';

import { AppSettings } from '../../types';
import { PluginsPage } from './Plugins.page';

/**
* Properties
*/
interface Props extends AppRootProps<AppSettings> {}

/**
* App
*/
export const App: React.FC<Props> = () => {
export const App: React.FC<AppRootProps> = () => {
return <PluginsPage />;
};
3 changes: 1 addition & 2 deletions src/module.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { AppPlugin } from '@grafana/data';

import { App } from './components';
import { AppSettings } from './types';

/**
* App Plugin
*/
export const plugin = new AppPlugin<AppSettings>().setRootPage(App);
export const plugin = new AppPlugin().setRootPage(App);
5 changes: 0 additions & 5 deletions src/types.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/**
* App Settings
*/
export interface AppSettings {}

/**
* SVG
*/
Expand Down

0 comments on commit abcd87a

Please sign in to comment.