chore: update deps

This commit is contained in:
Anthony Fu 2023-09-28 07:53:35 +08:00
parent 04bad46eed
commit f8502c77ad
4 changed files with 586 additions and 347 deletions

11
.vscode/settings.json vendored
View File

@ -3,9 +3,6 @@
"*.css": "postcss" "*.css": "postcss"
}, },
// Enable the flat config support
"eslint.experimental.useFlatConfig": true,
// Disable the default formatter // Disable the default formatter
"prettier.enable": false, "prettier.enable": false,
"editor.formatOnSave": false, "editor.formatOnSave": false,
@ -18,11 +15,15 @@
// 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": "@stylistic/*", "severity": "off" }, { "rule": "style/*", "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" },
{ "rule": "*-order", "severity": "off" } { "rule": "*-order", "severity": "off" },
{ "rule": "*-dangle", "severity": "off" },
{ "rule": "*-newline", "severity": "off" },
{ "rule": "*quotes", "severity": "off" },
{ "rule": "*semi", "severity": "off" }
], ],
// The following is optional. // The following is optional.

View File

@ -1,14 +1,7 @@
import antfu from '@antfu/eslint-config' import antfu from '@antfu/eslint-config'
import plugin from '@unocss/eslint-plugin' import unocss from '@unocss/eslint-plugin'
export default antfu( export default antfu(
{ {},
ignores: [], unocss.configs.flat,
},
{
plugins: {
'@unocss': plugin,
},
rules: plugin.configs.recommended.rules,
},
) )

View File

@ -1,7 +1,7 @@
{ {
"type": "module", "type": "module",
"private": true, "private": true,
"packageManager": "pnpm@8.7.6", "packageManager": "pnpm@8.8.0",
"scripts": { "scripts": {
"build": "vite build", "build": "vite build",
"dev": "vite --port 3333 --open", "dev": "vite --port 3333 --open",
@ -18,31 +18,31 @@
"vue-router": "^4.2.5" "vue-router": "^4.2.5"
}, },
"devDependencies": { "devDependencies": {
"@antfu/eslint-config": "^1.0.0-beta.6", "@antfu/eslint-config": "^1.0.0-beta.12",
"@iconify-json/carbon": "^1.1.21", "@iconify-json/carbon": "^1.1.21",
"@types/node": "^20.6.3", "@types/node": "^20.7.1",
"@unocss/eslint-config": "^0.56.1", "@unocss/eslint-config": "^0.56.4",
"@unocss/eslint-plugin": "^0.56.1", "@unocss/eslint-plugin": "^0.56.4",
"@unocss/reset": "^0.56.1", "@unocss/reset": "^0.56.4",
"@vitejs/plugin-vue": "^4.3.4", "@vitejs/plugin-vue": "^4.3.4",
"@vue-macros/volar": "^0.14.3", "@vue-macros/volar": "^0.15.0",
"@vue/test-utils": "^2.4.1", "@vue/test-utils": "^2.4.1",
"eslint": "^8.50.0", "eslint": "^8.50.0",
"eslint-define-config": "^1.23.0", "eslint-define-config": "^1.23.0",
"jsdom": "^22.1.0", "jsdom": "^22.1.0",
"lint-staged": "^14.0.1", "lint-staged": "^14.0.1",
"pnpm": "^8.7.6", "pnpm": "^8.8.0",
"simple-git-hooks": "^2.9.0", "simple-git-hooks": "^2.9.0",
"taze": "^0.11.2", "taze": "^0.11.3",
"typescript": "^5.2.2", "typescript": "^5.2.2",
"unocss": "^0.56.1", "unocss": "^0.56.4",
"unplugin-auto-import": "^0.16.6", "unplugin-auto-import": "^0.16.6",
"unplugin-vue-components": "^0.25.2", "unplugin-vue-components": "^0.25.2",
"unplugin-vue-macros": "^2.5.1", "unplugin-vue-macros": "^2.6.0",
"vite": "^4.4.9", "vite": "^4.4.9",
"vite-plugin-pages": "^0.31.0", "vite-plugin-pages": "^0.31.0",
"vitest": "^0.34.5", "vitest": "^0.34.5",
"vue-tsc": "^1.8.13" "vue-tsc": "^1.8.15"
}, },
"simple-git-hooks": { "simple-git-hooks": {
"pre-commit": "pnpm lint-staged" "pre-commit": "pnpm lint-staged"

885
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff