From 2948b2f87d7c8b31533ce6bd41741d5ba460dbd5 Mon Sep 17 00:00:00 2001 From: teodosii Date: Tue, 20 Dec 2022 17:47:22 +0200 Subject: [PATCH] lint fix package --- grafana-plugin/package.json | 42 +++++++++++++-------------- grafana-plugin/src/utils/faro.test.ts | 6 ++-- grafana-plugin/yarn.lock | 12 ++++---- 3 files changed, 30 insertions(+), 30 deletions(-) diff --git a/grafana-plugin/package.json b/grafana-plugin/package.json index b0b9392b..264c1abe 100644 --- a/grafana-plugin/package.json +++ b/grafana-plugin/package.json @@ -40,28 +40,7 @@ "author": "Grafana Labs", "license": "Apache-2.0", "devDependencies": { - "@babel/plugin-proposal-class-properties": "^7.18.6", - "@babel/plugin-proposal-decorators": "^7.20.0", - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6", - "@babel/plugin-proposal-object-rest-spread": "^7.18.9", - "@babel/plugin-proposal-optional-chaining": "^7.18.9", - "@babel/plugin-syntax-decorators": "^7.18.6", - "@babel/plugin-syntax-dynamic-import": "^7.8.3", - "@babel/plugin-transform-destructuring": "^7.20.0", - "@babel/plugin-transform-react-constant-elements": "^7.18.12", - "@babel/plugin-transform-runtime": "^7.19.6", - "@babel/plugin-transform-typescript": "^7.18.12", - "@babel/preset-env": "^7.18.10", - "@babel/preset-react": "^7.18.6", - "@babel/preset-typescript": "^7.18.6", - "@grafana/data": "^9.2.4", - "@grafana/eslint-config": "^5.0.0", - "@grafana/faro-core": "1.0.0-beta4", - "@grafana/faro-web-sdk": "1.0.0-beta4", - "@grafana/faro-web-tracing": "1.0.0-beta4", - "@grafana/runtime": "9.3.0-beta1", "@grafana/toolkit": "^9.2.4", - "@grafana/ui": "^9.2.4", "@jest/globals": "^27.5.1", "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "12", @@ -108,6 +87,27 @@ "node": ">=14" }, "dependencies": { + "@babel/plugin-proposal-class-properties": "^7.18.6", + "@babel/plugin-proposal-decorators": "^7.20.0", + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6", + "@babel/plugin-proposal-object-rest-spread": "^7.18.9", + "@babel/plugin-proposal-optional-chaining": "^7.18.9", + "@babel/plugin-syntax-decorators": "^7.18.6", + "@babel/plugin-syntax-dynamic-import": "^7.8.3", + "@babel/plugin-transform-destructuring": "^7.20.0", + "@babel/plugin-transform-react-constant-elements": "^7.18.12", + "@babel/plugin-transform-runtime": "^7.19.6", + "@babel/plugin-transform-typescript": "^7.18.12", + "@babel/preset-env": "^7.18.10", + "@babel/preset-react": "^7.18.6", + "@babel/preset-typescript": "^7.18.6", + "@grafana/data": "^9.2.4", + "@grafana/eslint-config": "^5.0.0", + "@grafana/faro-core": " ^1.0.0-beta4", + "@grafana/faro-web-sdk": "^1.0.0-beta4", + "@grafana/faro-web-tracing": "^1.0.0-beta4", + "@grafana/runtime": "9.3.0-beta1", + "@grafana/ui": "^9.2.4", "@opentelemetry/api": "^1.3.0", "array-move": "^4.0.0", "change-case": "^4.1.1", diff --git a/grafana-plugin/src/utils/faro.test.ts b/grafana-plugin/src/utils/faro.test.ts index 04bb93de..7a1b3fca 100644 --- a/grafana-plugin/src/utils/faro.test.ts +++ b/grafana-plugin/src/utils/faro.test.ts @@ -1,8 +1,8 @@ +import 'jest/matchMedia.ts'; +import { describe, test } from '@jest/globals'; + import FaroHelper from 'utils/faro'; -import 'jest/matchMedia.ts'; - -import { describe, test } from '@jest/globals'; import '@testing-library/jest-dom'; jest.mock('@grafana/faro-web-sdk', () => ({ diff --git a/grafana-plugin/yarn.lock b/grafana-plugin/yarn.lock index 894b36d8..e8eb8d4f 100644 --- a/grafana-plugin/yarn.lock +++ b/grafana-plugin/yarn.lock @@ -1594,7 +1594,7 @@ eslint-plugin-react-hooks "4.3.0" typescript "4.6.4" -"@grafana/faro-core@1.0.0-beta4", "@grafana/faro-core@^1.0.0-beta4": +"@grafana/faro-core@ ^1.0.0-beta4", "@grafana/faro-core@^1.0.0-beta4": version "1.0.0-beta4" resolved "https://registry.yarnpkg.com/@grafana/faro-core/-/faro-core-1.0.0-beta4.tgz#2f38e18764c0a3c3f1af889d510a2896bcb742ab" integrity sha512-tB7705aYCByw4CNWt3WNoV39+sZCudBMiStmiEKHzM17VRRLBjPcrMQTkVYu4zMkEAdWMuAdYhT3xjzHlQpXIA== @@ -1622,7 +1622,7 @@ ua-parser-js "^1.0.32" web-vitals "^3.0.4" -"@grafana/faro-web-sdk@1.0.0-beta4", "@grafana/faro-web-sdk@^1.0.0-beta4": +"@grafana/faro-web-sdk@^1.0.0-beta4": version "1.0.0-beta4" resolved "https://registry.yarnpkg.com/@grafana/faro-web-sdk/-/faro-web-sdk-1.0.0-beta4.tgz#de9ec9b1201b4f02e3746f31dc0e7a3f77df47b3" integrity sha512-yEBprcLn+L4zy/qYwrTEoSRpdbiN29EnesHlonYP5rj+K1G9CU+Oa0BL7PyS1oTEYZ2xOOv/gGYjiyi3PX9PEg== @@ -1631,10 +1631,10 @@ ua-parser-js "^1.0.32" web-vitals "^3.1.0" -"@grafana/faro-web-tracing@1.0.0-beta4": - version "1.0.0-beta4" - resolved "https://registry.yarnpkg.com/@grafana/faro-web-tracing/-/faro-web-tracing-1.0.0-beta4.tgz#c65ace7ccf0c00da901e5532ce83bb07e6713627" - integrity sha512-a+SM+Wm2uONUCtGVFjxrz1O+tHKaQy10YBcqPZZcPDpanf8YMbo1bdYv9mFICvzg4rrvB/OI7mRO0Unr4+zGMQ== +"@grafana/faro-web-tracing@^1.0.0-beta4": + version "1.0.0-beta5" + resolved "https://registry.yarnpkg.com/@grafana/faro-web-tracing/-/faro-web-tracing-1.0.0-beta5.tgz#855f2714131bbc6855f3b2fd81c7e1b0995fc922" + integrity sha512-wHTv5F1eKUzf46dFKJRi4KBXHC1VRALhtgWbR+IeiXZboJn7hvRF7lwvelJzX++RcnApycFdjLi3RVEpbinZOA== dependencies: "@grafana/faro-web-sdk" "^1.0.0-beta4" "@opentelemetry/api" "^1.3.0"