Skip to content

Commit d8ee61a

Browse files
Mario Mannmbrill-nt
authored andcommitted
Source code adapted to typescript convention
1 parent de85adb commit d8ee61a

33 files changed

+17400
-63245
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node_modules
22
npm-debug.log
3-
*.log
3+
*.log
4+
.vscode

.prettierrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module.exports = {
2-
...require("./node_modules/@grafana/toolkit/src/config/prettier.plugin.config.json"),
2+
...require('@grafana/toolkit/src/config/prettier.plugin.config.json'),
33
};

coverage/junit.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<testsuites name="jest tests" tests="1" failures="0" time="2.636">
3-
<testsuite name="placeholder test" errors="0" failures="0" skipped="0" timestamp="2021-01-04T09:37:17" time="1.481" tests="1">
4-
<testcase classname="placeholder test should return true" name="placeholder test should return true" time="0.004">
2+
<testsuites name="jest tests" tests="1" failures="0" time="2.58">
3+
<testsuite name="placeholder test" errors="0" failures="0" skipped="0" timestamp="2021-01-08T10:02:59" time="1.625" tests="1">
4+
<testcase classname="placeholder test should return true" name="placeholder test should return true" time="0.003">
55
</testcase>
66
</testsuite>
77
</testsuites>

dist/img/logo.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/index.html

Lines changed: 0 additions & 9 deletions
This file was deleted.

dist/module.js

Lines changed: 2 additions & 46673 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/module.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,19 @@
3232
"babel-loader": "8.2.2",
3333
"emotion": "10.0.27",
3434
"sass-loader": "^10.1.0",
35+
"ts-jest": "^26.4.4",
3536
"ts-loader": "8.0.11"
3637
},
3738
"engines": {
3839
"node": ">=12"
3940
},
4041
"dependencies": {
4142
"@grafana/runtime": "^7.3.2",
43+
"@types/lodash": "^4.14.167",
4244
"@types/react-autosuggest": "^10.0.1",
4345
"@types/react-bootstrap-typeahead": "^3.4.7",
4446
"babel-preset-react": "^6.24.1",
47+
"css-loader": "^5.0.1",
4548
"cytoscape": "^3.14.2",
4649
"cytoscape-canvas": "^3.0.1",
4750
"cytoscape-cola": "^2.4.0",
@@ -51,10 +54,8 @@
5154
"react-bootstrap-typeahead": "^5.1.2",
5255
"react-cytoscapejs": "^1.2.1",
5356
"react-native": "^0.63.3",
54-
"typescript": "^4.1.2",
55-
"webpack": "^5.9.0",
5657
"style-loader": "^2.0.0",
57-
"css-loader": "^5.0.1",
58-
"@types/lodash": "^4.14.167"
58+
"typescript": "^4.0.5",
59+
"webpack": "^5.9.0"
5960
}
6061
}

0 commit comments

Comments
 (0)