Skip to content

Commit 97baa12

Browse files
committed
Upgraded dependencies
1 parent b66ad50 commit 97baa12

File tree

6 files changed

+1571
-4569
lines changed

6 files changed

+1571
-4569
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The table must be structured as follows:
1616
__Example Data Table:__
1717

1818
| origin_component | target_component | my_value | another_value |
19-
|---|---|---|
19+
|---|---|---|---|
2020
| comp_a | comp_b | 200 | |
2121
| comp_a | comp_b | | 200 |
2222
| comp_b | comp_c | 100 | |

package.json

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@
44
"description": "Service Dependency Graph panel for Grafana",
55
"main": "src/module.js",
66
"scripts": {
7-
"build": "node --max-old-space-size=8192 ./node_modules/.bin/webpack --config webpack.config.prod.js",
7+
"build": "node --max-old-space-size=8192 ./node_modules/webpack/bin/webpack.js --config webpack.config.prod.js --progress",
88
"dev": "webpack --mode development",
9-
"watch": "webpack --mode development --watch",
10-
"test": "jest --config jest.config.js"
9+
"watch": "webpack --mode development --watch"
1110
},
1211
"keywords": [
1312
"grafana",
@@ -16,28 +15,24 @@
1615
"topology"
1716
],
1817
"author": "Novatec",
19-
"license": "Apache 2.0",
18+
"license": "Apache-2.0",
2019
"devDependencies": {
2120
"@babel/core": "^7.1.6",
21+
"@babel/plugin-proposal-class-properties": "^7.8.3",
2222
"@babel/preset-env": "^7.1.6",
23+
"@babel/preset-typescript": "^7.8.3",
2324
"@types/grafana": "https://[email protected]/CorpGlory/types-grafana.git",
2425
"@types/jest": "^23.3.9",
2526
"@types/lodash": "^4.14.118",
2627
"@types/moment": "^2.13.0",
27-
"babel": "~6.5.1",
28-
"babel-core": "^6.26.3",
29-
"babel-jest": "^23.6.0",
3028
"babel-loader": "^8.0.4",
31-
"babel-preset-env": "^1.7.0",
3229
"clean-webpack-plugin": "^1.0.0",
33-
"copy-webpack-plugin": "^4.6.0",
30+
"copy-webpack-plugin": "^5.1.1",
3431
"css-loader": "^1.0.1",
35-
"jest": "^24.8.0",
3632
"ng-annotate-webpack-plugin": "^0.3.0",
3733
"style-loader": "^0.23.1",
38-
"ts-jest": "^23.10.4",
3934
"ts-loader": "^5.3.0",
40-
"uglifyjs-webpack-plugin": "1.3.0",
35+
"uglifyjs-webpack-plugin": "2.2.0",
4136
"webpack": "^4.26.0",
4237
"webpack-cli": "^3.2.3"
4338
},
@@ -49,5 +44,14 @@
4944
"lodash": "^4.17.13",
5045
"moment": "^2.12.0",
5146
"typescript": "^3.1.6"
47+
},
48+
"babel": {
49+
"presets": [
50+
"@babel/preset-env",
51+
"@babel/preset-typescript"
52+
],
53+
"plugins": [
54+
"@babel/plugin-proposal-class-properties"
55+
]
5256
}
5357
}

test.html

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

webpack.config.js

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ module.exports = {
5050
module: {
5151
rules: [
5252
{
53-
test: /\.js$/,
53+
test: /\.js|\.tsx?$/,
5454
exclude: /(node_modules|bower_components)/,
5555
use: {
5656
loader: 'babel-loader',
@@ -59,17 +59,6 @@ module.exports = {
5959
}
6060
}
6161
},
62-
{
63-
test: /\.tsx?$/,
64-
loaders: [
65-
{
66-
loader: 'babel-loader',
67-
options: { presets: ['env'] },
68-
},
69-
'ts-loader',
70-
],
71-
exclude: /(node_modules)/,
72-
},
7362
{
7463
test: /\.css$/,
7564
use: [

webpack.config.prod.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ var conf = baseWebpackConfig;
66
conf.mode = 'production';
77

88
conf.plugins.push(new ngAnnotatePlugin());
9-
conf.plugins.push(
10-
new UglifyJSPlugin({
11-
sourceMap: true,
12-
})
13-
);
9+
conf.plugins.push(new UglifyJSPlugin({}));
1410

1511
module.exports = conf;

0 commit comments

Comments
 (0)