Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
piscis committed Jun 5, 2023
1 parent a220e68 commit 595f47b
Show file tree
Hide file tree
Showing 7 changed files with 193 additions and 208 deletions.
4 changes: 2 additions & 2 deletions components/HelloWorld.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ const app = useNuxtApp()
const route = useRoute()
const $q = useQuasar()
const click = () => {
function click() {
const url = route.path === '/' ? '/complicated' : '/'
navigateTo(url)
}
const toggleMode = () => {
function toggleMode() {
$q.dark.toggle()
}
Expand Down
1 change: 1 addition & 0 deletions composables/useQuasar.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
import { useQuasar } from 'quasar'

export default useQuasar
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"quasar": "^2.11.9"
},
"devDependencies": {
"@antfu/eslint-config": "^0.37.0",
"@antfu/eslint-config": "^0.39.5",
"@nuxt/test-utils": "^3.5.2",
"@quasar/vite-plugin": "^1.3.0",
"@types/jest-image-snapshot": "^6.1.0",
Expand All @@ -37,6 +37,6 @@
"rimraf": "^5.0.1",
"sass": "1.32.12",
"typescript": "^5.1.3",
"vitest": "^0.29.8"
"vitest": "^0.31.4"
}
}
1 change: 1 addition & 0 deletions plugins/fake-dom.server.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { GlobalRegistrator } from '@happy-dom/global-registrator'

GlobalRegistrator.register()

export default defineNuxtPlugin((_nuxtApp): void => {})
389 changes: 185 additions & 204 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions tests/complicated-page.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { $fetch, createPage } from '@nuxt/test-utils'
import { toMatchImageSnapshot } from 'jest-image-snapshot'

declare global {
// eslint-disable-next-line @typescript-eslint/no-namespace
namespace jest {
interface Matchers<R> {
toMatchImageSnapshot(): R
Expand Down
1 change: 1 addition & 0 deletions tests/index-page.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { $fetch, createPage } from '@nuxt/test-utils'
import { toMatchImageSnapshot } from 'jest-image-snapshot'

declare global {
// eslint-disable-next-line @typescript-eslint/no-namespace
namespace jest {
interface Matchers<R> {
toMatchImageSnapshot(): R
Expand Down

0 comments on commit 595f47b

Please sign in to comment.