chore: update

This commit is contained in:
Anthony Fu committed 2023-12-04 17:46:13 +01:00
1 parent 4b67fa5e78
commit 2cbd287bfb
8 files changed
+1213 -1335

No files matched your search

+1 -5
View File
@@ -5,10 +5,6 @@
"i18n-ally.localesPaths": "locales", "i18n-ally.localesPaths": "locales",
"i18n-ally.sortKeys": true, "i18n-ally.sortKeys": true,
"files.associations": {
"*.css": "postcss"
},
// Enable the ESlint flat config support // Enable the ESlint flat config support
"eslint.experimental.useFlatConfig": true, "eslint.experimental.useFlatConfig": true,
@@ -25,7 +21,7 @@
// Silent the stylistic rules in you IDE, but still auto fix them // Silent the stylistic rules in you IDE, but still auto fix them
"eslint.rules.customizations": [ "eslint.rules.customizations": [
{ "rule": "style/*", "severity": "off" }, { "rule": "style/*", "severity": "off" },
{ "rule": "prettier/*", "severity": "off" }, { "rule": "format/*", "severity": "off" },
{ "rule": "*-indent", "severity": "off" }, { "rule": "*-indent", "severity": "off" },
{ "rule": "*-spacing", "severity": "off" }, { "rule": "*-spacing", "severity": "off" },
{ "rule": "*-spaces", "severity": "off" }, { "rule": "*-spaces", "severity": "off" },
-2
View File
@@ -25,7 +25,6 @@ Mocking up web app with <b>Vitesse</b><sup><em>(speed)</em></sup><br>
<br> <br>
## Features ## Features
- ⚡️ [Vue 3](https://github.com/vuejs/core), [Vite](https://github.com/vitejs/vite), [pnpm](https://pnpm.io/), [esbuild](https://github.com/evanw/esbuild) - born with fastness - ⚡️ [Vue 3](https://github.com/vuejs/core), [Vite](https://github.com/vitejs/vite), [pnpm](https://pnpm.io/), [esbuild](https://github.com/evanw/esbuild) - born with fastness
@@ -68,7 +67,6 @@ Mocking up web app with <b>Vitesse</b><sup><em>(speed)</em></sup><br>
<br> <br>
## Pre-packed ## Pre-packed
### UI Frameworks ### UI Frameworks
+1 -1
View File
@@ -19,7 +19,6 @@
<br> <br>
<p align='center'> <p align='center'>
<a href="https://github.com/antfu/vitesse/blob/main/README.md">English</a> | <b>简体中文</b> <a href="https://github.com/antfu/vitesse/blob/main/README.md">English</a> | <b>简体中文</b>
</p> </p>
@@ -100,6 +99,7 @@
- [ESLint](https://eslint.org/) 配置为 [@antfu/eslint-config](https://github.com/antfu/eslint-config), 单引号, 无分号. - [ESLint](https://eslint.org/) 配置为 [@antfu/eslint-config](https://github.com/antfu/eslint-config), 单引号, 无分号.
### 开发工具 ### 开发工具
- [TypeScript](https://www.typescriptlang.org/) - [TypeScript](https://www.typescriptlang.org/)
- [Vitest](https://github.com/vitest-dev/vitest) - 基于 Vite 的单元测试框架 - [Vitest](https://github.com/vitest-dev/vitest) - 基于 Vite 的单元测试框架
- [Cypress](https://cypress.io/) - E2E 测试 - [Cypress](https://cypress.io/) - E2E 测试
+5
View File
@@ -3,5 +3,10 @@ import antfu from '@antfu/eslint-config'
export default antfu( export default antfu(
{ {
unocss: true, unocss: true,
formatters: {
html: true,
css: true,
markdown: true,
},
}, },
) )
+12 -11
View File
@@ -18,23 +18,23 @@
}, },
"dependencies": { "dependencies": {
"@unhead/vue": "^1.8.8", "@unhead/vue": "^1.8.8",
"@unocss/reset": "^0.57.7", "@unocss/reset": "^0.58.0",
"@vueuse/core": "^10.6.1", "@vueuse/core": "^10.6.1",
"@vueuse/head": "^2.0.0", "@vueuse/head": "^2.0.0",
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"pinia": "^2.1.7", "pinia": "^2.1.7",
"vue": "^3.3.9", "vue": "^3.3.10",
"vue-demi": "^0.14.6", "vue-demi": "^0.14.6",
"vue-i18n": "^9.8.0", "vue-i18n": "^9.8.0",
"vue-router": "^4.2.5" "vue-router": "^4.2.5"
}, },
"devDependencies": { "devDependencies": {
"@antfu/eslint-config": "^2.2.0", "@antfu/eslint-config": "^2.3.0",
"@iconify-json/carbon": "^1.1.24", "@iconify-json/carbon": "^1.1.24",
"@intlify/unplugin-vue-i18n": "^1.5.0", "@intlify/unplugin-vue-i18n": "^1.5.0",
"@types/markdown-it-link-attributes": "^3.0.4", "@types/markdown-it-link-attributes": "^3.0.4",
"@types/nprogress": "^0.2.3", "@types/nprogress": "^0.2.3",
"@unocss/eslint-config": "^0.57.7", "@unocss/eslint-config": "^0.58.0",
"@vitejs/plugin-vue": "^4.5.1", "@vitejs/plugin-vue": "^4.5.1",
"@vue-macros/volar": "^0.17.4", "@vue-macros/volar": "^0.17.4",
"@vue/test-utils": "^2.4.3", "@vue/test-utils": "^2.4.3",
@@ -44,8 +44,9 @@
"cypress-vite": "^1.5.0", "cypress-vite": "^1.5.0",
"eslint": "^8.55.0", "eslint": "^8.55.0",
"eslint-plugin-cypress": "^2.15.1", "eslint-plugin-cypress": "^2.15.1",
"eslint-plugin-format": "^0.0.1",
"https-localhost": "^4.7.1", "https-localhost": "^4.7.1",
"lint-staged": "^15.1.0", "lint-staged": "^15.2.0",
"markdown-it-link-attributes": "^4.0.1", "markdown-it-link-attributes": "^4.0.1",
"markdown-it-shikiji": "^0.7.6", "markdown-it-shikiji": "^0.7.6",
"pnpm": "^8.11.0", "pnpm": "^8.11.0",
@@ -54,22 +55,22 @@
"simple-git-hooks": "^2.9.0", "simple-git-hooks": "^2.9.0",
"taze": "^0.13.0", "taze": "^0.13.0",
"typescript": "^5.3.2", "typescript": "^5.3.2",
"unocss": "^0.57.7", "unocss": "^0.58.0",
"unplugin-auto-import": "^0.17.1", "unplugin-auto-import": "^0.17.2",
"unplugin-vue-components": "^0.25.2", "unplugin-vue-components": "^0.26.0",
"unplugin-vue-macros": "^2.7.0", "unplugin-vue-macros": "^2.7.0",
"unplugin-vue-markdown": "^0.25.2", "unplugin-vue-markdown": "^0.25.2",
"unplugin-vue-router": "^0.7.0", "unplugin-vue-router": "^0.7.0",
"vite": "^5.0.4", "vite": "^5.0.5",
"vite-bundle-visualizer": "^0.11.0", "vite-bundle-visualizer": "^0.11.0",
"vite-plugin-inspect": "^0.8.1", "vite-plugin-inspect": "^0.8.1",
"vite-plugin-pwa": "^0.17.2", "vite-plugin-pwa": "^0.17.2",
"vite-plugin-vue-devtools": "^1.0.0-rc.5", "vite-plugin-vue-devtools": "^1.0.0-rc.6",
"vite-plugin-vue-layouts": "^0.8.0", "vite-plugin-vue-layouts": "^0.8.0",
"vite-plugin-webfont-dl": "^3.9.1", "vite-plugin-webfont-dl": "^3.9.1",
"vite-ssg": "^0.23.5", "vite-ssg": "^0.23.5",
"vite-ssg-sitemap": "^0.6.1", "vite-ssg-sitemap": "^0.6.1",
"vitest": "^1.0.0-beta.6", "vitest": "^1.0.0",
"vue-tsc": "^1.8.24" "vue-tsc": "^1.8.24"
}, },
"simple-git-hooks": { "simple-git-hooks": {
+1193 -1314
View File
File diff suppressed because it is too large. Load diff
-1
View File
@@ -2,7 +2,6 @@
Components in this dir will be auto-registered and on-demand, powered by [`unplugin-vue-components`](https://github.com/antfu/unplugin-vue-components). Components in this dir will be auto-registered and on-demand, powered by [`unplugin-vue-components`](https://github.com/antfu/unplugin-vue-components).
### Icons ### Icons
You can use icons from almost any icon sets by the power of [Iconify](https://iconify.design/). You can use icons from almost any icon sets by the power of [Iconify](https://iconify.design/).
+1 -1
View File
@@ -6,7 +6,7 @@ By default, `default.vue` will be used unless an alternative is specified in the
With [`unplugin-vue-router`](https://github.com/posva/unplugin-vue-router) and [`vite-plugin-vue-layouts`](https://github.com/JohnCampionJr/vite-plugin-vue-layouts), you can specify the layout in the page's SFCs like this: With [`unplugin-vue-router`](https://github.com/posva/unplugin-vue-router) and [`vite-plugin-vue-layouts`](https://github.com/JohnCampionJr/vite-plugin-vue-layouts), you can specify the layout in the page's SFCs like this:
```html ```vue
<route lang="yaml"> <route lang="yaml">
meta: meta:
layout: home layout: home