Skip to content

Commit 737eb13

Browse files
authored
chore: bump nuxt + nuxt/test-utils (#1159)
1 parent 3b077e1 commit 737eb13

File tree

5 files changed

+1036
-1165
lines changed

5 files changed

+1036
-1165
lines changed

.nuxtrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
setups.@nuxt/test-utils="3.23.0"
1+
setups.@nuxt/test-utils="4.0.0"

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
"dependencies": {
2222
"better-sqlite3": "12.5.0",
2323
"docus": "5.4.4",
24-
"nuxt": "4.3.0"
24+
"nuxt": "4.3.1"
2525
}
2626
}

nuxt.config.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,6 @@ import { isCI, provider } from 'std-env'
44

55
export default defineNuxtConfig({
66
modules: [
7-
// Workaround for Nuxt 4.3.0 regression: https://github.com/nuxt/nuxt/issues/34140
8-
// shared-imports.d.ts pulls in app composables during type-checking of shared context,
9-
// but the shared context doesn't have access to auto-import globals.
10-
// TODO: Remove when Nuxt fixes this upstream
11-
function (_, nuxt) {
12-
nuxt.hook('prepare:types', ({ sharedReferences }) => {
13-
const idx = sharedReferences.findIndex(
14-
ref => 'path' in ref && ref.path.endsWith('shared-imports.d.ts'),
15-
)
16-
if (idx !== -1) {
17-
sharedReferences.splice(idx, 1)
18-
}
19-
})
20-
},
217
'@unocss/nuxt',
228
'@nuxtjs/html-validator',
239
'@nuxt/scripts',

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@
6161
"@nuxt/a11y": "1.0.0-alpha.1",
6262
"@nuxt/fonts": "0.13.0",
6363
"@nuxt/scripts": "0.13.2",
64-
"@nuxt/test-utils": "https://pkg.pr.new/@nuxt/test-utils@1499a48",
64+
"@nuxt/test-utils": "4.0.0",
6565
"@nuxtjs/color-mode": "4.0.0",
6666
"@nuxtjs/html-validator": "2.1.0",
67-
"@nuxtjs/i18n": "10.2.1",
67+
"@nuxtjs/i18n": "10.2.3",
6868
"@shikijs/langs": "3.21.0",
6969
"@shikijs/themes": "3.21.0",
7070
"@unocss/nuxt": "66.6.0",
@@ -83,7 +83,7 @@
8383
"gray-matter": "4.0.3",
8484
"marked": "17.0.1",
8585
"module-replacements": "2.11.0",
86-
"nuxt": "4.3.0",
86+
"nuxt": "4.3.1",
8787
"nuxt-og-image": "5.1.13",
8888
"ofetch": "1.5.1",
8989
"ohash": "2.0.11",

0 commit comments

Comments
 (0)