Skip to content

Commit 75f918f

Browse files
authored
Merge pull request #1788 from RedisInsight/fix-client-list
fix client list index.html, update dependencies
2 parents 8f05153 + 49583ee commit 75f918f

File tree

4 files changed

+777
-680
lines changed

4 files changed

+777
-680
lines changed

redisinsight/ui/src/packages/clients-list/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ This command will generate the `vendor` folder with styles and fonts of the core
2020
inside the folder for your plugin and include appropriate styles to the `index.html` file.
2121

2222
```
23+
yarn
24+
yarn --cwd redisinsight/api/ install
25+
2326
yarn build:statics - for Linux or MacOs
2427
yarn build:statics:win - for Windows
2528
```

redisinsight/ui/src/packages/clients-list/package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,13 @@
4545
],
4646
"devDependencies": {
4747
"@babel/core": "^7.12.0",
48-
"@parcel/compressor-brotli": "^2.0.0",
49-
"@parcel/compressor-gzip": "^2.0.0",
50-
"@parcel/transformer-sass": "^2.0.0",
51-
"@parcel/transformer-typescript-tsc": "^2.3.2",
48+
"@parcel/transformer-sass": "2.3.2",
5249
"@types/node": "^17.0.21",
5350
"@types/react": "^17.0.40",
5451
"@types/react-dom": "^17.0.13",
5552
"concurrently": "^6.3.0",
5653
"cross-env": "^7.0.3",
57-
"parcel": "^2.0.0",
54+
"parcel": "2.3.2",
5855
"rimraf": "^3.0.2",
5956
"terser": "^5.9.0",
6057
"typescript": ">=3.0.0"

redisinsight/ui/src/packages/clients-list/src/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<title>Client list plugin</title>
8-
<link rel="stylesheet" href="../../../RedisInsight/vendor/global_styles.css" />
9-
<link rel="stylesheet" href="../../../RedisInsight/vendor/dark_theme.css" />
10-
<!-- <link rel="stylesheet" href="../../../RedisInsight/vendor/light_theme.css" /> -->
8+
<link rel="stylesheet" href="../../../../../../vendor/global_styles.css" type="text/css" />
9+
<link rel="stylesheet" href="../../../../../../vendor/dark_theme.css" type="text/css" />
10+
<!-- <link rel="stylesheet" href="../../../../../../vendor/light_theme.css" /> -->
1111
<link rel="stylesheet" href="./styles/styles.scss" />
1212
</head>
1313
<body>
1414
<div id="app"></div>
15-
<script src="./main.tsx"></script>
15+
<script type="module" src="./main.tsx"></script>
1616
</body>
1717
</html>

0 commit comments

Comments
 (0)