Skip to content

Commit 31b1a99

Browse files
committed
fix: use direct nuxtseo-shared/runtime imports, bump to ^0.3.0
1 parent 0859450 commit 31b1a99

File tree

4 files changed

+11
-14
lines changed

4 files changed

+11
-14
lines changed

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@
1919
"bugs": {
2020
"url": "https://github.com/nuxt-modules/og-image/issues"
2121
},
22-
"imports": {
23-
"#nuxtseo-shared/server/kit": "./node_modules/nuxtseo-shared/dist/runtime/server/kit.js"
24-
},
2522
"exports": {
2623
".": {
2724
"types": "./dist/types.d.mts",

pnpm-lock.yaml

Lines changed: 9 additions & 9 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.2.0
81+
nuxtseo-shared: ^0.3.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/server/kit'
5+
export { createNitroRouteRuleMatcher, withoutQuery } from 'nuxtseo-shared/runtime/server/kit'
66

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

0 commit comments

Comments
 (0)