Skip to content

Commit 163d83b

Browse files
committedMar 15, 2024·
feat: upgrade deps, new lang Gleam, new theme Houston
1 parent 56d1a48 commit 163d83b

15 files changed

+1128
-636
lines changed
 

‎docs/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
"@iconify-json/svg-spinners": "^1.1.2",
1414
"@shikijs/transformers": "workspace:*",
1515
"@shikijs/twoslash": "workspace:*",
16-
"@unocss/reset": "^0.58.5",
17-
"@vueuse/core": "^10.8.0",
16+
"@unocss/reset": "^0.58.6",
17+
"@vueuse/core": "^10.9.0",
1818
"floating-vue": "^5.2.2",
1919
"pinia": "^2.1.7",
2020
"shiki": "workspace:*",
21-
"unocss": "^0.58.5",
21+
"unocss": "^0.58.6",
2222
"unplugin-vue-components": "^0.26.0",
23-
"vitepress": "^1.0.0-rc.44",
24-
"vue": "^3.4.19"
23+
"vitepress": "^1.0.0-rc.45",
24+
"vue": "^3.4.21"
2525
}
2626
}

‎package.json

+15-15
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"type": "module",
33
"version": "1.1.7",
44
"private": true,
5-
"packageManager": "pnpm@8.15.3",
5+
"packageManager": "pnpm@8.15.4",
66
"scripts": {
77
"lint": "eslint . --cache",
88
"release": "bumpp && pnpm -r publish",
@@ -14,7 +14,7 @@
1414
"prepare": "simple-git-hooks"
1515
},
1616
"devDependencies": {
17-
"@antfu/eslint-config": "^2.6.4",
17+
"@antfu/eslint-config": "^2.8.3",
1818
"@antfu/ni": "^0.21.12",
1919
"@antfu/utils": "^0.7.7",
2020
"@rollup/plugin-alias": "^5.1.0",
@@ -30,14 +30,14 @@
3030
"@shikijs/vitepress-twoslash": "workspace:*",
3131
"@types/fs-extra": "^11.0.4",
3232
"@types/hast": "^3.0.4",
33-
"@types/node": "^20.11.20",
34-
"@vitest/coverage-v8": "^1.3.1",
33+
"@types/node": "^20.11.28",
34+
"@vitest/coverage-v8": "^1.4.0",
3535
"ansi-sequence-parser": "^1.1.1",
36-
"bumpp": "^9.3.0",
36+
"bumpp": "^9.4.0",
3737
"eslint": "npm:eslint-ts-patch@8.56.0-0",
3838
"eslint-plugin-format": "^0.1.0",
3939
"eslint-ts-patch": "8.56.0-0",
40-
"esno": "^4.0.0",
40+
"esno": "^4.7.0",
4141
"fast-glob": "^3.3.2",
4242
"fs-extra": "^11.2.0",
4343
"jsonc-parser": "^3.2.1",
@@ -47,25 +47,25 @@
4747
"mdast-util-gfm": "^3.0.0",
4848
"mdast-util-to-hast": "^13.1.0",
4949
"ofetch": "^1.3.3",
50-
"pnpm": "^8.15.3",
50+
"pnpm": "^8.15.4",
5151
"prettier": "^3.2.5",
5252
"rimraf": "^5.0.5",
53-
"rollup": "^4.12.0",
53+
"rollup": "^4.13.0",
5454
"rollup-plugin-copy": "^3.5.0",
5555
"rollup-plugin-dts": "^6.1.0",
5656
"rollup-plugin-esbuild": "^6.1.1",
5757
"rollup-plugin-typescript2": "^0.36.0",
5858
"shiki": "workspace:*",
59-
"simple-git-hooks": "^2.9.0",
59+
"simple-git-hooks": "^2.10.0",
6060
"taze": "^0.13.3",
61-
"typescript": "^5.3.3",
61+
"typescript": "^5.4.2",
6262
"unbuild": "^2.0.0",
63-
"vite": "^5.1.4",
64-
"vite-tsconfig-paths": "^4.3.1",
63+
"vite": "^5.1.6",
64+
"vite-tsconfig-paths": "^4.3.2",
6565
"vitepress-plugin-mermaid": "^2.0.16",
66-
"vitest": "^1.3.1",
67-
"vue-tsc": "^1.8.27",
68-
"wrangler": "^3.29.0"
66+
"vitest": "^1.4.0",
67+
"vue-tsc": "^2.0.6",
68+
"wrangler": "^3.34.2"
6969
},
7070
"resolutions": {
7171
"@shikijs/compat": "workspace:*",

‎packages/monaco/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@
4949
"@shikijs/core": "workspace:*"
5050
},
5151
"devDependencies": {
52-
"monaco-editor-core": "^0.46.0"
52+
"monaco-editor-core": "^0.47.0"
5353
}
5454
}

‎packages/monaco/playground/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"play": "vite"
88
},
99
"devDependencies": {
10-
"typescript": "^5.3.3",
11-
"vite": "^5.1.4"
10+
"typescript": "^5.4.2",
11+
"vite": "^5.1.6"
1212
}
1313
}

‎packages/shiki/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@
102102
"@shikijs/core": "workspace:*"
103103
},
104104
"devDependencies": {
105-
"tm-grammars": "^1.4.4",
106-
"tm-themes": "^1.1.3",
105+
"tm-grammars": "^1.5.2",
106+
"tm-themes": "^1.3.1",
107107
"vscode-oniguruma": "^1.7.0"
108108
}
109109
}

‎packages/shiki/src/assets/langs-bundle-full.ts

+10
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,11 @@ export const bundledLanguagesInfo: BundledLanguageInfo[] = [
327327
'name': 'Git Rebase Message',
328328
'import': (() => import('./langs/git-rebase')) as DynamicImportLanguageRegistration
329329
},
330+
{
331+
'id': 'gleam',
332+
'name': 'Gleam',
333+
'import': (() => import('./langs/gleam')) as DynamicImportLanguageRegistration
334+
},
330335
{
331336
'id': 'glimmer-js',
332337
'name': 'Glimmer JS',
@@ -504,6 +509,9 @@ export const bundledLanguagesInfo: BundledLanguageInfo[] = [
504509
{
505510
'id': 'julia',
506511
'name': 'Julia',
512+
'aliases': [
513+
'jl'
514+
],
507515
'import': (() => import('./langs/julia')) as DynamicImportLanguageRegistration
508516
},
509517
{
@@ -1160,6 +1168,7 @@ export type BundledLanguage =
11601168
| 'git-commit'
11611169
| 'git-rebase'
11621170
| 'gjs'
1171+
| 'gleam'
11631172
| 'glimmer-js'
11641173
| 'glimmer-ts'
11651174
| 'glsl'
@@ -1188,6 +1197,7 @@ export type BundledLanguage =
11881197
| 'javascript'
11891198
| 'jinja'
11901199
| 'jison'
1200+
| 'jl'
11911201
| 'js'
11921202
| 'json'
11931203
| 'json5'

‎packages/shiki/src/assets/langs-bundle-web.ts

+4
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ export const bundledLanguagesInfo: BundledLanguageInfo[] = [
145145
{
146146
'id': 'julia',
147147
'name': 'Julia',
148+
'aliases': [
149+
'jl'
150+
],
148151
'import': (() => import('./langs/julia')) as DynamicImportLanguageRegistration
149152
},
150153
{
@@ -342,6 +345,7 @@ export type BundledLanguage =
342345
| 'javascript'
343346
| 'jinja'
344347
| 'jison'
348+
| 'jl'
345349
| 'js'
346350
| 'json'
347351
| 'json5'

‎packages/shiki/src/assets/themes.ts

+21
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ export const bundledThemesInfo: BundledThemeInfo[] = [
6868
"type": "dark",
6969
"import": (() => import('./themes/github-dark')) as unknown as DynamicImportThemeRegistration
7070
},
71+
{
72+
"id": "github-dark-default",
73+
"displayName": "GitHub Dark Default",
74+
"type": "dark",
75+
"import": (() => import('./themes/github-dark-default')) as unknown as DynamicImportThemeRegistration
76+
},
7177
{
7278
"id": "github-dark-dimmed",
7379
"displayName": "GitHub Dark Dimmed",
@@ -80,6 +86,18 @@ export const bundledThemesInfo: BundledThemeInfo[] = [
8086
"type": "light",
8187
"import": (() => import('./themes/github-light')) as unknown as DynamicImportThemeRegistration
8288
},
89+
{
90+
"id": "github-light-default",
91+
"displayName": "GitHub Light Default",
92+
"type": "light",
93+
"import": (() => import('./themes/github-light-default')) as unknown as DynamicImportThemeRegistration
94+
},
95+
{
96+
"id": "houston",
97+
"displayName": "Houston",
98+
"type": "dark",
99+
"import": (() => import('./themes/houston')) as unknown as DynamicImportThemeRegistration
100+
},
83101
{
84102
"id": "light-plus",
85103
"displayName": "Light Plus",
@@ -256,8 +274,11 @@ export type BundledTheme =
256274
| 'dracula'
257275
| 'dracula-soft'
258276
| 'github-dark'
277+
| 'github-dark-default'
259278
| 'github-dark-dimmed'
260279
| 'github-light'
280+
| 'github-light-default'
281+
| 'houston'
261282
| 'light-plus'
262283
| 'material-theme'
263284
| 'material-theme-darker'

‎packages/shiki/test/bundle.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ it('bundle-full', async () => {
77
}))
88

99
expect(highlighter.getLoadedLanguages().length)
10-
.toMatchInlineSnapshot(`257`)
10+
.toMatchInlineSnapshot(`259`)
1111
})
1212

1313
it('bundle-web', async () => {
@@ -17,5 +17,5 @@ it('bundle-web', async () => {
1717
}))
1818

1919
expect(highlighter.getLoadedLanguages().length)
20-
.toMatchInlineSnapshot(`80`)
20+
.toMatchInlineSnapshot(`81`)
2121
})

‎packages/twoslash/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@
5959
"twoslash": "^0.2.4"
6060
},
6161
"devDependencies": {
62-
"@iconify-json/carbon": "^1.1.30",
63-
"@iconify-json/codicon": "^1.1.43",
62+
"@iconify-json/carbon": "^1.1.31",
63+
"@iconify-json/codicon": "^1.1.44",
6464
"@shikijs/twoslash": "^3.1.2",
6565
"hast-util-from-html": "^2.0.1",
66-
"typescript": "^5.3.3"
66+
"typescript": "^5.4.2"
6767
}
6868
}

‎packages/twoslash/test/out/highlights.ts.html

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎packages/twoslash/test/out/highlights.ts.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎packages/vitepress-twoslash/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@
6161
"shiki": "workspace:*",
6262
"twoslash": "^0.2.4",
6363
"twoslash-vue": "^0.2.4",
64-
"vue": "^3.4.19"
64+
"vue": "^3.4.21"
6565
}
6666
}

‎packages/vitepress-twoslash/test/out/highlights.ts.json

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pnpm-lock.yaml

+1,055-598
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.