chore: update

This commit is contained in:
Anthony Fu 2023-09-19 23:48:51 +08:00
parent 44d295ee8e
commit 5eb48642b0
4 changed files with 204 additions and 352 deletions

View File

@ -1,6 +1,6 @@
{ {
"private": true, "private": true,
"packageManager": "pnpm@8.7.5", "packageManager": "pnpm@8.7.6",
"scripts": { "scripts": {
"build": "vite build", "build": "vite build",
"dev": "vite --port 3333 --open", "dev": "vite --port 3333 --open",
@ -17,18 +17,18 @@
"vue-router": "^4.2.4" "vue-router": "^4.2.4"
}, },
"devDependencies": { "devDependencies": {
"@antfu/eslint-config": "^0.42.0", "@antfu/eslint-config": "^0.43.0",
"@iconify-json/carbon": "^1.1.21", "@iconify-json/carbon": "^1.1.21",
"@types/node": "^20.6.0", "@types/node": "^20.6.2",
"@unocss/eslint-config": "^0.55.7", "@unocss/eslint-config": "^0.55.7",
"@unocss/reset": "^0.55.7", "@unocss/reset": "^0.56.0",
"@vitejs/plugin-vue": "^4.3.4", "@vitejs/plugin-vue": "^4.3.4",
"@vue-macros/volar": "^0.14.3", "@vue-macros/volar": "^0.14.3",
"@vue/test-utils": "^2.4.1", "@vue/test-utils": "^2.4.1",
"eslint": "^8.49.0", "eslint": "^8.49.0",
"jsdom": "^22.1.0", "jsdom": "^22.1.0",
"lint-staged": "^14.0.1", "lint-staged": "^14.0.1",
"pnpm": "^8.7.5", "pnpm": "^8.7.6",
"simple-git-hooks": "^2.9.0", "simple-git-hooks": "^2.9.0",
"taze": "^0.11.2", "taze": "^0.11.2",
"typescript": "^5.2.2", "typescript": "^5.2.2",

517
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

3
shims.d.ts vendored
View File

@ -1,5 +1,6 @@
declare module '*.vue' { declare module '*.vue' {
import type { DefineComponent } from 'vue' import type { DefineComponent } from 'vue'
const component: DefineComponent<{}, {}, any>
const component: DefineComponent<object, object, any>
export default component export default component
} }

View File

@ -1,27 +1,27 @@
{ {
"compilerOptions": { "compilerOptions": {
"baseUrl": ".",
"module": "ESNext",
"target": "es2016", "target": "es2016",
"lib": ["DOM", "ESNext"], "lib": ["DOM", "ESNext"],
"strict": true,
"jsx": "preserve", "jsx": "preserve",
"esModuleInterop": true, "module": "ESNext",
"skipLibCheck": true,
"moduleResolution": "bundler", "moduleResolution": "bundler",
"resolveJsonModule": true, "baseUrl": ".",
"noUnusedLocals": true, "paths": {
"strictNullChecks": true, "~/*": ["src/*"]
"allowJs": true, },
"forceConsistentCasingInFileNames": true,
"types": [ "types": [
"vite/client", "vite/client",
"vite-plugin-pages/client", "vite-plugin-pages/client",
"unplugin-vue-macros/macros-global" "unplugin-vue-macros/macros-global"
], ],
"paths": { "resolveJsonModule": true,
"~/*": ["src/*"] "allowJs": true,
} "esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"strictNullChecks": true,
"noUnusedLocals": true,
"skipLibCheck": true
}, },
"exclude": ["dist", "node_modules"] "exclude": ["dist", "node_modules"]
} }