Skip to content

Commit b368142

Browse files
committed
chore: bump nuxtseo-shared to ^0.4.0, revert runtime to #alias
1 parent 31b1a99 commit b368142

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

pnpm-lock.yaml

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ catalog:
7878
nuxt: ^4.4.2
7979
nuxt-site-config: ^3.2.21
8080
nuxtseo-layer-devtools: ^0.1.0
81-
nuxtseo-shared: ^0.3.0
81+
nuxtseo-shared: ^0.4.0
8282
nypm: ^0.6.5
8383
ofetch: ^1.5.1
8484
ohash: ^2.0.11

src/runtime/server/util/kit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { H3Event } from 'h3'
22
import type { NuxtIslandResponse } from 'nuxt/app'
33
import { hash } from 'ohash'
44

5-
export { createNitroRouteRuleMatcher, withoutQuery } from 'nuxtseo-shared/runtime/server/kit'
5+
export { createNitroRouteRuleMatcher, withoutQuery } from '#nuxtseo-shared/server/kit'
66

77
export function fetchIsland(e: H3Event, component: string, props: Record<string, any>): Promise<NuxtIslandResponse> {
88
const hashId = hash([component, props]).replaceAll('_', '-')

tsconfig.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
{
22
"extends": "./.nuxt/tsconfig.json",
3+
"compilerOptions": {
4+
"paths": {
5+
"#nuxtseo-shared/*": ["./node_modules/nuxtseo-shared/dist/runtime/*"]
6+
}
7+
},
38
"exclude": ["test/**", "playground/**", "client/**"]
49
}

0 commit comments

Comments
 (0)