Update frontend dependencies

This commit is contained in:
TwinProduction 2021-05-11 22:14:56 -04:00
parent 253e6f8338
commit 4a4c88ae17
9 changed files with 7635 additions and 11968 deletions

19546
web/app/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,30 +1,29 @@
{ {
"name": "app", "name": "gatus",
"version": "0.1.0", "version": "2.0.0",
"private": true, "private": true,
"scripts": { "scripts": {
"serve": "vue-cli-service serve --mode development", "serve": "vue-cli-service serve --mode development",
"build": "vue-cli-service build --mode production", "build": "vue-cli-service build --modern --mode production",
"lint": "vue-cli-service lint" "lint": "vue-cli-service lint"
}, },
"dependencies": { "dependencies": {
"core-js": "^3.6.5", "core-js": "^3.12.1",
"vue": "^3.0.0", "vue": "^3.0.11",
"vue-router": "^4.0.0-0" "vue-router": "^4.0.6"
}, },
"devDependencies": { "devDependencies": {
"@tailwindcss/postcss7-compat": "^2.1.0", "@vue/cli-plugin-babel": "^5.0.0-beta.0",
"@vue/cli-plugin-babel": "~4.5.0", "@vue/cli-plugin-eslint": "^5.0.0-beta.0",
"@vue/cli-plugin-eslint": "~4.5.0", "@vue/cli-plugin-router": "^5.0.0-beta.0",
"@vue/cli-plugin-router": "~4.5.0", "@vue/cli-service": "^5.0.0-beta.0",
"@vue/cli-service": "~4.5.0", "@vue/compiler-sfc": "^3.0.11",
"@vue/compiler-sfc": "^3.0.0", "autoprefixer": "^10.2.5",
"autoprefixer": "^9.8.6",
"babel-eslint": "^10.1.0", "babel-eslint": "^10.1.0",
"eslint": "^6.7.2", "eslint": "^7.26.0",
"eslint-plugin-vue": "^7.0.0-0", "eslint-plugin-vue": "^7.8.0",
"postcss": "^7.0.35", "postcss": "^8.2.15",
"tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.1.0" "tailwindcss": "^2.1.2"
}, },
"eslintConfig": { "eslintConfig": {
"root": true, "root": true,

View File

@ -52,7 +52,6 @@ export default {
this.applyTheme(); this.applyTheme();
}, },
applyTheme() { applyTheme() {
console.log(localStorage.theme, 'theme' in localStorage);
if (localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) { if (localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
this.darkMode = true; this.darkMode = true;
document.documentElement.classList.add('dark'); document.documentElement.classList.add('dark');

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>Health Dashboard | Gatus</title><link href="/css/app.css" rel="preload" as="style"><link href="/js/app.js" rel="preload" as="script"><link href="/js/chunk-vendors.js" rel="preload" as="script"><link href="/css/app.css" rel="stylesheet"></head><body class="dark:bg-gray-900"><noscript><strong>Enable JavaScript to view this page.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.js"></script><script src="/js/app.js"></script></body></html> <!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>Health Dashboard | Gatus</title><script defer="defer" src="/js/chunk-vendors.js" type="module"></script><script defer="defer" src="/js/app.js" type="module"></script><link href="/css/app.css" rel="stylesheet"><script defer="defer" src="/js/chunk-vendors-legacy.js" nomodule></script><script defer="defer" src="/js/app-legacy.js" nomodule></script></head><body class="dark:bg-gray-900"><noscript><strong>Enable JavaScript to view this page.</strong></noscript><div id="app"></div></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long