chore: update deps
This commit is contained in:
@@ -48,7 +48,7 @@ Mocking up web app with <b>Vitesse</b><sup><em>(speed)</em></sup><br>
|
||||
|
||||
- 🔎 [Component Preview](https://github.com/johnsoncodehk/vite-plugin-vue-component-preview)
|
||||
|
||||
- 🗒 [Markdown Support](https://github.com/antfu/vite-plugin-vue-markdown)
|
||||
- 🗒 [Markdown Support](https://github.com/unplugin/unplugin-vue-markdown)
|
||||
|
||||
- 🔥 Use the [new `<script setup>` syntax](https://github.com/vuejs/rfcs/pull/227)
|
||||
|
||||
@@ -91,7 +91,7 @@ Mocking up web app with <b>Vitesse</b><sup><em>(speed)</em></sup><br>
|
||||
- [`unplugin-vue-macros`](https://github.com/sxzz/unplugin-vue-macros) - Explore and extend more macros and syntax sugar to Vue.
|
||||
- [`vite-plugin-pwa`](https://github.com/antfu/vite-plugin-pwa) - PWA
|
||||
- [`vite-plugin-vue-component-preview`](https://github.com/johnsoncodehk/vite-plugin-vue-component-preview) - Preview single component in VSCode
|
||||
- [`vite-plugin-vue-markdown`](https://github.com/antfu/vite-plugin-vue-markdown) - Markdown as components / components in Markdown
|
||||
- [`unplugin-vue-markdown`](https://github.com/antfu/unplugin-vue-markdown) - Markdown as components / components in Markdown
|
||||
- [`markdown-it-shiki`](https://github.com/antfu/markdown-it-shiki) - [Shiki](https://github.com/shikijs/shiki) for syntax highlighting
|
||||
- [Vue I18n](https://github.com/intlify/vue-i18n-next) - Internationalization
|
||||
- [`unplugin-vue-i18n`](https://github.com/intlify/bundle-tools/tree/main/packages/unplugin-vue-i18n) - unplugin for Vue I18n
|
||||
|
||||
+3
-3
@@ -46,11 +46,11 @@
|
||||
|
||||
- 🌍 [I18n 国际化开箱即用](./locales)
|
||||
|
||||
- 🗒 [Markdown 支持](https://github.com/antfu/vite-plugin-vue-markdown)
|
||||
- 🗒 [Markdown 支持](https://github.com/unplugin/unplugin-vue-markdown)
|
||||
|
||||
- 🔥 使用 [新的 `<script setup>` 语法](https://github.com/vuejs/rfcs/pull/227)
|
||||
|
||||
- 📥 [API 自动加载](https://github.com/antfu/unplugin-auto-import) - 直接使用 Composition API 无需引入
|
||||
- 📥 [API 自动加载](https://github.com/unplugin/unplugin-auto-import) - 直接使用 Composition API 无需引入
|
||||
|
||||
- 🖨 使用 [vite-ssg](https://github.com/antfu/vite-ssg) 进行服务端生成 (SSG)
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
- [`unplugin-vue-components`](https://github.com/antfu/unplugin-vue-components) - 自动加载组件
|
||||
- [`unplugin-auto-import`](https://github.com/antfu/unplugin-auto-import) - 直接使用 Composition API 等,无需导入
|
||||
- [`vite-plugin-pwa`](https://github.com/antfu/vite-plugin-pwa) - PWA
|
||||
- [`vite-plugin-vue-markdown`](https://github.com/antfu/vite-plugin-vue-markdown) - Markdown 作为组件,也可以让组件在 Markdown 中使用
|
||||
- [`unplugin-vue-markdown`](https://github.com/antfu/unplugin-vue-markdown) - Markdown 作为组件,也可以让组件在 Markdown 中使用
|
||||
- [`markdown-it-prism`](https://github.com/jGleitz/markdown-it-prism) - [Prism](https://prismjs.com/) 的语法高亮
|
||||
- [`prism-theme-vars`](https://github.com/antfu/prism-theme-vars) - 利用 CSS 变量自定义 Prism.js 的主题
|
||||
- [Vue I18n](https://github.com/intlify/vue-i18n-next) - 国际化
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
"cypress"
|
||||
]
|
||||
},
|
||||
"exclude": [],
|
||||
"include": [
|
||||
"**/*.ts"
|
||||
]
|
||||
],
|
||||
"exclude": []
|
||||
}
|
||||
|
||||
+37
-37
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"type": "module",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@8.6.7",
|
||||
"packageManager": "pnpm@8.7.6",
|
||||
"scripts": {
|
||||
"build": "vite-ssg build",
|
||||
"dev": "vite --port 3333 --open",
|
||||
@@ -17,60 +17,60 @@
|
||||
"sizecheck": "npx vite-bundle-visualizer"
|
||||
},
|
||||
"dependencies": {
|
||||
"@unhead/vue": "^1.1.30",
|
||||
"@unocss/reset": "^0.53.5",
|
||||
"@vueuse/core": "^10.2.1",
|
||||
"@vueuse/head": "^1.1.26",
|
||||
"@unhead/vue": "^1.7.4",
|
||||
"@unocss/reset": "^0.55.7",
|
||||
"@vueuse/core": "^10.4.1",
|
||||
"@vueuse/head": "^2.0.0",
|
||||
"nprogress": "^0.2.0",
|
||||
"pinia": "^2.1.4",
|
||||
"pinia": "^2.1.6",
|
||||
"vue": "^3.3.4",
|
||||
"vue-demi": "^0.14.5",
|
||||
"vue-i18n": "^9.2.2",
|
||||
"vue-demi": "^0.14.6",
|
||||
"vue-i18n": "^9.4.1",
|
||||
"vue-router": "^4.2.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "^0.39.7",
|
||||
"@iconify-json/carbon": "^1.1.18",
|
||||
"@intlify/unplugin-vue-i18n": "^0.12.2",
|
||||
"@antfu/eslint-config": "^0.43.0",
|
||||
"@iconify-json/carbon": "^1.1.21",
|
||||
"@intlify/unplugin-vue-i18n": "^1.2.0",
|
||||
"@types/markdown-it-link-attributes": "^3.0.1",
|
||||
"@types/nprogress": "^0.2.0",
|
||||
"@unocss/eslint-config": "^0.53.5",
|
||||
"@vitejs/plugin-vue": "^4.2.3",
|
||||
"@vue-macros/volar": "^0.12.1",
|
||||
"@vue/test-utils": "^2.4.0",
|
||||
"critters": "^0.0.19",
|
||||
"@unocss/eslint-config": "^0.55.7",
|
||||
"@vitejs/plugin-vue": "^4.3.4",
|
||||
"@vue-macros/volar": "^0.14.3",
|
||||
"@vue/test-utils": "^2.4.1",
|
||||
"critters": "^0.0.20",
|
||||
"cross-env": "^7.0.3",
|
||||
"cypress": "^12.17.1",
|
||||
"cypress-vite": "^1.4.1",
|
||||
"eslint": "^8.44.0",
|
||||
"eslint-plugin-cypress": "^2.13.3",
|
||||
"cypress": "^13.2.0",
|
||||
"cypress-vite": "^1.4.2",
|
||||
"eslint": "^8.49.0",
|
||||
"eslint-plugin-cypress": "^2.15.1",
|
||||
"https-localhost": "^4.7.1",
|
||||
"lint-staged": "^13.2.3",
|
||||
"lint-staged": "^14.0.1",
|
||||
"markdown-it-link-attributes": "^4.0.1",
|
||||
"markdown-it-shiki": "^0.9.0",
|
||||
"pnpm": "^8.6.7",
|
||||
"shiki": "^0.14.3",
|
||||
"simple-git-hooks": "^2.8.1",
|
||||
"pnpm": "^8.7.6",
|
||||
"shiki": "^0.14.4",
|
||||
"simple-git-hooks": "^2.9.0",
|
||||
"taze": "^0.11.2",
|
||||
"typescript": "^5.1.6",
|
||||
"unocss": "^0.53.5",
|
||||
"typescript": "^5.2.2",
|
||||
"unocss": "^0.55.7",
|
||||
"unplugin-auto-import": "^0.16.6",
|
||||
"unplugin-vue-components": "^0.25.1",
|
||||
"unplugin-vue-macros": "^2.3.6",
|
||||
"vite": "^4.4.3",
|
||||
"vite-bundle-visualizer": "^0.8.0",
|
||||
"vite-plugin-inspect": "^0.7.32",
|
||||
"unplugin-vue-components": "^0.25.2",
|
||||
"unplugin-vue-macros": "^2.5.1",
|
||||
"unplugin-vue-markdown": "^0.24.3",
|
||||
"vite": "^4.4.9",
|
||||
"vite-bundle-visualizer": "^0.10.0",
|
||||
"vite-plugin-inspect": "^0.7.38",
|
||||
"vite-plugin-pages": "^0.31.0",
|
||||
"vite-plugin-pwa": "^0.16.4",
|
||||
"vite-plugin-pwa": "^0.16.5",
|
||||
"vite-plugin-vue-component-preview": "^1.1.6",
|
||||
"vite-plugin-vue-devtools": "^0.5.1",
|
||||
"vite-plugin-vue-devtools": "^1.0.0-rc.4",
|
||||
"vite-plugin-vue-layouts": "^0.8.0",
|
||||
"vite-plugin-vue-markdown": "^0.23.5",
|
||||
"vite-plugin-webfont-dl": "^3.7.6",
|
||||
"vite-ssg": "^0.23.0",
|
||||
"vite-ssg": "^0.23.2",
|
||||
"vite-ssg-sitemap": "^0.5.1",
|
||||
"vitest": "^0.33.0",
|
||||
"vue-tsc": "^1.8.4"
|
||||
"vitest": "^0.34.4",
|
||||
"vue-tsc": "^1.8.11"
|
||||
},
|
||||
"simple-git-hooks": {
|
||||
"pre-commit": "pnpm lint-staged"
|
||||
|
||||
Generated
+1898
-2155
File diff suppressed because it is too large
Load Diff
@@ -8,8 +8,8 @@ const { modelValue } = defineModels<{
|
||||
<input
|
||||
id="input"
|
||||
v-model="modelValue"
|
||||
type="text"
|
||||
v-bind="$attrs"
|
||||
type="text"
|
||||
p="x-4 y-2"
|
||||
w="250px"
|
||||
text="center"
|
||||
|
||||
Vendored
+5
-3
@@ -2,15 +2,17 @@ declare interface Window {
|
||||
// extend the window
|
||||
}
|
||||
|
||||
// with vite-plugin-vue-markdown, markdown files can be treated as Vue components
|
||||
// with unplugin-vue-markdown, markdown files can be treated as Vue components
|
||||
declare module '*.md' {
|
||||
import { type DefineComponent } from 'vue'
|
||||
const component: DefineComponent<{}, {}, any>
|
||||
|
||||
const component: DefineComponent<object, object, any>
|
||||
export default component
|
||||
}
|
||||
|
||||
declare module '*.vue' {
|
||||
import { type DefineComponent } from 'vue'
|
||||
const component: DefineComponent<{}, {}, any>
|
||||
|
||||
const component: DefineComponent<object, object, any>
|
||||
export default component
|
||||
}
|
||||
|
||||
+14
-14
@@ -1,20 +1,14 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"module": "ESNext",
|
||||
"target": "ESNext",
|
||||
"lib": ["DOM", "ESNext"],
|
||||
"strict": true,
|
||||
"esModuleInterop": true,
|
||||
"jsx": "preserve",
|
||||
"skipLibCheck": true,
|
||||
"isolatedModules": true,
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "node",
|
||||
"resolveJsonModule": true,
|
||||
"noUnusedLocals": true,
|
||||
"strictNullChecks": true,
|
||||
"allowJs": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"~/*": ["src/*"]
|
||||
},
|
||||
"types": [
|
||||
"vitest",
|
||||
"vite/client",
|
||||
@@ -25,9 +19,15 @@
|
||||
"vite-plugin-pwa/client",
|
||||
"unplugin-vue-macros/macros-global"
|
||||
],
|
||||
"paths": {
|
||||
"~/*": ["src/*"]
|
||||
}
|
||||
"resolveJsonModule": true,
|
||||
"allowJs": true,
|
||||
"isolatedModules": true,
|
||||
"esModuleInterop": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"strict": true,
|
||||
"strictNullChecks": true,
|
||||
"noUnusedLocals": true,
|
||||
"skipLibCheck": true
|
||||
},
|
||||
"vueCompilerOptions": {
|
||||
"plugins": [
|
||||
|
||||
+4
-4
@@ -6,14 +6,14 @@ import generateSitemap from 'vite-ssg-sitemap'
|
||||
import Layouts from 'vite-plugin-vue-layouts'
|
||||
import Components from 'unplugin-vue-components/vite'
|
||||
import AutoImport from 'unplugin-auto-import/vite'
|
||||
import Markdown from 'vite-plugin-vue-markdown'
|
||||
import { VitePWA } from 'vite-plugin-pwa'
|
||||
import Markdown from 'unplugin-vue-markdown/vite'
|
||||
import VueMacros from 'unplugin-vue-macros/vite'
|
||||
import VueI18n from '@intlify/unplugin-vue-i18n/vite'
|
||||
import { VitePWA } from 'vite-plugin-pwa'
|
||||
import VueDevTools from 'vite-plugin-vue-devtools'
|
||||
import LinkAttributes from 'markdown-it-link-attributes'
|
||||
import Unocss from 'unocss/vite'
|
||||
import Shiki from 'markdown-it-shiki'
|
||||
import VueMacros from 'unplugin-vue-macros/vite'
|
||||
import WebfontDownload from 'vite-plugin-webfont-dl'
|
||||
|
||||
export default defineConfig({
|
||||
@@ -70,7 +70,7 @@ export default defineConfig({
|
||||
// see uno.config.ts for config
|
||||
Unocss(),
|
||||
|
||||
// https://github.com/antfu/vite-plugin-vue-markdown
|
||||
// https://github.com/unplugin/unplugin-vue-markdown
|
||||
// Don't need this? Try vitesse-lite: https://github.com/antfu/vitesse-lite
|
||||
Markdown({
|
||||
wrapperClasses: 'prose prose-sm m-auto text-left',
|
||||
|
||||
Reference in New Issue
Block a user