chore: upgrade vue-tsc for typecheck

This commit is contained in:
YunYouJun 2024-12-24 08:05:24 +08:00
parent 459dccdb46
commit 499f2c8d43
12 changed files with 1278 additions and 1450 deletions

View File

@ -918,17 +918,17 @@ Freedom to control your layout!
<div class="flex grid-cols-3" gap="2">
<div>
![image](https://yunyoujun.cn/images/avatar.jpg)
![image](https://www.yunyoujun.cn/images/avatar.jpg)
</div>
<div>
![image](https://yunyoujun.cn/images/avatar.jpg)
![image](https://www.yunyoujun.cn/images/avatar.jpg)
</div>
<div>
![image](https://yunyoujun.cn/images/avatar.jpg)
![image](https://www.yunyoujun.cn/images/avatar.jpg)
</div>
</div>
@ -948,17 +948,17 @@ Freedom to control your layout!
<div class="flex grid-cols-3">
<div>
![image](https://yunyoujun.cn/images/avatar.jpg)
![image](https://www.yunyoujun.cn/images/avatar.jpg)
</div>
<div>
![image](https://yunyoujun.cn/images/avatar.jpg)
![image](https://www.yunyoujun.cn/images/avatar.jpg)
</div>
<div>
![image](https://yunyoujun.cn/images/avatar.jpg)
![image](https://www.yunyoujun.cn/images/avatar.jpg)
</div>
</div>

View File

@ -93,7 +93,7 @@
"@types/node": "^22.10.2",
"@types/prompts": "^2.4.9",
"@types/resolve": "^1.20.6",
"bumpp": "^9.9.1",
"bumpp": "^9.9.2",
"cross-env": "^7.0.3",
"eslint": "^9.17.0",
"https-localhost": "^4.7.1",
@ -111,7 +111,7 @@
"unbuild": "catalog:",
"vite-node": "^2.1.8",
"vitest": "^2.1.8",
"vue-tsc": "2.0.17",
"vue-tsc": "2.2.0",
"zx": "^8.2.4"
},
"pnpm": {

View File

@ -16,6 +16,6 @@
"valaxy-theme-yun": "0.22.4"
},
"devDependencies": {
"typescript": "^5.6"
"typescript": "^5.7.2"
}
}

View File

@ -15,6 +15,7 @@
"noUnusedLocals": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"skipDefaultLibCheck": true,
"skipLibCheck": true
},
"exclude": ["dist", "node_modules"]

View File

@ -45,7 +45,7 @@
"vite-dev-rpc": "^0.1.7"
},
"devDependencies": {
"@advjs/gui": "0.0.7-beta.1",
"@advjs/gui": "0.0.7-beta.7",
"@iconify-json/ri": "catalog:",
"@intlify/unplugin-vue-i18n": "^6.0.2",
"@primevue/themes": "^4.2.5",

View File

@ -13,19 +13,16 @@ const routeMenus: {
}[] = [
{
to: '/',
opened: 'i-vscode-icons:folder-type-route-opened',
closed: 'i-vscode-icons:folder-type-route',
icon: 'i-ri-archive-line',
},
{
to: '/categories',
icon: 'i-ri:folder-2-line',
},
{
to: '/tags',
icon: 'i-ri:price-tag-3-line',
},
// {
// to: '/categories',
// opened: 'i-vscode-icons:folder-type-route-opened',
// closed: 'i-vscode-icons:folder-type-route',
// },
// {
// to: '/tags',
// opened: 'i-vscode-icons:folder-type-route-opened',
// closed: 'i-vscode-icons:folder-type-route',
// },
{
to: '/migration',
opened: 'i-vscode-icons:folder-type-tools-opened',

View File

@ -69,7 +69,7 @@ const updated = ref(dayjs(clientPageData.value?.frontmatter.updated).toDate())
</template>
<template v-else-if="key === 'cover'">
<a :href="value" target="_blank">
<img :src="value" class="h-20">
<img :src="value" class="max-h-20 rounded shadow">
</a>
</template>
<template v-else-if="key === 'date'">

View File

@ -1,5 +1,5 @@
import type { ViteDevServer } from 'vite'
import type { ServerFunctions } from '../rpc'
import type { ServerFunctions } from '../../rpc'
import type { ValaxyDevtoolsOptions } from './types'
import path from 'node:path'
import process from 'node:process'

View File

@ -3,6 +3,8 @@ import type { Post } from 'valaxy'
import { useAppStore, useSiteConfig } from 'valaxy'
import { useI18n } from 'vue-i18n'
// @TODO: add edit by vscode directly when dev
defineProps<{
// FrontMatter
frontmatter: Post

View File

@ -77,7 +77,7 @@
"@vueuse/integrations": "12.0.0-beta.1",
"beasties": "^0.2.0",
"birpc": "^0.2.19",
"consola": "^3.3.0",
"consola": "^3.3.1",
"cross-spawn": "^7.0.6",
"css-i18n": "^0.0.5",
"dayjs": "^1.11.13",
@ -99,7 +99,7 @@
"lru-cache": "^11.0.2",
"markdown-it": "^14.1.0",
"markdown-it-anchor": "^9.2.0",
"markdown-it-attrs": "^4.3.0",
"markdown-it-attrs": "^4.3.1",
"markdown-it-container": "^4.0.0",
"markdown-it-emoji": "^3.0.0",
"markdown-it-footnote": "^4.0.0",

File diff suppressed because it is too large Load Diff

View File

@ -11,8 +11,8 @@ catalog:
'@iconify-json/carbon': ^1.2.5
'@iconify-json/logos': ^1.2.4
'@iconify-json/ri': ^1.2.5
'@iconify-json/simple-icons': ^1.2.16
'@iconify-json/simple-icons': ^1.2.17
'@iconify-json/vscode-icons': ^1.2.6
typescript: '5.6'
typescript: ^5.7.2
unbuild: ^3.0.1
vite: ^6.0.5