File tree Expand file tree Collapse file tree 4 files changed +25
-22
lines changed
apps/website/src/components/highlight Expand file tree Collapse file tree 4 files changed +25
-22
lines changed Original file line number Diff line number Diff line change 2525 - name : Setup pnpm
2626 uses : pnpm/action-setup@v4
2727 with :
28- version : 9.5 .0
28+ version : 9.6 .0
2929
3030 - name : Use Node
3131 uses : actions/setup-node@v4
Original file line number Diff line number Diff line change @@ -8,13 +8,13 @@ import {
88 $ ,
99} from '@builder.io/qwik' ;
1010import { CodeCopy } from '../code-copy/code-copy' ;
11- import { getHighlighterCore } from 'shiki' ;
1211import { cn } from '@qwik-ui/utils' ;
1312import { isDev } from '@builder.io/qwik/build' ;
1413import poimandres from 'shiki/themes/poimandres.mjs' ;
1514import html from 'shiki/langs/html.mjs' ;
1615import css from 'shiki/langs/css.mjs' ;
1716import tsx from 'shiki/langs/tsx.mjs' ;
17+ import { createHighlighterCore } from 'shiki/index.mjs' ;
1818
1919export type HighlightProps = PropsOf < 'div' > & {
2020 code : string ;
@@ -48,7 +48,7 @@ export const Highlight = component$(
4848 modifiedCode = partsOfCode [ 0 ] ;
4949 }
5050
51- const highlighter = await getHighlighterCore ( {
51+ const highlighter = await createHighlighterCore ( {
5252 themes : [ poimandres ] ,
5353 langs : [ html , css , tsx ] ,
5454 loadWasm : import ( 'shiki/wasm' ) ,
Original file line number Diff line number Diff line change 3838 "test.headless.ci" : " nx component-test-ci headless" ,
3939 "test.utils" : " nx test utils"
4040 },
41- "packageManager" : " pnpm@9.5 .0" ,
41+ "packageManager" : " pnpm@9.6 .0" ,
4242 "devDependencies" : {
4343 "@axe-core/playwright" : " ^4.9.1" ,
4444 "@builder.io/qwik" : " ^1.7.1" ,
158158 },
159159 "volta" : {
160160 "node" : " 20.9.0" ,
161- "pnpm" : " 9.5 .0"
161+ "pnpm" : " 9.6 .0"
162162 }
163163}
You can’t perform that action at this time.
0 commit comments