Skip to content

Commit

Permalink
Update packages and conf in ui
Browse files Browse the repository at this point in the history
  • Loading branch information
synw committed Jul 12, 2024
1 parent d6da8e2 commit 79f83e7
Show file tree
Hide file tree
Showing 22 changed files with 2,552 additions and 6,876 deletions.
10 changes: 5 additions & 5 deletions ui/components.d.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// generated by unplugin-vue-components
// We suggest you to commit this file into source control
/* eslint-disable */
// @ts-nocheck
// Generated by unplugin-vue-components
// Read more: https://github.com/vuejs/core/pull/3399
import '@vue/runtime-core'

export {}

declare module '@vue/runtime-core' {
/* prettier-ignore */
declare module 'vue' {
export interface GlobalComponents {
ActionButton: typeof import('./src/components/widgets/ActionButton.vue')['default']
AddAdmin: typeof import('./src/components/admin/add/AddAdmin.vue')['default']
Expand Down
1 change: 0 additions & 1 deletion ui/dist/assets/ActionButton-0b536b1b.css

This file was deleted.

Binary file removed ui/dist/assets/Inter-Bold-3e242080.woff
Binary file not shown.
Binary file removed ui/dist/assets/Inter-Bold-c63158ba.woff2
Binary file not shown.
Binary file removed ui/dist/assets/Inter-Light-36b86832.woff2
Binary file not shown.
Binary file removed ui/dist/assets/Inter-Light-4871aed0.woff
Binary file not shown.
Binary file removed ui/dist/assets/Inter-Medium-1b498b95.woff2
Binary file not shown.
Binary file removed ui/dist/assets/Inter-Medium-53deda46.woff
Binary file not shown.
Binary file removed ui/dist/assets/Inter-Regular-d612f121.woff2
Binary file not shown.
Binary file removed ui/dist/assets/Inter-Regular-ef1f23c0.woff
Binary file not shown.
Binary file removed ui/dist/assets/Inter-SemiBold-15226129.woff2
Binary file not shown.
Binary file removed ui/dist/assets/Inter-SemiBold-653fed7a.woff
Binary file not shown.
Binary file removed ui/dist/assets/color-473bc8ca.png
Binary file not shown.
270 changes: 0 additions & 270 deletions ui/dist/assets/primeicons-2ab98f70.svg

This file was deleted.

Binary file removed ui/dist/assets/primeicons-788dba0a.ttf
Binary file not shown.
Binary file removed ui/dist/assets/primeicons-c9eaf535.eot
Binary file not shown.
Binary file removed ui/dist/assets/primeicons-feb68bf6.woff
Binary file not shown.
5 changes: 2 additions & 3 deletions ui/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,12 @@
<link rel="canonical" href="https://teal.finance">
<meta name="theme-color" content="#0de">
<meta name="color-scheme" content="light dark">
<script type="module" crossorigin src="/js/index-59362913.js"></script>
<link rel="stylesheet" href="/assets/index-943952c8.css">
<script type="module" crossorigin src="/js/index-BRMd6Wln.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-e0VlosGL.css">
</head>

<body>
<div id="app"></div>

</body>

</html>
70 changes: 33 additions & 37 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,56 +5,52 @@
"dev": "vite",
"build": "vite build",
"serve": "vite preview",
"upg-minor": "yarn-upgrade-minor",
"testinit": "npx playwright test --config=tests/playwright.init.config.js --project=firefox ./tests/init/login.spec.ts",
"showtests": "showtests",
"fftest": "playtest browser=firefox",
"crtest": "playtest browser=chromium",
"runtest": "runtest"
},
"dependencies": {
"emosd": "~0.2.1",
"primeicons": "~5.0.0",
"primevue": "~3.15.0",
"restmix": "0.0.3",
"vue": "~3.2.47",
"vue-router": "4.3.0"
"emosd": "~0.4.0",
"primeicons": "~7.0.0",
"primevue": "~3.53.0",
"restmix": "0.5.0",
"vue": "~3.4.31",
"vue-router": "4.4.0"
},
"devDependencies": {
"@babel/core": "~7.18.13",
"@iconify/json": "~2.1.159",
"@iconify/vue": "~3.2.1",
"@playwright/test": "^1.42.1",
"@snowind/header": "~0.0.11",
"@iconify/json": "~2.2.227",
"@iconify/vue": "~4.1.2",
"@playwright/test": "^1.45.1",
"@rollup/plugin-typescript": "^11.1.6",
"@snowind/header": "~0.1.0",
"@snowind/input": "~0.0.5",
"@snowind/plugin": "~0.3.1",
"@snowind/sidebar": "~0.0.3",
"@snowind/state": "~0.0.3",
"@snowind/stepper": "~0.0.3",
"@snowind/subviews": "~0.0.6",
"@snowind/switch": "~0.0.5",
"@snowind/plugin": "~0.5.0",
"@snowind/sidebar": "~0.1.0",
"@snowind/state": "~0.2.0",
"@snowind/stepper": "~0.1.0",
"@snowind/subviews": "~0.1.0",
"@snowind/switch": "~0.1.1",
"@snowind/toast": "~0.0.1",
"@tailwindcss/forms": "~0.5.7",
"@types/js-cookie": "^3.0.6",
"@types/node": "^18.19.23",
"@vitejs/plugin-vue": "~2.3.4",
"@vue/compiler-sfc": "~3.2.47",
"autoprefixer": "~10.4.18",
"babel-loader": "~8.2.5",
"postcss": "~8.4.35",
"rollup-plugin-typescript2": "~0.32.1",
"runplaywright": "^0.0.10",
"sass": "~1.53.0",
"tailwindcss": "~3.1.8",
"@types/node": "^20.14.10",
"@vitejs/plugin-vue": "~5.0.5",
"@vue/compiler-sfc": "~3.4.31",
"autoprefixer": "~10.4.19",
"babel-loader": "~9.1.3",
"postcss": "~8.4.39",
"sass": "~1.77.8",
"tailwindcss": "~3.4.4",
"tailwindcss-semantic-colors": "~0.2.0",
"tslib": "~2.4.1",
"typescript": "~4.7.4",
"unplugin-icons": "~0.14.15",
"unplugin-vue-components": "~0.21.2",
"vite": "~2.9.17",
"vue-loader": "~17.0.1",
"vue-tsc": "~0.38.9",
"yarn-upgrade-minor": "~1.0.13"
"tslib": "~2.6.3",
"typescript": "~5.5.3",
"unplugin-icons": "~0.19.0",
"unplugin-vue-components": "~0.27.2",
"vite": "~5.3.3",
"vue-loader": "~17.4.2",
"vue-tsc": "~2.0.26"
},
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
Expand All @@ -74,4 +70,4 @@
"bugs": {
"url": "https://github.com/teal-finance/quid/issues"
}
}
}
2 changes: 1 addition & 1 deletion ui/src/components/TheLogin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

<script lang="ts">
import { computed, defineComponent, reactive } from "vue";
import Emo from "emosd";
import { Emo } from "emosd";
import SwInput from "@snowind/input";
import { user } from "@/state";
import { adminLogin } from "@/api";
Expand Down
8 changes: 2 additions & 6 deletions ui/vite.config.ts → ui/vite.config.mts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import path from 'path'
import { defineConfig } from 'vite'
import typescript2 from "rollup-plugin-typescript2"
import typescript from '@rollup/plugin-typescript';
import vue from '@vitejs/plugin-vue'
import Components from 'unplugin-vue-components/vite'
import Icons from 'unplugin-icons/vite'
Expand All @@ -25,11 +25,7 @@ export default defineConfig({
},
},
plugins: [
typescript2({
check: false,
tsconfig: path.resolve(__dirname, 'tsconfig.json'),
clean: true
}),
typescript(),
vue(),
Components({
resolvers: [
Expand Down
Loading

0 comments on commit 79f83e7

Please sign in to comment.