From 5ffaa7664491ec7231bce10d64c896477f545acf Mon Sep 17 00:00:00 2001 From: mjezek Date: Fri, 18 Nov 2022 16:54:50 +0100 Subject: [PATCH 1/3] Fixed parcel building --- assets/css/main.css | 4 ++-- assets/html/index.html | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/assets/css/main.css b/assets/css/main.css index 874c330..67129b6 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -1,4 +1,4 @@ -@import url(uplot/dist/uPlot.min.css); +@import url(npm:uplot/dist/uPlot.min.css); @import url(../css/icons.css); @@ -407,4 +407,4 @@ footer a:hover { .uplot .select { background: var(--color-blue); opacity: 0.3; -} \ No newline at end of file +} diff --git a/assets/html/index.html b/assets/html/index.html index 5f01112..83d35e0 100644 --- a/assets/html/index.html +++ b/assets/html/index.html @@ -6,13 +6,13 @@ - + - + Minetrack @@ -41,7 +41,7 @@
Sort By
...
- +
Graph Controls
@@ -70,4 +70,4 @@ - \ No newline at end of file + From bf4a8a6b0228990eb8f41bd25389cbf212e02efc Mon Sep 17 00:00:00 2001 From: mjezek Date: Sat, 19 Nov 2022 19:05:56 +0100 Subject: [PATCH 2/3] Enabled including node modules into parcel bundle --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 4925f94..5bfe941 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,8 @@ "main": { "engines": { "browsers": "defaults" - } + }, + "includeNodeModules": true } }, "devDependencies": { From 8bc16a83b3313a00204657017b04f295a8f4f8b5 Mon Sep 17 00:00:00 2001 From: mjezek Date: Sat, 19 Nov 2022 19:13:51 +0100 Subject: [PATCH 3/3] Updated browserslist DB --- package-lock.json | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 345bcab..f0e6047 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2594,10 +2594,20 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001204", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001204.tgz", - "integrity": "sha512-JUdjWpcxfJ9IPamy2f5JaRDCaqJOxDzOSKtbdx4rH9VivMd1vIzoPumsJa9LoMIi4Fx2BV2KZOxWhNkBjaYivQ==", - "dev": true + "version": "1.0.30001431", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001431.tgz", + "integrity": "sha512-zBUoFU0ZcxpvSt9IU66dXVT/3ctO1cy4y9cscs1szkPlcWb6pasYM144GqrUygUbT+k7cmUCW61cvskjcv0enQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + } + ] }, "node_modules/caseless": { "version": "0.12.0", @@ -8791,9 +8801,9 @@ "dev": true }, "caniuse-lite": { - "version": "1.0.30001204", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001204.tgz", - "integrity": "sha512-JUdjWpcxfJ9IPamy2f5JaRDCaqJOxDzOSKtbdx4rH9VivMd1vIzoPumsJa9LoMIi4Fx2BV2KZOxWhNkBjaYivQ==", + "version": "1.0.30001431", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001431.tgz", + "integrity": "sha512-zBUoFU0ZcxpvSt9IU66dXVT/3ctO1cy4y9cscs1szkPlcWb6pasYM144GqrUygUbT+k7cmUCW61cvskjcv0enQ==", "dev": true }, "caseless": {