Skip to content

Commit 317be40

Browse files
committedJul 7, 2024
feat: update grammars
1 parent 65b20f5 commit 317be40

File tree

7 files changed

+638
-499
lines changed

7 files changed

+638
-499
lines changed
 

‎docs/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
"@iconify-json/svg-spinners": "^1.1.2",
1515
"@shikijs/transformers": "workspace:*",
1616
"@shikijs/twoslash": "workspace:*",
17-
"@unocss/reset": "^0.61.0",
17+
"@unocss/reset": "^0.61.2",
1818
"@vueuse/core": "^10.11.0",
1919
"floating-vue": "^5.2.2",
2020
"pinia": "^2.1.7",
2121
"shiki": "workspace:*",
22-
"unocss": "^0.61.0",
22+
"unocss": "^0.61.2",
2323
"unplugin-vue-components": "^0.27.2",
2424
"vitepress": "^1.2.3",
2525
"vue": "^3.4.31"

‎package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"prepare": "simple-git-hooks"
1515
},
1616
"devDependencies": {
17-
"@antfu/eslint-config": "^2.21.2",
17+
"@antfu/eslint-config": "^2.22.0-beta.1",
1818
"@antfu/ni": "^0.21.12",
1919
"@antfu/utils": "^0.7.10",
2020
"@rollup/plugin-alias": "^5.1.0",
@@ -30,7 +30,7 @@
3030
"@shikijs/vitepress-twoslash": "workspace:*",
3131
"@types/fs-extra": "^11.0.4",
3232
"@types/hast": "^3.0.4",
33-
"@types/node": "^20.14.9",
33+
"@types/node": "^20.14.10",
3434
"@vitest/coverage-v8": "^1.6.0",
3535
"ansi-sequence-parser": "^1.1.1",
3636
"bumpp": "^9.4.1",
@@ -48,23 +48,23 @@
4848
"ofetch": "^1.3.4",
4949
"pnpm": "^9.4.0",
5050
"prettier": "^3.3.2",
51-
"rimraf": "^5.0.7",
51+
"rimraf": "^5.0.8",
5252
"rollup": "^4.18.0",
5353
"rollup-plugin-copy": "^3.5.0",
5454
"rollup-plugin-dts": "^6.1.1",
5555
"rollup-plugin-esbuild": "^6.1.1",
5656
"rollup-plugin-typescript2": "^0.36.0",
5757
"shiki": "workspace:*",
5858
"simple-git-hooks": "^2.11.1",
59-
"taze": "^0.14.1",
59+
"taze": "^0.14.2",
6060
"typescript": "^5.5.3",
6161
"unbuild": "^2.0.0",
62-
"vite": "^5.3.2",
62+
"vite": "^5.3.3",
6363
"vite-tsconfig-paths": "^4.3.2",
6464
"vitepress-plugin-mermaid": "^2.0.16",
6565
"vitest": "^1.6.0",
66-
"vue-tsc": "^2.0.24",
67-
"wrangler": "^3.62.0"
66+
"vue-tsc": "^2.0.26",
67+
"wrangler": "^3.63.1"
6868
},
6969
"resolutions": {
7070
"@shikijs/compat": "workspace:*",

‎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.5.2",
11-
"vite": "^5.3.2"
10+
"typescript": "^5.5.3",
11+
"vite": "^5.3.3"
1212
}
1313
}

‎packages/shiki/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@
103103
"@shikijs/core": "workspace:*"
104104
},
105105
"devDependencies": {
106-
"tm-grammars": "^1.13.0",
107-
"tm-themes": "^1.5.0",
106+
"tm-grammars": "^1.13.6",
107+
"tm-themes": "^1.5.1",
108108
"vscode-oniguruma": "^1.7.0"
109109
}
110110
}

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

+10-6
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,6 @@ export const bundledLanguagesInfo: BundledLanguageInfo[] = [
4848
'name': 'CSS',
4949
'import': (() => import('./langs/css')) as DynamicImportLanguageRegistration
5050
},
51-
{
52-
'id': 'edge',
53-
'name': 'Edge',
54-
'import': (() => import('./langs/edge')) as DynamicImportLanguageRegistration
55-
},
5651
{
5752
'id': 'glsl',
5853
'name': 'GLSL',
@@ -219,6 +214,14 @@ export const bundledLanguagesInfo: BundledLanguageInfo[] = [
219214
'name': 'R',
220215
'import': (() => import('./langs/r')) as DynamicImportLanguageRegistration
221216
},
217+
{
218+
'id': 'regexp',
219+
'name': 'RegExp',
220+
'aliases': [
221+
'regex'
222+
],
223+
'import': (() => import('./langs/regexp')) as DynamicImportLanguageRegistration
224+
},
222225
{
223226
'id': 'ruby',
224227
'name': 'Ruby',
@@ -335,7 +338,6 @@ export type BundledLanguage =
335338
| 'coffeescript'
336339
| 'cpp'
337340
| 'css'
338-
| 'edge'
339341
| 'glsl'
340342
| 'gql'
341343
| 'graphql'
@@ -373,6 +375,8 @@ export type BundledLanguage =
373375
| 'python'
374376
| 'r'
375377
| 'rb'
378+
| 'regex'
379+
| 'regexp'
376380
| 'ruby'
377381
| 'sass'
378382
| 'scss'

‎packages/twoslash/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,6 @@
6363
"@iconify-json/codicon": "^1.1.49",
6464
"@shikijs/twoslash": "^3.1.2",
6565
"hast-util-from-html": "^2.0.1",
66-
"typescript": "^5.5.2"
66+
"typescript": "^5.5.3"
6767
}
6868
}

‎pnpm-lock.yaml

+614-479
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.