Skip to content

Commit

Permalink
chore: move to shikiji for types (#2495)
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jan 17, 2024
1 parent 2d7188b commit 06e9209
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 14 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@
"test:unit": "nuxi prepare test/fixtures/basic && nuxi prepare test/fixtures/document-driven && vitest run"
},
"dependencies": {
"@vueuse/core": "^10.7.0",
"@vueuse/nuxt": "^10.7.0",
"@nuxt/kit": "^3.8.2",
"@nuxtjs/mdc": "^0.3.0",
"@vueuse/core": "^10.7.0",
"@vueuse/head": "^2.0.0",
"@vueuse/nuxt": "^10.7.0",
"consola": "^3.2.3",
"defu": "^6.1.3",
"destr": "^2.0.2",
Expand All @@ -59,14 +59,14 @@
"listhen": "^1.5.5",
"mdast-util-to-string": "^4.0.0",
"mdurl": "^2.0.0",
"minisearch": "^6.3.0",
"micromark": "^4.0.0",
"micromark-util-sanitize-uri": "^2.0.0",
"micromark-util-types": "^2.0.0",
"micromark": "^4.0.0",
"minisearch": "^6.3.0",
"ohash": "^1.1.3",
"pathe": "^1.1.1",
"scule": "^1.1.1",
"shiki-es": "^0.14.0",
"shikiji": "^0.9.18",
"slugify": "^1.6.6",
"socket.io-client": "^4.7.2",
"ufo": "^1.3.2",
Expand Down
30 changes: 22 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { listen } from 'listhen'
import { type Options as MiniSearchOptions } from 'minisearch'
import { hash } from 'ohash'
import { join, relative } from 'pathe'
import type { Lang as ShikiLang, Theme as ShikiTheme } from 'shiki-es'
import type { BuiltinLanguage as ShikiLang, BuiltinTheme as ShikiTheme } from 'shikiji'
import { joinURL, withLeadingSlash, withTrailingSlash } from 'ufo'
import { createStorage, type WatchEvent } from 'unstorage'
import { name, version } from '../package.json'
Expand Down

0 comments on commit 06e9209

Please sign in to comment.