chore: update deps

This commit is contained in:
Anthony Fu 2021-12-20 16:31:13 +08:00
parent f59d4d60bd
commit 677fa4fd0b
5 changed files with 355 additions and 1937 deletions

7
auto-imports.d.ts vendored
View File

@ -103,10 +103,12 @@ declare global {
const useBrowserLocation: typeof import('@vueuse/core')['useBrowserLocation']
const useClamp: typeof import('@vueuse/core')['useClamp']
const useClipboard: typeof import('@vueuse/core')['useClipboard']
const useColorMode: typeof import('@vueuse/core')['useColorMode']
const useConfirmDialog: typeof import('@vueuse/core')['useConfirmDialog']
const useCounter: typeof import('@vueuse/core')['useCounter']
const useCssModule: typeof import('vue')['useCssModule']
const useCssVar: typeof import('@vueuse/core')['useCssVar']
const useCycleList: typeof import('@vueuse/core')['useCycleList']
const useDark: typeof import('@vueuse/core')['useDark']
const useDebounce: typeof import('@vueuse/core')['useDebounce']
const useDebouncedRefHistory: typeof import('@vueuse/core')['useDebouncedRefHistory']
@ -119,6 +121,7 @@ declare global {
const useDocumentVisibility: typeof import('@vueuse/core')['useDocumentVisibility']
const useDraggable: typeof import('@vueuse/core')['useDraggable']
const useElementBounding: typeof import('@vueuse/core')['useElementBounding']
const useElementByPoint: typeof import('@vueuse/core')['useElementByPoint']
const useElementHover: typeof import('@vueuse/core')['useElementHover']
const useElementSize: typeof import('@vueuse/core')['useElementSize']
const useElementVisibility: typeof import('@vueuse/core')['useElementVisibility']
@ -150,6 +153,7 @@ declare global {
const useMouseInElement: typeof import('@vueuse/core')['useMouseInElement']
const useMousePressed: typeof import('@vueuse/core')['useMousePressed']
const useMutationObserver: typeof import('@vueuse/core')['useMutationObserver']
const useNavigatorLanguage: typeof import('@vueuse/core')['useNavigatorLanguage']
const useNetwork: typeof import('@vueuse/core')['useNetwork']
const useNow: typeof import('@vueuse/core')['useNow']
const useOnline: typeof import('@vueuse/core')['useOnline']
@ -166,6 +170,7 @@ declare global {
const useResizeObserver: typeof import('@vueuse/core')['useResizeObserver']
const useRoute: typeof import('vue-router')['useRoute']
const useRouter: typeof import('vue-router')['useRouter']
const useScreenSafeArea: typeof import('@vueuse/core')['useScreenSafeArea']
const useScriptTag: typeof import('@vueuse/core')['useScriptTag']
const useScroll: typeof import('@vueuse/core')['useScroll']
const useScrollLock: typeof import('@vueuse/core')['useScrollLock']
@ -175,8 +180,10 @@ declare global {
const useSpeechRecognition: typeof import('@vueuse/core')['useSpeechRecognition']
const useSpeechSynthesis: typeof import('@vueuse/core')['useSpeechSynthesis']
const useStorage: typeof import('@vueuse/core')['useStorage']
const useStorageAsync: typeof import('@vueuse/core')['useStorageAsync']
const useSwipe: typeof import('@vueuse/core')['useSwipe']
const useTemplateRefsList: typeof import('@vueuse/core')['useTemplateRefsList']
const useTextSelection: typeof import('@vueuse/core')['useTextSelection']
const useThrottle: typeof import('@vueuse/core')['useThrottle']
const useThrottledRefHistory: typeof import('@vueuse/core')['useThrottledRefHistory']
const useThrottleFn: typeof import('@vueuse/core')['useThrottleFn']

View File

@ -8,25 +8,26 @@
"test": "vitest"
},
"dependencies": {
"@vueuse/core": "^7.2.2",
"vue": "^3.2.24",
"@vueuse/core": "^7.4.0",
"vue": "^3.2.26",
"vue-router": "^4.0.12"
},
"devDependencies": {
"@antfu/eslint-config": "^0.12.2",
"@antfu/eslint-config": "^0.14.0",
"@iconify-json/carbon": "^1.0.12",
"@types/node": "^16.11.12",
"@unocss/reset": "^0.15.6",
"@vitejs/plugin-vue": "^1.10.2",
"@types/node": "^17.0.1",
"@unocss/reset": "^0.16.4",
"@vitejs/plugin-vue": "^2.0.1",
"@vue/test-utils": "^2.0.0-rc.17",
"eslint": "^8.4.1",
"pnpm": "^6.23.6",
"typescript": "^4.5.2",
"unocss": "^0.15.6",
"eslint": "^8.5.0",
"jsdom": "^19.0.0",
"pnpm": "^6.24.2",
"typescript": "^4.5.4",
"unocss": "^0.16.4",
"unplugin-auto-import": "^0.5.3",
"unplugin-vue-components": "^0.17.6",
"vite": "^2.7.1",
"vite-plugin-pages": "^0.18.2",
"vitest": "^0.0.44"
"unplugin-vue-components": "^0.17.9",
"vite": "^2.7.3",
"vite-plugin-pages": "^0.19.5",
"vitest": "^0.0.99"
}
}

2245
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,3 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Vitest Snapshot v1
exports[`Counter.vue > should render 1`] = `"<div>10 <button class=\\"inc\\"> + </button><button class=\\"dec\\"> - </button></div>"`;

View File

@ -1,10 +1,12 @@
/// <reference types="vitest" />
import path from 'path'
import { defineConfig } from 'vite'
import Vue from '@vitejs/plugin-vue'
import Pages from 'vite-plugin-pages'
import Components from 'unplugin-vue-components/vite'
import AutoImport from 'unplugin-auto-import/vite'
import { presetAttributify, presetUno, presetIcons } from 'unocss'
import { presetAttributify, presetIcons, presetUno } from 'unocss'
import Unocss from 'unocss/vite'
export default defineConfig({
@ -63,6 +65,9 @@ export default defineConfig({
},
test: {
dom: 'jsdom',
environment: 'jsdom',
deps: {
inline: ['@vue', '@vueuse', 'vue-demi'],
},
},
})