Skip to content

Commit 429cfcb

Browse files
committed
chore: update deps
1 parent 5b89891 commit 429cfcb

File tree

5 files changed

+2682
-3138
lines changed

5 files changed

+2682
-3138
lines changed

modules/template-loader.ts

+9-6
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,15 @@ export default defineNuxtModule({
8181
getFileMap(resolve(id, '../solutions')),
8282
])
8383

84-
return [
85-
code,
86-
`meta.files = ${JSON.stringify(files)}`,
87-
`meta.solutions = ${JSON.stringify(solutions)}`,
88-
'',
89-
].join('\n')
84+
return {
85+
code: [
86+
code,
87+
`meta.files = ${JSON.stringify(files)}`,
88+
`meta.solutions = ${JSON.stringify(solutions)}`,
89+
'',
90+
].join('\n'),
91+
map: null,
92+
}
9093
},
9194
})
9295
},

nuxt.config.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ export default defineNuxtConfig({
66
'@vueuse/nuxt',
77
'@unocss/nuxt',
88
'@nuxt/content',
9+
'@nuxt/image',
910
'@nuxtjs/color-mode',
1011
'@pinia/nuxt',
1112
'floating-vue/nuxt',
1213
'@nuxtjs/seo',
13-
'nuxt-icon',
14+
'@nuxt/icon',
1415
'@nuxt/eslint',
1516

1617
// local
@@ -108,6 +109,7 @@ export default defineNuxtConfig({
108109
'@vue/language-service',
109110
'@volar/monaco/worker',
110111
'typescript',
112+
'vscode-uri',
111113
],
112114
},
113115
},

package.json

+26-28
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "learn.nuxt.com",
33
"type": "module",
44
"private": true,
5-
"packageManager": "pnpm@9.1.1",
5+
"packageManager": "pnpm@9.4.0",
66
"scripts": {
77
"build": "nuxt build",
88
"dev": "nuxt dev",
@@ -14,55 +14,53 @@
1414
"format": "eslint . --fix"
1515
},
1616
"dependencies": {
17-
"@shikijs/core": "^1.5.2",
18-
"@shikijs/monaco": "^1.5.2",
17+
"@shikijs/core": "^1.10.0",
18+
"@shikijs/monaco": "^1.10.0",
1919
"@volar/monaco": "~2.4.0-alpha.12",
2020
"@vue/language-service": "^2.0.26-alpha.2",
21-
"@webcontainer/api": "^1.1.9",
21+
"@webcontainer/api": "^1.2.0",
2222
"@xterm/addon-fit": "^0.10.0",
2323
"@xterm/xterm": "^5.5.0",
2424
"birpc": "^0.2.17",
2525
"floating-vue": "^5.2.2",
2626
"jszip": "^3.10.1",
2727
"monaco-editor": "^0.50.0",
28-
"monaco-editor-textmate": "^4.0.0",
29-
"monaco-textmate": "^3.0.1",
30-
"onigasm": "^2.2.5",
31-
"shiki": "^1.5.2",
28+
"shiki": "^1.10.0",
3229
"splitpanes": "^3.1.5",
3330
"strip-json-comments": "^5.0.1",
3431
"theme-vitesse": "^0.8.0",
35-
"unified": "^11.0.4",
32+
"unified": "^11.0.5",
3633
"vscode-uri": "^3.0.8",
37-
"vue": "^3.4.27",
38-
"vue-router": "^4.3.2"
34+
"vue": "^3.4.31",
35+
"vue-router": "^4.4.0"
3936
},
4037
"devDependencies": {
41-
"@antfu/eslint-config": "^2.18.1",
42-
"@iconify-json/logos": "^1.1.42",
43-
"@iconify/json": "^2.2.211",
44-
"@nuxt/content": "^2.12.1",
45-
"@nuxt/devtools": "^1.3.1",
38+
"@antfu/eslint-config": "^2.21.2",
39+
"@iconify-json/logos": "^1.1.43",
40+
"@iconify/json": "^2.2.224",
41+
"@nuxt/content": "^2.13.0",
42+
"@nuxt/devtools": "^1.3.8",
4643
"@nuxt/eslint": "^0.3.13",
47-
"@nuxt/kit": "^3.11.2",
48-
"@nuxtjs/color-mode": "^3.4.1",
44+
"@nuxt/icon": "^1.0.0",
45+
"@nuxt/image": "^1.7.0",
46+
"@nuxt/kit": "^3.12.2",
47+
"@nuxtjs/color-mode": "^3.4.2",
4948
"@nuxtjs/seo": "2.0.0-rc.10",
5049
"@pinia/nuxt": "^0.5.1",
51-
"@unocss/eslint-plugin": "^0.60.2",
52-
"@unocss/extractor-mdc": "^0.60.2",
53-
"@unocss/nuxt": "^0.60.2",
54-
"@vueuse/nuxt": "^10.9.0",
55-
"eslint": "^9.3.0",
56-
"eslint-plugin-format": "^0.1.1",
57-
"execa": "^9.1.0",
50+
"@unocss/eslint-plugin": "^0.61.0",
51+
"@unocss/extractor-mdc": "^0.61.0",
52+
"@unocss/nuxt": "^0.61.0",
53+
"@vueuse/nuxt": "^10.11.0",
54+
"eslint": "^9.6.0",
55+
"eslint-plugin-format": "^0.1.2",
56+
"execa": "^9.3.0",
5857
"fast-glob": "^3.3.2",
5958
"fuse.js": "^7.0.0",
6059
"monaco-editor-core": "^0.50.0",
61-
"nuxt": "^3.11.2",
62-
"nuxt-icon": "^0.6.10",
60+
"nuxt": "^3.12.2",
6361
"pathe": "^1.1.2",
6462
"remark-external-links": "^9.0.1",
65-
"typescript": "^5.4.5",
63+
"typescript": "^5.5.3",
6664
"vue-tsc": "^2.0.26-alpha.2"
6765
},
6866
"pnpm": {

0 commit comments

Comments
 (0)