chore: update dependencies

This commit is contained in:
ccbikai 2024-08-18 19:38:04 +08:00
parent b116d4c007
commit 36e7962b83
4 changed files with 1303 additions and 1223 deletions

View File

@ -114,8 +114,13 @@ async function onSubmit(formData) {
body: link, body: link,
}) })
dialogOpen.value = false dialogOpen.value = false
emit('update:link', newLink, isEdit ? 'edit' : 'create') emit('update:link', newLink)
isEdit ? toast('Link updated successfully') : toast('Link created successfully') if (isEdit) {
toast('Link updated successfully')
}
else {
toast('Link created successfully')
}
} }
const { previewMode } = useRuntimeConfig().public const { previewMode } = useRuntimeConfig().public

View File

@ -6,21 +6,23 @@ import {
DebianIcon, DebianIcon,
FacebookIcon, FacebookIcon,
FirefoxBrowserIcon, FirefoxBrowserIcon,
GnuIcon,
GoogleChromeIcon, GoogleChromeIcon,
GoogleIcon, GoogleIcon,
HuaweiIcon, HuaweiIcon,
IOsIcon, IOsIcon,
InternetExplorerIcon, // InternetExplorerIcon,
LinuxIcon, LinuxIcon,
MacOsIcon, MacOsIcon,
MicrosoftEdgeIcon, // MicrosoftEdgeIcon,
OperaIcon, OperaIcon,
SafariIcon, SafariIcon,
SamsungIcon, SamsungIcon,
UbuntuIcon, UbuntuIcon,
VivoIcon, VivoIcon,
WeChatIcon, WeChatIcon,
WindowsIcon, WearOsIcon,
// WindowsIcon,
XiaomiIcon, XiaomiIcon,
YandexCloudIcon, YandexCloudIcon,
} from 'vue3-simple-icons' } from 'vue3-simple-icons'
@ -47,23 +49,28 @@ defineProps({
const iconMaps = { const iconMaps = {
'android': AndroidIcon, 'android': AndroidIcon,
'android': AndroidIcon,
'android browser': AndroidIcon,
'browser': Globe, 'browser': Globe,
'chrome': GoogleChromeIcon, 'chrome': GoogleChromeIcon,
'chrome headless': GoogleChromeIcon, 'chrome headless': GoogleChromeIcon,
'chrome webview': GoogleChromeIcon, 'chrome webview': GoogleChromeIcon,
'chrome webview': GoogleChromeIcon,
'chromium': GoogleChromeIcon, 'chromium': GoogleChromeIcon,
'curl': Terminal, 'curl': Terminal,
'debian': DebianIcon, 'debian': DebianIcon,
'desktop': MonitorCheck, 'desktop': MonitorCheck,
'edge': MicrosoftEdgeIcon, 'desktop': MonitorCheck,
'facebook': FacebookIcon, 'facebook': FacebookIcon,
'facebookexternalhit': FacebookIcon, 'facebookexternalhit': FacebookIcon,
'firefox': FirefoxBrowserIcon, 'firefox': FirefoxBrowserIcon,
'googlebot': GoogleIcon, 'googlebot': GoogleIcon,
'googlebot-image': GoogleIcon, 'googlebot-image': GoogleIcon,
'googlebot-image': GoogleIcon,
'gnu': GnuIcon,
'harmonyos': HuaweiIcon, 'harmonyos': HuaweiIcon,
'huawei browser': HuaweiIcon, 'huawei browser': HuaweiIcon,
'ie': InternetExplorerIcon, // 'ie': InternetExplorerIcon,
'ios': IOsIcon, 'ios': IOsIcon,
'ipad': AppleIcon, 'ipad': AppleIcon,
'iphone': AppleIcon, 'iphone': AppleIcon,
@ -72,6 +79,7 @@ const iconMaps = {
'linux': LinuxIcon, 'linux': LinuxIcon,
'macintosh': AppleIcon, 'macintosh': AppleIcon,
'macos': MacOsIcon, 'macos': MacOsIcon,
'macos': MacOsIcon,
'miui browser': XiaomiIcon, 'miui browser': XiaomiIcon,
'mobile': Smartphone, 'mobile': Smartphone,
'mobile chrome': GoogleChromeIcon, 'mobile chrome': GoogleChromeIcon,
@ -82,10 +90,13 @@ const iconMaps = {
'safari': SafariIcon, 'safari': SafariIcon,
'samsung internet': SamsungIcon, 'samsung internet': SamsungIcon,
'tablet': Tablet, 'tablet': Tablet,
'tablet': Tablet,
'twitterbot': XIcon,
'ubuntu': UbuntuIcon, 'ubuntu': UbuntuIcon,
'vivo browser': VivoIcon, 'vivo browser': VivoIcon,
'wechat': WeChatIcon, 'wechat': WeChatIcon,
'windows': WindowsIcon, 'wechat': WeChatIcon,
'wearable': WearOsIcon,
'yandex': YandexCloudIcon, 'yandex': YandexCloudIcon,
} }
</script> </script>

View File

@ -3,7 +3,7 @@
"type": "module", "type": "module",
"version": "0.1.3", "version": "0.1.3",
"private": true, "private": true,
"packageManager": "pnpm@9.5.0", "packageManager": "pnpm@9.7.1",
"engines": { "engines": {
"node": ">=20.11" "node": ">=20.11"
}, },
@ -21,42 +21,42 @@
"lint-staged": "lint-staged" "lint-staged": "lint-staged"
}, },
"dependencies": { "dependencies": {
"@unovis/ts": "^1.4.2", "@unovis/ts": "^1.4.4",
"@unovis/vue": "^1.4.2", "@unovis/vue": "^1.4.4",
"@vee-validate/zod": "^4.13.2", "@vee-validate/zod": "^4.13.2",
"@vueuse/core": "^10.11.0", "@vueuse/core": "^11.0.0",
"intl-parse-accept-language": "^1.0.0", "intl-parse-accept-language": "^1.0.0",
"lucide-vue-next": "^0.401.0", "lucide-vue-next": "^0.428.0",
"mysql-bricks": "^1.1.2", "mysql-bricks": "^1.1.2",
"nanoid": "^5.0.7", "nanoid": "^5.0.7",
"pluralize": "^8.0.0", "pluralize": "^8.0.0",
"qr-code-styling": "1.6.0-rc.1", "qr-code-styling": "1.6.0-rc.1",
"radix-vue": "^1.9.0", "radix-vue": "^1.9.4",
"ua-parser-js": "next", "ua-parser-js": "next",
"vee-validate": "^4.13.2", "vee-validate": "^4.13.2",
"virtua": "^0.33.2", "virtua": "^0.33.7",
"vue-sonner": "^1.1.3", "vue-sonner": "^1.1.4",
"vue3-simple-icons": "^12.0.0", "vue3-simple-icons": "^13.2.0",
"zod": "^3.23.8" "zod": "^3.23.8"
}, },
"devDependencies": { "devDependencies": {
"@antfu/eslint-config": "^2.21.3", "@antfu/eslint-config": "^2.26.0",
"@nuxt/eslint": "^0.3.13", "@nuxt/eslint": "^0.5.0",
"@nuxt/eslint-config": "^0.3.13", "@nuxt/eslint-config": "^0.5.0",
"@nuxthub/core": "^0.7.3", "@nuxthub/core": "^0.7.3",
"@nuxtjs/color-mode": "^3.4.2", "@nuxtjs/color-mode": "^3.4.4",
"@nuxtjs/tailwindcss": "^6.12.0", "@nuxtjs/tailwindcss": "^6.12.1",
"class-variance-authority": "^0.7.0", "class-variance-authority": "^0.7.0",
"clsx": "^2.1.1", "clsx": "^2.1.1",
"eslint": "^8.57.0", "eslint": "^9.9.0",
"lint-staged": "^15.2.7", "lint-staged": "^15.2.9",
"nuxt": "^3.12.3", "nuxt": "^3.12.4",
"shadcn-nuxt": "^0.10.4", "shadcn-nuxt": "^0.10.4",
"simple-git-hooks": "^2.11.1", "simple-git-hooks": "^2.11.1",
"tailwind-merge": "^2.4.0", "tailwind-merge": "^2.5.2",
"tailwindcss-animate": "^1.0.7", "tailwindcss-animate": "^1.0.7",
"vue-tsc": "^2.0.26", "vue-tsc": "^2.0.29",
"wrangler": "^3.63.1" "wrangler": "^3.72.0"
}, },
"simple-git-hooks": { "simple-git-hooks": {
"pre-commit": "npm run lint-staged" "pre-commit": "npm run lint-staged"

File diff suppressed because it is too large Load Diff