Skip to content

Commit

Permalink
removed unused storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
yesoreyeram committed Apr 27, 2021
1 parent 5427d46 commit 00adb2c
Show file tree
Hide file tree
Showing 6 changed files with 16,197 additions and 20,001 deletions.
10 changes: 0 additions & 10 deletions .storybook/main.js

This file was deleted.

4 changes: 0 additions & 4 deletions .storybook/preview.js

This file was deleted.

12 changes: 3 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
"dev": "grafana-toolkit plugin:dev",
"watch": "grafana-toolkit plugin:dev --watch",
"docs:dev": "vuepress dev",
"docs:build": "vuepress build",
"storybook": "NODE_PATH=src start-storybook -p 6006",
"build-storybook": "build-storybook"
"docs:build": "vuepress build"
},
"repository": {
"type": "git",
Expand All @@ -35,7 +33,7 @@
"web scraping"
],
"author": "Sriramajeyam Sugumaran",
"license": "ISC",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/yesoreyeram/grafana-infinity-datasource/issues"
},
Expand All @@ -44,7 +42,7 @@
"@grafana/data": "7.1.5",
"@grafana/runtime": "7.1.5",
"@grafana/ui": "7.1.5",
"cheerio": "^1.0.0-rc.3",
"cheerio": "^1.0.0-rc.6",
"csv-parse": "^4.12.0",
"jsonpath-plus": "^4.0.0",
"lodash": "^4.17.19",
Expand All @@ -54,10 +52,6 @@
},
"devDependencies": {
"@grafana/toolkit": "7.3.3",
"@storybook/addon-actions": "^6.1.21",
"@storybook/addon-essentials": "^6.1.21",
"@storybook/addon-links": "^6.1.21",
"@storybook/react": "^6.1.21",
"@types/cheerio": "^0.22.21",
"@types/grafana": "github:CorpGlory/types-grafana.git",
"@types/lodash": "^4.14.149",
Expand Down
4 changes: 2 additions & 2 deletions src/app/parsers/HTMLParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export class HTMLParser extends InfinityParser {
const rootElements = $(this.target.root_selector);
return rootElements;
}
private constructTableData(rootElements: Cheerio) {
private constructTableData(rootElements: cheerio.Cheerio) {
forEach(rootElements, r => {
const row: GrafanaTableRow = [];
const $ = load(r);
Expand All @@ -37,7 +37,7 @@ export class HTMLParser extends InfinityParser {
this.rows.push(row);
});
}
private constructTimeSeriesData(rootElements: Cheerio, endTime: Date | undefined) {
private constructTimeSeriesData(rootElements: cheerio.Cheerio, endTime: Date | undefined) {
this.NumbersColumns.forEach((metricColumn: ScrapColumn) => {
forEach(rootElements, r => {
const $$ = load(r);
Expand Down
22 changes: 0 additions & 22 deletions src/editors/query/InfinityQueryEditor.stories.tsx

This file was deleted.

Loading

0 comments on commit 00adb2c

Please sign in to comment.