@questdb/web-console 0.4.1 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -0
- package/dist/index.html +1 -1
- package/dist/qdb.43f98.js +1 -0
- package/dist/vendor.bccc8.css +873 -0
- package/dist/vendor.bccc8.js +2 -0
- package/dist/{vendor.2b1d3.js.LICENSE.txt → vendor.bccc8.js.LICENSE.txt} +0 -13
- package/package.json +27 -1
- package/dist/2fa1fcf53c57a51b064d4a5a76494973.ttf +0 -0
- package/dist/qdb.2a1b1.js +0 -1
- package/dist/vendor.2b1d3.css +0 -6655
- package/dist/vendor.2b1d3.js +0 -2
- /package/dist/{qdb.2a1b1.css → qdb.43f98.css} +0 -0
package/README.md
CHANGED
|
@@ -66,6 +66,19 @@ yarn workspace @questdb/web-console run build
|
|
|
66
66
|
|
|
67
67
|
3. Build process emits static HTML, CSS and JS files in `packages/web-console/dist`
|
|
68
68
|
|
|
69
|
+
## Bundle size watcher
|
|
70
|
+
Web Console uses [BundleWatcher](https://github.com/bundlewatch/bundlewatch) to make sure there is no unintentional blowup of assets size. The current limits, defined in the `package.json`, are as following:
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
| File | Max allowed size |
|
|
74
|
+
|--------|--------|
|
|
75
|
+
| dist/vendor.*.js | 3MB |
|
|
76
|
+
| dist/qdb.*.js | 500KB |
|
|
77
|
+
| dist/qdb.*.css | 100KB |
|
|
78
|
+
| dist/vendor.*.css | 100KB |
|
|
79
|
+
|
|
80
|
+
If you need to introduce a heavy library or anything that by design is expected to go over the defined limits, make sure to change the watcher configuration.
|
|
81
|
+
|
|
69
82
|
## Run tests
|
|
70
83
|
|
|
71
84
|
### Unit tests
|
package/dist/index.html
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
9
9
|
<meta name="description" content="QuestDB live demo. Query three large datasets and more than 2 billion rows in milliseconds with SQL">
|
|
10
10
|
<title>QuestDB · Console</title>
|
|
11
|
-
<script defer="defer" src="/vendor.
|
|
11
|
+
<script defer="defer" src="/vendor.bccc8.js"></script><script defer="defer" src="/qdb.43f98.js"></script><link href="/vendor.bccc8.css" rel="stylesheet"><link href="/qdb.43f98.css" rel="stylesheet"></head>
|
|
12
12
|
|
|
13
13
|
<body class="mini-navbar pace-done">
|
|
14
14
|
<div id="root"></div>
|