Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Apr 6, 2022
1 parent 5b66f9c commit 972de31
Show file tree
Hide file tree
Showing 10 changed files with 66 additions and 65 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"typecheck": "vue-tsc --noEmit"
},
"dependencies": {
"@vueuse/core": "^8.2.4",
"@vueuse/core": "^8.2.5",
"@vueuse/head": "^0.7.5",
"nprogress": "^0.2.0",
"pinia": "^2.0.13",
Expand All @@ -24,9 +24,9 @@
"vue-router": "^4.0.14"
},
"devDependencies": {
"@antfu/eslint-config": "^0.19.4",
"@antfu/eslint-config": "^0.20.0",
"@iconify-json/carbon": "^1.1.3",
"@intlify/vite-plugin-vue-i18n": "^3.3.1",
"@intlify/vite-plugin-vue-i18n": "^4.0.0",
"@types/markdown-it-link-attributes": "^3.0.1",
"@types/nprogress": "^0.2.0",
"@unocss/reset": "^0.30.11",
Expand All @@ -51,9 +51,9 @@
"vite-plugin-pages": "^0.22.0",
"vite-plugin-pwa": "^0.11.13",
"vite-plugin-vue-layouts": "^0.6.0",
"vite-ssg": "^0.19.1",
"vite-ssg": "^0.19.2",
"vite-ssg-sitemap": "^0.2.0",
"vitest": "^0.8.4",
"vitest": "^0.9.0",
"vue-tsc": "^0.33.9"
}
}
104 changes: 52 additions & 52 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/auto-imports.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ declare global {
const toRef: typeof import('vue')['toRef']
const toRefs: typeof import('vue')['toRefs']
const triggerRef: typeof import('vue')['triggerRef']
const tryOnBeforeMount: typeof import('@vueuse/core')['tryOnBeforeMount']
const tryOnBeforeUnmount: typeof import('@vueuse/core')['tryOnBeforeUnmount']
const tryOnMounted: typeof import('@vueuse/core')['tryOnMounted']
const tryOnScopeDispose: typeof import('@vueuse/core')['tryOnScopeDispose']
Expand Down
2 changes: 1 addition & 1 deletion src/modules/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
A custom user module system. Place a `.ts` file with the following template, it will be installed automatically.

```ts
import type { UserModule } from '~/types'
import { type UserModule } from '~/types'

export const install: UserModule = ({ app, router, isClient }) => {
// do something
Expand Down
2 changes: 1 addition & 1 deletion src/modules/i18n.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createI18n } from 'vue-i18n'
import type { UserModule } from '~/types'
import { type UserModule } from '~/types'

// Import i18n resources
// https://vitejs.dev/guide/features.html#glob-import
Expand Down
2 changes: 1 addition & 1 deletion src/modules/nprogress.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import NProgress from 'nprogress'
import type { UserModule } from '~/types'
import { type UserModule } from '~/types'

export const install: UserModule = ({ isClient, router }) => {
if (isClient) {
Expand Down
2 changes: 1 addition & 1 deletion src/modules/pinia.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createPinia } from 'pinia'
import type { UserModule } from '~/types'
import { type UserModule } from '~/types'

// Setup Pinia
// https://pinia.esm.dev/
Expand Down
2 changes: 1 addition & 1 deletion src/modules/pwa.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { UserModule } from '~/types'
import { type UserModule } from '~/types'

// https://github.com/antfu/vite-plugin-pwa#automatic-reload-when-new-content-available
export const install: UserModule = ({ isClient, router }) => {
Expand Down
4 changes: 2 additions & 2 deletions src/shims.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ declare interface Window {

// with vite-plugin-md, markdowns can be treat as Vue components
declare module '*.md' {
import type { DefineComponent } from 'vue'
import { type DefineComponent } from 'vue'
const component: DefineComponent<{}, {}, any>
export default component
}

declare module '*.vue' {
import type { DefineComponent } from 'vue'
import { type DefineComponent } from 'vue'
const component: DefineComponent<{}, {}, any>
export default component
}
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import type { ViteSSGContext } from 'vite-ssg'
import { type ViteSSGContext } from 'vite-ssg'

export type UserModule = (ctx: ViteSSGContext) => void

0 comments on commit 972de31

Please sign in to comment.