chore(deps): declare shikiji-core as direct dependency

useMarkdown.hook.ts imports types from shikiji-core, but it was only
present transitively via markdown-it-shikiji. pnpm's strict resolution
blocks importing undeclared transitives, breaking type-check.

Pinned to 0.10.2 to match the version markdown-it-shikiji@0.10.2 pulls
in. The shikiji line is deprecated upstream in favor of shiki; a real
migration is out of scope here.
This commit is contained in:
Julien Calixte
2026-05-16 10:04:01 +02:00
parent 37c65142b7
commit a4d9774191
2 changed files with 5 additions and 1 deletions

View File

@@ -61,6 +61,7 @@
"register-service-worker": "^1.7.2",
"retrobus": "^1.9.4",
"sanitize-html": "^2.17.0",
"shikiji-core": "0.10.2",
"vue": "^3.5.18",
"vue-i18n": "^11.1.11",
"vue-router": "^4.5.1",

5
pnpm-lock.yaml generated
View File

@@ -140,6 +140,9 @@ importers:
sanitize-html:
specifier: ^2.17.0
version: 2.17.0
shikiji-core:
specifier: 0.10.2
version: 0.10.2
vue:
specifier: ^3.5.18
version: 3.5.18(typescript@5.9.3)
@@ -5710,7 +5713,7 @@ packages:
shikiji-core@0.10.2:
resolution: {integrity: sha512-9Of8HMlF96usXJHmCL3Gd0Fcf0EcyJUF9m8EoAKKd98mHXi0La2AZl1h6PegSFGtiYcBDK/fLuKbDa1l16r1fA==}
deprecated: Shikiji is merged back to Shiki v1.0, please migrate over to get the latest updates
deprecated: Deprecated, use @shikijs/core instead
shikiji-transformers@0.10.2:
resolution: {integrity: sha512-7IVTwl1af205ywYEq5bOAYOTOFW4V1dVX1EablP0nWKErqZeD1o93VMytxmtJomqS+YwbB8doY8SE3MFMn0aPQ==}