Skip to content

Commit

Permalink
feat: update deps, new tsv grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Mar 30, 2024
1 parent 069e0be commit a7ca7c3
Show file tree
Hide file tree
Showing 7 changed files with 455 additions and 454 deletions.
4 changes: 2 additions & 2 deletions docs/package.json
Expand Up @@ -14,12 +14,12 @@
"@iconify-json/svg-spinners": "^1.1.2",
"@shikijs/transformers": "workspace:*",
"@shikijs/twoslash": "workspace:*",
"@unocss/reset": "^0.58.6",
"@unocss/reset": "^0.58.8",
"@vueuse/core": "^10.9.0",
"floating-vue": "^5.2.2",
"pinia": "^2.1.7",
"shiki": "workspace:*",
"unocss": "^0.58.6",
"unocss": "^0.58.8",
"unplugin-vue-components": "^0.26.0",
"vitepress": "^1.0.1",
"vue": "^3.4.21"
Expand Down
10 changes: 5 additions & 5 deletions package.json
Expand Up @@ -14,7 +14,7 @@
"prepare": "simple-git-hooks"
},
"devDependencies": {
"@antfu/eslint-config": "^2.9.0",
"@antfu/eslint-config": "^2.11.6",
"@antfu/ni": "^0.21.12",
"@antfu/utils": "^0.7.7",
"@rollup/plugin-alias": "^5.1.0",
Expand All @@ -30,7 +30,7 @@
"@shikijs/vitepress-twoslash": "workspace:*",
"@types/fs-extra": "^11.0.4",
"@types/hast": "^3.0.4",
"@types/node": "^20.11.30",
"@types/node": "^20.12.2",
"@vitest/coverage-v8": "^1.4.0",
"ansi-sequence-parser": "^1.1.1",
"bumpp": "^9.4.0",
Expand All @@ -50,7 +50,7 @@
"pnpm": "^8.15.5",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"rollup": "^4.13.0",
"rollup": "^4.13.2",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-esbuild": "^6.1.1",
Expand All @@ -60,12 +60,12 @@
"taze": "^0.13.3",
"typescript": "^5.4.3",
"unbuild": "^2.0.0",
"vite": "^5.2.6",
"vite": "^5.2.7",
"vite-tsconfig-paths": "^4.3.2",
"vitepress-plugin-mermaid": "^2.0.16",
"vitest": "^1.4.0",
"vue-tsc": "^2.0.7",
"wrangler": "^3.37.0"
"wrangler": "^3.41.0"
},
"resolutions": {
"@shikijs/compat": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/monaco/playground/package.json
Expand Up @@ -8,6 +8,6 @@
},
"devDependencies": {
"typescript": "^5.4.3",
"vite": "^5.2.6"
"vite": "^5.2.7"
}
}
2 changes: 1 addition & 1 deletion packages/shiki/package.json
Expand Up @@ -103,7 +103,7 @@
"@shikijs/core": "workspace:*"
},
"devDependencies": {
"tm-grammars": "^1.5.6",
"tm-grammars": "^1.6.0",
"tm-themes": "^1.3.2",
"vscode-oniguruma": "^1.7.0"
}
Expand Down
6 changes: 6 additions & 0 deletions packages/shiki/src/assets/langs-bundle-full.ts
Expand Up @@ -945,6 +945,11 @@ export const bundledLanguagesInfo: BundledLanguageInfo[] = [
'name': 'TOML',
'import': (() => import('./langs/toml')) as DynamicImportLanguageRegistration
},
{
'id': 'tsv',
'name': 'TSV',
'import': (() => import('./langs/tsv')) as DynamicImportLanguageRegistration
},
{
'id': 'tsx',
'name': 'TSX',
Expand Down Expand Up @@ -1305,6 +1310,7 @@ export type BundledLanguage =
| 'tfvars'
| 'toml'
| 'ts'
| 'tsv'
| 'tsx'
| 'turtle'
| 'twig'
Expand Down
2 changes: 1 addition & 1 deletion packages/shiki/test/bundle.test.ts
Expand Up @@ -7,7 +7,7 @@ it('bundle-full', async () => {
}))

expect(highlighter.getLoadedLanguages().length)
.toMatchInlineSnapshot(`259`)
.toMatchInlineSnapshot(`260`)
})

it('bundle-web', async () => {
Expand Down

0 comments on commit a7ca7c3

Please sign in to comment.