Skip to content

Commit 0a8bb7b

Browse files
authored
chore(deps): update nuxt core (#261)
1 parent 52a19b8 commit 0a8bb7b

File tree

3 files changed

+815
-1720
lines changed

3 files changed

+815
-1720
lines changed

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,22 +36,23 @@
3636
"test": "yarn vitest run"
3737
},
3838
"dependencies": {
39-
"@nuxt/kit": "^3.0.0-rc.13",
39+
"@nuxt/kit": "^3.0.0",
4040
"chalk": "^5.1.2",
4141
"html-validate": "7.8.0",
42+
"pathe": "^1.0.0",
4243
"prettier": "^2.7.1"
4344
},
4445
"devDependencies": {
45-
"@nuxt/module-builder": "latest",
46-
"@nuxt/test-utils": "3.0.0-rc.13",
47-
"@nuxtjs/eslint-config-typescript": "11.0.0",
46+
"@nuxt/module-builder": "0.2.1",
47+
"@nuxt/test-utils": "3.0.0",
48+
"@nuxtjs/eslint-config-typescript": "12.0.0",
4849
"@release-it/conventional-changelog": "5.1.1",
4950
"c8": "^7.12.0",
5051
"eslint": "8.28.0",
5152
"eslint-config-prettier": "8.5.0",
5253
"husky": "8.0.2",
5354
"lint-staged": "13.0.4",
54-
"nuxt": "npm:nuxt3@3.0.0-rc.14-27802701.2f53495",
55+
"nuxt": "3.0.0",
5556
"release-it": "15.5.0",
5657
"vitest": "^0.25.3"
5758
},

src/module.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export default defineNuxtModule<ModuleOptions>({
5555
}
5656
}
5757

58+
// @ts-expect-error TODO: use @nuxt/bridge-schema
5859
nuxt.hook('generate:done', errorIfNeeded)
5960
nuxt.hook('close', errorIfNeeded)
6061
}
@@ -71,7 +72,9 @@ export default defineNuxtModule<ModuleOptions>({
7172
// Nuxt 2
7273

7374
if (isNuxt2()) {
75+
// @ts-expect-error TODO: use @nuxt/bridge-schema
7476
nuxt.hook('render:route', (url: string, result: { html: string }) => checkHTML(url, result.html))
77+
// @ts-expect-error TODO: use @nuxt/bridge-schema
7578
nuxt.hook('generate:page', ({ path, html }: { path: string, html: string }) => checkHTML(path, html))
7679
}
7780
}

0 commit comments

Comments
 (0)