feat: update deps, serve web fonts with the app
This commit is contained in:
5 files changed
+970
-828
No files matched your search
@@ -8,3 +8,4 @@ node_modules
|
|||||||
.idea/
|
.idea/
|
||||||
*.log
|
*.log
|
||||||
cypress/downloads
|
cypress/downloads
|
||||||
|
public/assets/fonts
|
||||||
+23
-23
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"private": true,
|
"private": true,
|
||||||
"packageManager": "pnpm@9.14.2",
|
"packageManager": "pnpm@9.14.4",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "vite-ssg build",
|
"build": "vite-ssg build",
|
||||||
"dev": "vite --port 3333 --open",
|
"dev": "vite --port 3333 --open",
|
||||||
@@ -18,24 +18,24 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@unhead/vue": "^1.11.13",
|
"@unhead/vue": "^1.11.13",
|
||||||
"@unocss/reset": "^0.64.1",
|
"@unocss/reset": "^0.65.0",
|
||||||
"@vueuse/core": "^12.0.0",
|
"@vueuse/core": "^12.0.0",
|
||||||
"@vueuse/head": "^2.0.0",
|
"@vueuse/head": "^2.0.0",
|
||||||
"nprogress": "^0.2.0",
|
"nprogress": "^0.2.0",
|
||||||
"pinia": "^2.2.6",
|
"pinia": "^2.2.8",
|
||||||
"vue": "^3.5.13",
|
"vue": "^3.5.13",
|
||||||
"vue-demi": "^0.14.10",
|
"vue-demi": "^0.14.10",
|
||||||
"vue-i18n": "^10.0.4",
|
"vue-i18n": "^10.0.5",
|
||||||
"vue-router": "^4.5.0"
|
"vue-router": "^4.5.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@antfu/eslint-config": "^3.10.0",
|
"@antfu/eslint-config": "^3.11.2",
|
||||||
"@iconify-json/carbon": "^1.2.4",
|
"@iconify-json/carbon": "^1.2.4",
|
||||||
"@intlify/unplugin-vue-i18n": "^6.0.0",
|
"@intlify/unplugin-vue-i18n": "^6.0.0",
|
||||||
"@shikijs/markdown-it": "^1.23.1",
|
"@shikijs/markdown-it": "^1.24.0",
|
||||||
"@types/markdown-it-link-attributes": "^3.0.5",
|
"@types/markdown-it-link-attributes": "^3.0.5",
|
||||||
"@types/nprogress": "^0.2.3",
|
"@types/nprogress": "^0.2.3",
|
||||||
"@unocss/eslint-config": "^0.64.1",
|
"@unocss/eslint-config": "^0.65.0",
|
||||||
"@vitejs/plugin-vue": "^5.2.1",
|
"@vitejs/plugin-vue": "^5.2.1",
|
||||||
"@vue-macros/volar": "^0.30.6",
|
"@vue-macros/volar": "^0.30.6",
|
||||||
"@vue/test-utils": "^2.4.6",
|
"@vue/test-utils": "^2.4.6",
|
||||||
@@ -43,39 +43,39 @@
|
|||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"cypress": "^13.16.0",
|
"cypress": "^13.16.0",
|
||||||
"cypress-vite": "^1.5.0",
|
"cypress-vite": "^1.5.0",
|
||||||
"eslint": "^9.15.0",
|
"eslint": "^9.16.0",
|
||||||
"eslint-plugin-cypress": "^4.1.0",
|
"eslint-plugin-cypress": "^4.1.0",
|
||||||
"eslint-plugin-format": "^0.1.2",
|
"eslint-plugin-format": "^0.1.3",
|
||||||
"https-localhost": "^4.7.1",
|
"https-localhost": "^4.7.1",
|
||||||
"lint-staged": "^15.2.10",
|
"lint-staged": "^15.2.10",
|
||||||
"markdown-it-link-attributes": "^4.0.1",
|
"markdown-it-link-attributes": "^4.0.1",
|
||||||
"pnpm": "^9.14.2",
|
"pnpm": "^9.14.4",
|
||||||
"rollup": "^4.27.4",
|
"rollup": "^4.28.0",
|
||||||
"shiki": "^1.23.1",
|
"shiki": "^1.24.0",
|
||||||
"simple-git-hooks": "^2.11.1",
|
"simple-git-hooks": "^2.11.1",
|
||||||
"taze": "^0.18.0",
|
"taze": "^0.18.0",
|
||||||
"typescript": "~5.6.3",
|
"typescript": "~5.6.3",
|
||||||
"unocss": "^0.64.1",
|
"unocss": "^0.65.0",
|
||||||
"unplugin-auto-import": "^0.18.5",
|
"unplugin-auto-import": "^0.18.6",
|
||||||
"unplugin-vue-components": "^0.27.4",
|
"unplugin-vue-components": "^0.27.5",
|
||||||
"unplugin-vue-macros": "^2.13.4",
|
"unplugin-vue-macros": "^2.13.4",
|
||||||
"unplugin-vue-markdown": "^0.26.2",
|
"unplugin-vue-markdown": "^0.27.1",
|
||||||
"unplugin-vue-router": "^0.10.8",
|
"unplugin-vue-router": "^0.10.8",
|
||||||
"vite": "^6.0.1",
|
"vite": "^6.0.2",
|
||||||
"vite-bundle-visualizer": "^1.2.1",
|
"vite-bundle-visualizer": "^1.2.1",
|
||||||
"vite-plugin-inspect": "^0.10.0",
|
"vite-plugin-inspect": "^0.10.2",
|
||||||
"vite-plugin-pwa": "^0.21.0",
|
"vite-plugin-pwa": "^0.21.1",
|
||||||
"vite-plugin-vue-devtools": "^7.6.4",
|
"vite-plugin-vue-devtools": "^7.6.7",
|
||||||
"vite-plugin-vue-layouts": "^0.11.0",
|
"vite-plugin-vue-layouts": "^0.11.0",
|
||||||
"vite-plugin-webfont-dl": "^3.10.2",
|
"vite-plugin-webfont-dl": "^3.10.2",
|
||||||
"vite-ssg": "^0.24.1",
|
"vite-ssg": "^0.24.1",
|
||||||
"vite-ssg-sitemap": "^0.8.1",
|
"vite-ssg-sitemap": "^0.8.1",
|
||||||
"vitest": "^2.1.6",
|
"vitest": "^2.1.8",
|
||||||
"vue-tsc": "^2.1.10"
|
"vue-tsc": "^2.1.10"
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
"vite": "^6.0.1",
|
"vite": "^6.0.2",
|
||||||
"vite-plugin-inspect": "^0.10.0"
|
"vite-plugin-inspect": "^0.10.2"
|
||||||
},
|
},
|
||||||
"simple-git-hooks": {
|
"simple-git-hooks": {
|
||||||
"pre-commit": "pnpm lint-staged"
|
"pre-commit": "pnpm lint-staged"
|
||||||
|
|||||||
Generated
+940
-803
File diff suppressed because it is too large.
Load diff
@@ -23,7 +23,7 @@ watchEffect(() => {
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<template v-if="user.otherNames.length">
|
<template v-if="user.otherNames.length">
|
||||||
<p mt-4 text-sm>
|
<div mt-4 text-sm>
|
||||||
<span opacity-75>{{ t('intro.aka') }}:</span>
|
<span opacity-75>{{ t('intro.aka') }}:</span>
|
||||||
<ul>
|
<ul>
|
||||||
<li v-for="otherName in user.otherNames" :key="otherName">
|
<li v-for="otherName in user.otherNames" :key="otherName">
|
||||||
@@ -32,7 +32,7 @@ watchEffect(() => {
|
|||||||
</RouterLink>
|
</RouterLink>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</p>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
import {
|
||||||
|
createLocalFontProcessor,
|
||||||
|
} from '@unocss/preset-web-fonts/local'
|
||||||
import {
|
import {
|
||||||
defineConfig,
|
defineConfig,
|
||||||
presetAttributify,
|
presetAttributify,
|
||||||
@@ -27,6 +30,7 @@ export default defineConfig({
|
|||||||
serif: 'DM Serif Display',
|
serif: 'DM Serif Display',
|
||||||
mono: 'DM Mono',
|
mono: 'DM Mono',
|
||||||
},
|
},
|
||||||
|
processors: createLocalFontProcessor(),
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
transformers: [
|
transformers: [
|
||||||
|
|||||||
Reference in new issue
Block a user